Nagios with NDOUtils

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
ffrcaraballo
Posts: 7
Joined: Thu Dec 01, 2016 1:37 pm

Re: Nagios with NDOUtils

Post by ffrcaraballo »

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
User avatar
tgriep
Madmin
Posts: 9177
Joined: Thu Oct 30, 2014 9:02 am

Re: Nagios with NDOUtils

Post by tgriep »

The output of the ps -ef command shows that you are using this config file

Code: Select all

/etc/nagios/nagios.cfg
Edit that file and add this line to it.

Code: Select all

broker_module=/usr/local/nagios/bin/ndomod.o config_file=/usr/local/nagios/etc/ndomod.cfg
Then restart the nagios daemon by running

Code: Select all

service nagios restart
Try that and see if the MYSQL database starts to populate with data.
Be sure to check out our Knowledgebase for helpful articles and solutions!
ffrcaraballo
Posts: 7
Joined: Thu Dec 01, 2016 1:37 pm

Re: Nagios with NDOUtils

Post by ffrcaraballo »

It worked!

Thank you very much
User avatar
tgriep
Madmin
Posts: 9177
Joined: Thu Oct 30, 2014 9:02 am

Re: Nagios with NDOUtils

Post by tgriep »

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!
Locked