- insert globals for logging and config

- insert configuration-file
- pluginloader use only enabled modules (config.ini)
This commit is contained in:
JHCD 2015-05-18 19:41:52 +02:00
parent a4acc2063a
commit e40215976a
2 changed files with 27 additions and 0 deletions

View 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
View file

@ -0,0 +1,5 @@
#!/usr/bin/python
# -*- coding: cp1252 -*-
#Global variables
config = 0