Looks like there are a few people trying to get MK Livestatus installed for Nagios xi folks (and having varying degrees of issues / success).
Is there ANY way that Nagios would build an RPM for us to get this working with xi?
I've tried several times, but for some reason am unable to get MK Livestatus 1.2.4p5 working with my 2014R1.5 version of xi.
Nagios building the MK Livestatus module for Nagios xi
-
- Posts: 192
- Joined: Thu May 01, 2014 4:25 pm
-
- Former Nagios Staff
- Posts: 13589
- Joined: Mon May 23, 2011 12:15 pm
Re: Nagios building the MK Livestatus module for Nagios xi
As far as I know, this is not on a road map. I am not sure if it will ever happen, but I could be wrong.Is there ANY way that Nagios would build an RPM for us to get this working with xi?
What are the specific issues that you ran into? Can you show us an example of the error (problem)?I've tried several times, but for some reason am unable to get MK Livestatus 1.2.4p5 working with my 2014R1.5 version of xi.
Be sure to check out our Knowledgebase for helpful articles and solutions!
-
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
Re: Nagios building the MK Livestatus module for Nagios xi
Not sure if you need this specific version, but as far as I am aware this works
Then making sure you have the following in the in the nagios.cfg
Code: Select all
cd /tmp
wget http://mathias-kettner.com/download/mk-livestatus-1.2.4.tar.gz
tar xzf mk-livestatus-1.2.4.tar.gz
cd mk-livestatus-1.2.4
./configure --with-nagios4
make
make install
Code: Select all
broker_module=/usr/local/lib/mk-livestatus/livestatus.o /var/lib/nagios/rw/live
-
- Posts: 192
- Joined: Thu May 01, 2014 4:25 pm
Re: Nagios building the MK Livestatus module for Nagios xi
Did all those steps you had listed (even removed the files and downloaded again from scratch).
I see this is the /usr/local/nagios/var/nagios.log:
[1418766765] Event broker module '/usr/local/nagios/bin/ndomod.o' initialized successfully.
[1418766765] Error: Module loading failed. Aborting.
<SNIP>
[1418767130] Warning: Host performance command 'nagios-process-host-perfdata' was not found - host performance data will not be processed!
[1418767130] Warning: Service performance command 'nagios-process-service-perfdata' was not found - service performance data will not be processed!
[1418767130] Warning: Host performance file processing command 'nagios-process-host-perfdata-file' was not found - host performance data file will not be processed!
[1418767130] Warning: Service performance file processing command 'nagios-process-service-perfdata-file' was not found - service performance data file will not be processed!
I see this is the /usr/local/nagios/var/nagios.log:
[1418766765] Event broker module '/usr/local/nagios/bin/ndomod.o' initialized successfully.
[1418766765] Error: Module loading failed. Aborting.
<SNIP>
[1418767130] Warning: Host performance command 'nagios-process-host-perfdata' was not found - host performance data will not be processed!
[1418767130] Warning: Service performance command 'nagios-process-service-perfdata' was not found - service performance data will not be processed!
[1418767130] Warning: Host performance file processing command 'nagios-process-host-perfdata-file' was not found - host performance data file will not be processed!
[1418767130] Warning: Service performance file processing command 'nagios-process-service-perfdata-file' was not found - service performance data file will not be processed!
-
- Red Shirt
- Posts: 8334
- Joined: Thu Nov 15, 2012 1:20 pm
Re: Nagios building the MK Livestatus module for Nagios xi
To me, it looks like ndo is failing, not livestatus. Can you post your full nagios.cfg?highness wrote:[1418766765] Event broker module '/usr/local/nagios/bin/ndomod.o' initialized successfully.
[1418766765] Error: Module loading failed. Aborting.
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
-
- Former Nagios Staff
- Posts: 13589
- Joined: Mon May 23, 2011 12:15 pm
Re: Nagios building the MK Livestatus module for Nagios xi
Run the following commands and show us the output:
Code: Select all
locate livestatus
grep broker_module /usr/local/nagios/etc/nagios.cfg
grep live /var/log/messages | tail -20
Be sure to check out our Knowledgebase for helpful articles and solutions!
-
- Posts: 192
- Joined: Thu May 01, 2014 4:25 pm
Re: Nagios building the MK Livestatus module for Nagios xi
looks like I'm going to have to shelve this until after the holidays... We're in peak mode now, so this'll have to wait.
-
- Madmin
- Posts: 9190
- Joined: Thu Oct 30, 2014 9:02 am
Re: Nagios building the MK Livestatus module for Nagios xi
Thanks for the response.
Please let us know when you are ready to proceed with this.
Please let us know when you are ready to proceed with this.
Be sure to check out our Knowledgebase for helpful articles and solutions!