check_ping with NRPE
Posted: Mon Jan 07, 2019 2:08 am
Hi Experts
I am trying to ping remote server from one of my remote servers (client), for this i am using check_ping command in nrpe (check_nrpe).
By default it is sending only one packet to get the RTA/packet loss, is there any way to define the packets count or can we pass the count via command line arguments?.
Below is the sample command and response.
Thanks in advance.
I am trying to ping remote server from one of my remote servers (client), for this i am using check_ping command in nrpe (check_nrpe).
By default it is sending only one packet to get the RTA/packet loss, is there any way to define the packets count or can we pass the count via command line arguments?.
Below is the sample command and response.
Code: Select all
[root@XXXX libexec]# ./check_nrpe -H 10.X.X.20 -c check_ping -a host=10.X.X.14 show-all
OK: 1/1 (10.X.X14 Packet loss = 0%, RTA = 0ms)|'10.X.X.14_loss'=0;5;10 '10.X.X.14_time'=0;60;100