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
Nagios with NDOUtils
Re: Nagios with NDOUtils
The output of the ps -ef command shows that you are using this config file
Edit that file and add this line to it.
Then restart the nagios daemon by running
Try that and see if the MYSQL database starts to populate with data.
Code: Select all
/etc/nagios/nagios.cfg
Code: Select all
broker_module=/usr/local/nagios/bin/ndomod.o config_file=/usr/local/nagios/etc/ndomod.cfg
Code: Select all
service nagios restart
Be sure to check out our Knowledgebase for helpful articles and solutions!
-
- Posts: 7
- Joined: Thu Dec 01, 2016 1:37 pm
Re: Nagios with NDOUtils
It worked!
Thank you very much
Thank you very much
Re: Nagios with NDOUtils
Your Welcome. I'll mark the post as solved but if you have any other questions, feel free to open a new post.
Be sure to check out our Knowledgebase for helpful articles and solutions!