Problems with DBFullLogger and DBStatusLogger
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
SimpleMonitor |
In Progress
|
Medium
|
JamesOff |
Bug Description
Bonjour,
Thnak you for this usefull script
When I run the script with “logger=
Traceback (most recent call last):
File "monitor.py", line 348, in <module>
main()
File "monitor.py", line 266, in main
m = load_loggers(m, config, options.quiet)
File "monitor.py", line 151, in load_loggers
l = DBFullLogger(
NameError: global name 'DBFullLogger' is not defined
I modified :
if type == "db":
l = DBFullLogger(
elif type == "dbstatus":
l = DBStatusLogger(
By :
if type == "db":
l = Loggers.
elif type == "dbstatus":
l = Loggers.
It works but I have another problem : the boolean field « monitor_result » is always empty in the database
Do you have some idea about this mistake
Thanks
Changed in simplemonitor: | |
assignee: | nobody → JamesOff (james-jamesoff) |
Please try revision 24 to see if this fixes the issue :)