nagios 4.3.4_Packet loss = -150%

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
asiansuntrading
Posts: 51
Joined: Wed Sep 14, 2016 4:23 pm

nagios 4.3.4_Packet loss = -150%

Post by asiansuntrading »

Hi
We upgrade our nagios core from 4.3.2 to 4.3.3 and then 4.3.4 (with plugin 2.2.1); now we get an up notification for a node with this content:

Code: Select all

PING OK - Packet loss = -150% , RTA = 0.77 ms
"-150%"?!! What does this message mean?!!
Thanks
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: nagios 4.3.4_Packet loss = -150%

Post by scottwilkerson »

Is it possible to post the full command that is run for this ping check?
Former Nagios employee
Creator:
ahumandesign.com
enneagrams.com
asiansuntrading
Posts: 51
Joined: Wed Sep 14, 2016 4:23 pm

Re: nagios 4.3.4_Packet loss = -150%

Post by asiansuntrading »

hi

Code: Select all

check_ping -H $HOSTADDRESS$ -w $ARG1$ -c $ARG2$ -p 5
-w 140.0,20%
-c 500.0,60%

thanks
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: nagios 4.3.4_Packet loss = -150%

Post by tmcdonald »

Can you show us the result of pinging that device directly with the ping command? Just a simple ping -c 4 <remote ip>
Former Nagios employee
asiansuntrading
Posts: 51
Joined: Wed Sep 14, 2016 4:23 pm

Re: nagios 4.3.4_Packet loss = -150%

Post by asiansuntrading »

Hi

Code: Select all

4 packets transmitted, 0 received, 100% packet loss, time 3000ms
The device is critical, and note that message with "packet loss -150%" was for "up state" and now device is down.
Thanks
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: nagios 4.3.4_Packet loss = -150%

Post by scottwilkerson »

This can be caused by ping receiving duplicate packets. check_ping plugin receives the data directly from ping command

From the Ping Man Page
Duplicate and Damaged Packets

ping will report duplicate and damaged packets. Duplicate packets should never occur, and seem to be caused by inappropriate link-level retransmissions. Duplicates may occur in many situations and are rarely (if ever) a good sign, although the presence of low levels of duplicates may not always be cause for alarm.

Damaged packets are obviously serious cause for alarm and often indicate broken hardware somewhere in the ping packet's path (in the network or in the hosts).
https://linux.die.net/man/8/ping
Former Nagios employee
Creator:
ahumandesign.com
enneagrams.com
Locked