Re: Nagios with NDOUtils
Posted: Mon Dec 05, 2016 12:57 pm
I have 2 files nagios.cfg
root@lsmnagios:/usr/local/nagios/var# grep -i broker /etc/nagios/nagios.cfg
# EVENT BROKER OPTIONS
# Controls what (if any) data gets sent to the event broker.
# Values: 0 = Broker nothing
# -1 = Broker everything
event_broker_options=-1
# EVENT BROKER MODULE(S)
# This directive is used to specify an event broker module that should
# broker_module=<modulepath> [moduleargs]
#broker_module=/somewhere/module1.o
#broker_module=/somewhere/module2.o arg1 arg2=3 debug=0
# 64 = Event broker
broker_module=/usr/lib/check_mk/livestatus.o /usr/local/nagios/var/rw/live
event_broker_options=-1
I post the output of the 2 but I think it is using this
root@lsmnagios:/usr/local/nagios/var# grep -i broker /usr/local/nagios/etc/nagios.cfg
# EVENT BROKER OPTIONS
# Controls what (if any) data gets sent to the event broker.
# Values: 0 = Broker nothing
# -1 = Broker everything
event_broker_options=-1
# EVENT BROKER MODULE(S)
# This directive is used to specify an event broker module that should
# broker_module=<modulepath> [moduleargs]
#broker_module=/somewhere/module1.o
#broker_module=/somewhere/module2.o arg1 arg2=3 debug=0
# 64 = Event broker
#broker_module=/usr/lib/check_mk/livestatus.o /var/log/nagios/rw/live
#event_broker_options=-1
#broker_module=/usr/lib/check_mk/livestatus.o /var/log/nagios/rw/live
#NDOUtils Broker Module
event_broker_options=-1
broker_module=/usr/local/nagios/bin/ndomod.o config_file=/usr/local/nagios/etc/ndomod.cfg
root@lsmnagios:/usr/local/nagios/var# grep -i broker /etc/nagios/nagios.cfg
# EVENT BROKER OPTIONS
# Controls what (if any) data gets sent to the event broker.
# Values: 0 = Broker nothing
# -1 = Broker everything
event_broker_options=-1
# EVENT BROKER MODULE(S)
# This directive is used to specify an event broker module that should
# broker_module=<modulepath> [moduleargs]
#broker_module=/somewhere/module1.o
#broker_module=/somewhere/module2.o arg1 arg2=3 debug=0
# 64 = Event broker
broker_module=/usr/lib/check_mk/livestatus.o /usr/local/nagios/var/rw/live
event_broker_options=-1
I post the output of the 2 but I think it is using this
root@lsmnagios:/usr/local/nagios/var# grep -i broker /usr/local/nagios/etc/nagios.cfg
# EVENT BROKER OPTIONS
# Controls what (if any) data gets sent to the event broker.
# Values: 0 = Broker nothing
# -1 = Broker everything
event_broker_options=-1
# EVENT BROKER MODULE(S)
# This directive is used to specify an event broker module that should
# broker_module=<modulepath> [moduleargs]
#broker_module=/somewhere/module1.o
#broker_module=/somewhere/module2.o arg1 arg2=3 debug=0
# 64 = Event broker
#broker_module=/usr/lib/check_mk/livestatus.o /var/log/nagios/rw/live
#event_broker_options=-1
#broker_module=/usr/lib/check_mk/livestatus.o /var/log/nagios/rw/live
#NDOUtils Broker Module
event_broker_options=-1
broker_module=/usr/local/nagios/bin/ndomod.o config_file=/usr/local/nagios/etc/ndomod.cfg