I am trying to configure nagios check-host-alive from nrpe to a client machine and from the client machine the check-host-alive will ping a third machine. Here are the details
Nagios server
Code: Select all
define service{
use generic-service,graphed-service2
host_name Router_Bllok2
service_description Ping_Bllok2-QS1
contact_groups admins
check_command check_nrpe!check_ping_one!192.168.11.9!5000,100%!5000,100%!1
}
Code: Select all
command[check_ping_one]=/usr/lib/nagios/plugins/check_ping -H $ARG1$ -w $ARG2$ -c $ARG3$ -p $ARG4$
Code: Select all
/usr/lib/nagios/plugins/check_nrpe -H 192.168.1.3 -c check_ping_one
Any idea / suggestion how to reformat the command in order to work?Handling the connection...
Error: Request contained command arguments!
I checked / tested across the web before posting here.
Thank you in advance
Klevin