[naemon-dev] livestatus broker module commented in naemon.cfg - naemon-0.1.0_20140212-1.el6.x86_64

Deepak Kosaraju deepak.kosaraju1 at gmail.com
Wed Feb 12 18:40:55 CET 2014


This mooring I updated to naemon-0.1.0_20140212-1 using yum and it was found the livestatus broker_module is commented in naemon.cfg

# EVENT BROKER MODULE(S)
# This directive is used to specify an event broker module that should
# by loaded by Naemon at startup.  Use multiple directives if you want
# to load more than one module.  Arguments that should be passed to
# the module at startup are seperated from the module path by a space.
#
# Example:
#
#   broker_module=<modulepath> [moduleargs]

#broker_module=/usr/lib64/naemon/livestatus.o /var/cache/naemon/live
#broker_module=/somewhere/module1.o
#broker_module=/somewhere/module2.o arg1 arg2=3 debug=0


Before:
[1392226269] Naemon 0.1.0_20140212 starting... (PID=1630)
[1392226269] Local time is Wed Feb 12 12:31:09 EST 2014
[1392226269] LOG VERSION: 2.0
[1392226269] qh: Socket '/var/lib/naemon/naemon.qh' successfully initialized
[1392226269] qh: core query handler registered
[1392226269] nerd: Channel hostchecks registered successfully
[1392226269] nerd: Channel servicechecks registered successfully
[1392226269] nerd: Channel opathchecks registered successfully
[1392226269] nerd: Fully initialized and ready to rock!
[1392226269] wproc: Successfully registered manager as @wproc with query handler
[1392226269] wproc: Registry request: name=Core Worker 1633;pid=1633
[1392226269] wproc: Registry request: name=Core Worker 1634;pid=1634
[1392226269] wproc: Registry request: name=Core Worker 1631;pid=1631
[1392226269] wproc: Registry request: name=Core Worker 1632;pid=1632
[1392226269] Successfully launched command file worker with pid 1636

After:
[1392226332] Naemon 0.1.0_20140212 starting... (PID=1704)
[1392226332] Local time is Wed Feb 12 12:32:12 EST 2014
[1392226332] LOG VERSION: 2.0
[1392226332] qh: Socket '/var/lib/naemon/naemon.qh' successfully initialized
[1392226332] qh: core query handler registered
[1392226332] nerd: Channel hostchecks registered successfully
[1392226332] nerd: Channel servicechecks registered successfully
[1392226332] nerd: Channel opathchecks registered successfully
[1392226332] nerd: Fully initialized and ready to rock!
[1392226332] wproc: Successfully registered manager as @wproc with query handler
[1392226332] wproc: Registry request: name=Core Worker 1708;pid=1708
[1392226332] wproc: Registry request: name=Core Worker 1706;pid=1706
[1392226332] wproc: Registry request: name=Core Worker 1705;pid=1705
[1392226332] wproc: Registry request: name=Core Worker 1707;pid=1707
[1392226332] livestatus: Livestatus 0.1.0_20140212-naemon by Mathias Kettner. Socket: '/var/cache/naemon/live'
[1392226332] livestatus: Please visit us at http://mathias-kettner.de/
[1392226332] livestatus: Finished initialization. Further log messages go to /var/log/naemon/livestatus.log
[1392226332] Event broker module '/usr/lib64/naemon/livestatus.o' initialized successfully.
[1392226332] Successfully launched command file worker with pid 1710
[1392226332] TIMEPERIOD TRANSITION: 24x7;-1;1
[1392226332] TIMEPERIOD TRANSITION: 24x7_sans_holidays;-1;1
[1392226332] TIMEPERIOD TRANSITION: none;-1;0
[1392226332] TIMEPERIOD TRANSITION: thruk_24x7;-1;1
[1392226332] TIMEPERIOD TRANSITION: us-holidays;-1;0
[1392226332] TIMEPERIOD TRANSITION: workhours;-1;1

Thruk Error:
==> /var/log/naemon/thruk.log <==
[2014/02/12 12:18:18][naemon1.dsk.us][INFO][Thruk.Utils] 254 templates precompiled in 2.08s
[2014/02/12 12:29:23][naemon1.dsk.us][ERROR][Thruk.Controller.error] No Backend available
[2014/02/12 12:29:23][naemon1.dsk.us][ERROR][Thruk.Controller.error] on page: http://nae1/thruk/cgi-bin/tac.cgi
[2014/02/12 12:29:23][naemon1.dsk.us][ERROR][Thruk.Controller.error] Naemon: ERROR: failed to open socket /var/cache/naemon/live: No such file or directory (/var/cache/naemon/live)


With Regards
Deepak Kosaraju

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/naemon-dev/attachments/20140212/7defb759/attachment-0001.html>


More information about the Naemon-dev mailing list