mirror of
https://github.com/Schrolli91/BOSWatch.git
synced 2025-12-06 07:42:03 +01:00
- insert globals for logging and config
- insert configuration-file - pluginloader use only enabled modules (config.ini)
This commit is contained in:
parent
a4acc2063a
commit
e40215976a
22
plugin_test/config/config.ini
Normal file
22
plugin_test/config/config.ini
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
########################
|
||||
# BOSWatch Config File #
|
||||
########################
|
||||
|
||||
#can take on or off the modules (0|1)
|
||||
[Module]
|
||||
MySQL = 0
|
||||
HTTPrequest = 0
|
||||
BosMon = 0
|
||||
# for developing template-module is enabled
|
||||
template = 1
|
||||
|
||||
[BosMon]
|
||||
#Server as IP of DNS-Name (without http://)
|
||||
#actually no ssl supported
|
||||
bosmon_server = 192.168.0.1
|
||||
bosmon_port = 80
|
||||
#channel-name of typ "Web-Telegramm"
|
||||
bosmon_channel = channelname
|
||||
#Use this, when you have security enabled
|
||||
bosmon_user = user
|
||||
bosmon_password = password
|
||||
5
plugin_test/globals.py
Normal file
5
plugin_test/globals.py
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
#!/usr/bin/python
|
||||
# -*- coding: cp1252 -*-
|
||||
|
||||
#Global variables
|
||||
config = 0
|
||||
Loading…
Reference in a new issue