Nagios XI Services not working

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
askewdread
Posts: 69
Joined: Wed Nov 16, 2016 4:54 pm

Re: Nagios XI Services not working

Post by askewdread »

tmcdonald wrote:Thank you, I've sent that off to our dev team for review.
Hi,

it has just reoccured on our company instance as well, so have pm'd you the link to those files just incase its not the same issue that was causing the whole thing, or at least more to give an idea :)
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: Nagios XI Services not working

Post by tmcdonald »

Can you double-check your outbox? I haven't seen anything additional come through.
Former Nagios employee
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: Nagios XI Services not working

Post by tmcdonald »

Our Core dev has fixed the segfault issue, and you can run the following commands to fix this on a running 5.4.0 or 5.4.1 system:

First and foremost, please take an XI backup (and a VM snapshot if possible) so that you can revert if necessary:

https://assets.nagios.com/downloads/nag ... ios-XI.pdf


Then transfer the attached file to your XI server and run these commands:

Code: Select all

service nagios stop
killall -9 nagios
service ndo2db stop
service mysqld restart
for i in `ipcs -q | grep nagios |awk '{print $2}'`; do ipcrm -q $i; done
tar zxf ndoutils_segfault_patched.tar.gz
cd ndoutils_segfault_patched
./upgrade
You do not have the required permissions to view the files attached to this post.
Former Nagios employee
askewdread
Posts: 69
Joined: Wed Nov 16, 2016 4:54 pm

Re: Nagios XI Services not working

Post by askewdread »

tmcdonald wrote:Our Core dev has fixed the segfault issue, and you can run the following commands to fix this on a running 5.4.0 or 5.4.1 system:

First and foremost, please take an XI backup (and a VM snapshot if possible) so that you can revert if necessary:

https://assets.nagios.com/downloads/nag ... ios-XI.pdf


Then transfer the attached file to your XI server and run these commands:

Code: Select all

service nagios stop
killall -9 nagios
service ndo2db stop
service mysqld restart
for i in `ipcs -q | grep nagios |awk '{print $2}'`; do ipcrm -q $i; done
tar zxf ndoutils_segfault_patched.tar.gz
cd ndoutils_segfault_patched
./upgrade
morning :)

awesome timing, i have just been getting a bunch of changes ready to commit, i have run that and has all started up ok
will keep an eye on it over the next few days and let you know if any issues :)

thank you guys!
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: Nagios XI Services not working

Post by tmcdonald »

Glad to hear it! We'll keep this open for your comment, but this has been very stable for everyone else who has run it.
Former Nagios employee
askewdread
Posts: 69
Joined: Wed Nov 16, 2016 4:54 pm

Re: Nagios XI Services not working

Post by askewdread »

tmcdonald wrote:Glad to hear it! We'll keep this open for your comment, but this has been very stable for everyone else who has run it.
this appears to have resolved the issue :) - it hasnt crashed on restart once since the fix :)

thank you so much for the assistance
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: Nagios XI Services not working

Post by rkennedy »

Great to hear! I'll leave this open should anything further happen with time.
Former Nagios Employee
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: Nagios XI Services not working

Post by tmcdonald »

Closing. PM if you need it re-opened.
Former Nagios employee
Locked