I have set up Core 3 on an Ubuntu 10 server. Is there a quick way to just use Ping to monitor my remote window servers and sonicwalls? The only information i need is to see if they have a heartbeat. Being in a highly regulated business i can not install software on these devices.
Thanks in advance.
Quick Ping Setup?
Re: Quick Ping Setup?
You can configure a host for each device, that by itself will give you a status.
http://nagios.sourceforge.net/docs/3_0/ ... .html#host
Quick and dirty:
If you want, you can set up a ping service for more info and then send that info to a graph using nagiosgraph or similar.
Keep in mind you may want to tweak generic-service or add a new template so the ping frequency is too your liking.
http://nagios.sourceforge.net/docs/3_0/ ... .html#host
Quick and dirty:
Code: Select all
define host{
use windows-server
host_name server1
alias server1
address 192.168.1.1
}Code: Select all
define service{
use generic-service
host_name server1
service_description PING
check_command check_ping!100.0,20%!300.0,60%
# action_url /nagiosgraph/cgi-bin/show.cgi?host=$HOSTNAME$&service=$SERVICEDESC$ ;Used to link graph if nagiosgraph is installed.
}Re: Quick Ping Setup?
You only need to install the NSClient on the Windows server if you want to use the "check_nt" functions. Ping is not one of them. You should be able to setup a windows host and then a PING service. I know because I've done it. That is the very 1st thing I do for a Windows server just to make sure I have the basics working right BEFORE I touch the server to install the NSClient service to access the additional data.
However, you might want to use ICMP instead of PING because it is much faster.
Also, if you have the default Windows firewall enabled on those servers and your monitoring box is on a different subnet, you probably need to add / enable a rule on the firewall to allow inbound ping/icmp.
LHammonds
However, you might want to use ICMP instead of PING because it is much faster.
Also, if you have the default Windows firewall enabled on those servers and your monitoring box is on a different subnet, you probably need to add / enable a rule on the firewall to allow inbound ping/icmp.
LHammonds
Re: Quick Ping Setup?
Thanks for the pointers. Guess there is no way to just ping servers with Nagios and we will have have to install client side applications.
Re: Quick Ping Setup?
The posts above will not require any software on your equipment. If all you want is a heartbeat, the host configuration in Nagios is all you need. Unless you mean you can't change any config files on the Nagios server?Bigwaves wrote:Thanks for the pointers. Guess there is no way to just ping servers with Nagios and we will have have to install client side applications.