Page 1 of 1

check_icmp seg fault

Posted: Mon Feb 08, 2016 5:20 pm
by rkymtnhigh
I accidentally deleted the check_icmp plugin, now that I have uploaded it again, whenever I try to use it I get:

Segmentation Fault

Once again a google search doesn't seem to help much. I've tried assigning it the same group/owner/permissions as another nagios install with no luck.

Thank you for the help,

RMH

Re: check_icmp seg fault

Posted: Mon Feb 08, 2016 5:37 pm
by ssax
Where did you get the one to replace it? Was it compiled on an identical server?

You would likely just need to recompile it, download the exact version of XI that you are running:

https://assets.nagios.com/downloads/nag ... rsions.php

Code: Select all

cd /tmp
wget https://assets.nagios.com/downloads/nagiosxi/5/xi-VERSION.tar.gz
tar zxf xi-VERSION.tar.gz
cd /tmp/nagiosxi/subcomponents/nagiosplugins/
tar zxf nagios-plugins-2.0.3.tar.gz
cd nagios-plugins-2.0.3
./configure
make
cp plugins-root/check_icmp /usr/local/nagios/libexec/
That should get you up and running.

Re: check_icmp seg fault

Posted: Mon Feb 08, 2016 5:44 pm
by rkymtnhigh
I grabbed it from another nagios install. Your solution has worked. Thanks so much!

Re: check_icmp seg fault

Posted: Mon Feb 08, 2016 5:45 pm
by bwallace
Glad we were able to help. We'll lock this thread now and feel free to open another should you require assistance with anything else.