New to Nagios, using 3.0.5
I would like to know how to set up Nagios to simply PING various Windows and NetWare hosts. For Windows, I have installed the NSClient and can currently monitor some of its private/local services, but I don’t see a PING option. In short, I just want to know that some servers are still alive and if it’s possible for Nagios to ping a server without installing anything on the server itself.
Hi thickage,
for a PING only you don’t need to install any Compontents on the Windows Server…
In the define_host Directive you must use a Template. And the Standard Templates already includes a check_alive Command, the complete name is: check-host-alive
The command for this action is the following:
define command{
command_name check-host-alive
command_line $USER1$/check_ping -H $HOSTADDRESS$ -w 3000.0,80% -c 5000.0,100% -p 5
}
You can find theese in the Nagios Templates…
But now to your question… Please read the manual. You must define a host.
You can create a new File for this or modify an existing Template File.
Many Greetings
Marc