Monitoring critical packet loss in the channel

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
RockerMan
Posts: 70
Joined: Fri Nov 01, 2013 12:16 am

Monitoring critical packet loss in the channel

Post by RockerMan »

Hi

There is not a trivial task. We have leased line via ISP between two offices (use Cisco 3925). Used to ip phone (bt phone). Criticality of packet loss during data transmission. To check the quality of the channel, i send ping (1000 pcs.) on cisco3925 from the sourse address of the tunnel to destination address of the tunnel. If the connections between btphones is down, then this is accompanied by the degradation of the channel and can be seen that the packets are lost, but the channel itself alive.
-

Code: Select all

ping 192.168.***.** re 1000 si 1500 so 192.168.***.**
Type escape sequence to abort.
Sending 1000, 1500-byte ICMP Echos to 192.168.221.9, timeout is 2 seconds:
!!!!!!!!!!!!!!!!!!!!!.!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!.!!!!.!!!!!!!!!!.!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!.!!!!
...
!!!!!!!!!!!!!!!!!!!!
Success rate is 98 percent (980/1000), round-trip min/avg/max = 38/60/158 ms
Prompt please, what means you can take on the nagios to monitor the result of the ping? To 100% if the packet comes, the all right, and if it is less, then the critical.

Thanks
bwallace
Posts: 1145
Joined: Tue Nov 17, 2015 1:57 pm

Re: Monitoring critical packet loss in the channel

Post by bwallace »

What I think you are asking is quite standard. Below is the check_ping command from XI. You can set whatever thresholds you want, pertaining to percentage of packet loss, round trip average.

/check_ping -H $HOSTADDRESS$ -w $ARG1$ -c $ARG2$ -p 5

-w is the WARNING status limit for $ARG1$, wherein you specify RTA,PKTLOSS percentage
-c is the CRITICAL status limit for $ARG2$, wherein you specify RTA,PKTLOSS percentage
-p is the number of packets to send. default is 5

- $ARG1$ macro would be formatted for example,"200.0,80%" (RTA,PKTLOSS%)
- $ARG2$ would be "400.0,40%" (RTA,PKTLOSS%)


To put it all together:
check_ping -H $HOSTADDRESS$ -w 200.0,80% -c 400.0,40% -p 5


In other words, have Nagios send a warning if RTA is, or exceeds 200ms and/or there is 80% packet loss.
Nagios will send a critical alert if RTA >= 400ms and/or there is 40% packet loss.
Be sure to check out the Knowledgebase for helpful articles and solutions!
RockerMan
Posts: 70
Joined: Fri Nov 01, 2013 12:16 am

Re: Monitoring critical packet loss in the channel

Post by RockerMan »

hi, bwallace
ok
thanks
very good solution

PS
topic can be closed
bwallace
Posts: 1145
Joined: Tue Nov 17, 2015 1:57 pm

Re: Monitoring critical packet loss in the channel

Post by bwallace »

Glad to help! I'll lock this thread now and feel free to open another should you require assistance with anything else.
Be sure to check out the Knowledgebase for helpful articles and solutions!
Locked