False packet loss in graphs

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
David.adder
Posts: 74
Joined: Thu Jan 17, 2013 8:44 am
Location: Spain

Re: False packet loss in graphs

Post 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
You do not have the required permissions to view the files attached to this post.
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: False packet loss in graphs

Post 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\."
Former Nagios employee
David.adder
Posts: 74
Joined: Thu Jan 17, 2013 8:44 am
Location: Spain

Re: False packet loss in graphs

Post by David.adder »

Still not result get...
Nueva imagen de mapa de bits.jpg
You do not have the required permissions to view the files attached to this post.
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: False packet loss in graphs

Post 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
Former Nagios employee
David.adder
Posts: 74
Joined: Thu Jan 17, 2013 8:44 am
Location: Spain

Re: False packet loss in graphs

Post by David.adder »

Yo can find it attached
check_icmp.txt
You do not have the required permissions to view the files attached to this post.
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: False packet loss in graphs

Post 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.
You do not have the required permissions to view the files attached to this post.
Former Nagios employee
David.adder
Posts: 74
Joined: Thu Jan 17, 2013 8:44 am
Location: Spain

Re: False packet loss in graphs

Post 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
You do not have the required permissions to view the files attached to this post.
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: False packet loss in graphs

Post 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?
Former Nagios employee
David.adder
Posts: 74
Joined: Thu Jan 17, 2013 8:44 am
Location: Spain

Re: False packet loss in graphs

Post 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...
You do not have the required permissions to view the files attached to this post.
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: False packet loss in graphs

Post 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
Former Nagios employee
Locked