Page 2 of 4

Re: False packet loss in graphs

Posted: Wed Jun 11, 2014 6:03 am
by David.adder
I don't know why but I am not able to see the version of the plugin via command:
Nueva imagen de mapa de bits.jpg
Regarding language:
Nueva imagen de mapa de bits2.jpg

Re: False packet loss in graphs

Posted: Wed Jun 11, 2014 9:28 am
by tmcdonald
Definitely something odd going on. Can we grep for the version?

Code: Select all

strings /usr/local/nagios/libexec/check_icmp | grep "^2\."

Re: False packet loss in graphs

Posted: Wed Jun 11, 2014 9:45 am
by David.adder
Still not result get...
Nueva imagen de mapa de bits.jpg

Re: False packet loss in graphs

Posted: Wed Jun 11, 2014 4:53 pm
by tmcdonald
Run the following and attach the /tmp/check_icmp.txt file that is created:

Code: Select all

base64 /usr/local/nagios/libexec/check_icmp > /tmp/check_icmp.txt

Re: False packet loss in graphs

Posted: Thu Jun 12, 2014 8:17 am
by David.adder
Yo can find it attached
check_icmp.txt

Re: False packet loss in graphs

Posted: Thu Jun 12, 2014 9:57 am
by tmcdonald
Looks like you are running v1.4.13 which is a bit older (current that I have is v2.0.2).

Make a copy of your current check_icmp and store it in /tmp, then use the newer one I have attached to *manually* try running the check and see if it works better.

Post the output so we can see if the perfdata will be changed at all. If not, we can use it as a drop-in replacement.

Re: False packet loss in graphs

Posted: Thu Jun 12, 2014 10:40 am
by David.adder
I did it. I seemed to work fine, as typing command I don't get packet loss.

But now I have this problem...
Nueva imagen de mapa de bits.jpg
Nueva imagen de mapa de bits2.jpg

Re: False packet loss in graphs

Posted: Thu Jun 12, 2014 10:44 am
by tmcdonald
That date and file size makes me think the plugin was not replaced. Can you run that version of check_icmp with the -V flag to make sure it is the right version?

Re: False packet loss in graphs

Posted: Thu Jun 12, 2014 10:48 am
by David.adder
I already replaced... but I did rollback because of this problem I am getting now. I tried to used the old pluging for this, but problems persists...

Re: False packet loss in graphs

Posted: Thu Jun 12, 2014 10:52 am
by tmcdonald
Well you do need to use the new plugin otherwise I can't troubleshoot it. Make sure you are running the new plugin and then run the commands that were specified in your XI screenshot:

Code: Select all

chown root.root /usr/local/nagios/libexec/check_icmp
chmod u+s /usr/local/nagios/libexec/check_icmp