Nagios building the MK Livestatus module for Nagios XI

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
highness
Posts: 192
Joined: Thu May 01, 2014 4:25 pm

Nagios building the MK Livestatus module for Nagios XI

Post by highness »

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.
User avatar
lmiltchev
Former Nagios Staff
Posts: 13587
Joined: Mon May 23, 2011 12:15 pm

Re: Nagios building the MK Livestatus module for Nagios XI

Post by lmiltchev »

Is there ANY way that Nagios would build an RPM for us to get this working with 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.
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.
What are the specific issues that you ran into? Can you show us an example of the error (problem)?
Be sure to check out our Knowledgebase for helpful articles and solutions!
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Nagios building the MK Livestatus module for Nagios XI

Post by scottwilkerson »

Not sure if you need this specific version, but as far as I am aware this works

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
Then making sure you have the following in the in the nagios.cfg

Code: Select all

broker_module=/usr/local/lib/mk-livestatus/livestatus.o /var/lib/nagios/rw/live
Former Nagios employee
Creator:
ahumandesign.com
enneagrams.com
highness
Posts: 192
Joined: Thu May 01, 2014 4:25 pm

Re: Nagios building the MK Livestatus module for Nagios XI

Post by highness »

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!
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: Nagios building the MK Livestatus module for Nagios XI

Post by abrist »

highness wrote:[1418766765] Event broker module '/usr/local/nagios/bin/ndomod.o' initialized successfully.
[1418766765] Error: Module loading failed. Aborting.
To me, it looks like ndo is failing, not livestatus. Can you post your full nagios.cfg?
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.
User avatar
lmiltchev
Former Nagios Staff
Posts: 13587
Joined: Mon May 23, 2011 12:15 pm

Re: Nagios building the MK Livestatus module for Nagios XI

Post by lmiltchev »

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!
highness
Posts: 192
Joined: Thu May 01, 2014 4:25 pm

Re: Nagios building the MK Livestatus module for Nagios XI

Post by highness »

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

Re: Nagios building the MK Livestatus module for Nagios XI

Post by tgriep »

Thanks for the response.
Please let us know when you are ready to proceed with this.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked