Dears,
I'm trying to monitor some boxes but the ping option was closed , i contacted the boxes support and they informed me that i can only monitor these boxes through (nmap) and send me the command
#nmap -sU 192.168.232.239 -p1599
but i'm new on nagios and don't know how to make it working, could you please help on figuring this out
appreciated ASAP
Configuring nmap on nagios
Re: Configuring nmap on nagios
That nmap command just monitors a UDP port for responses, and is not a Nagios plugin. The Nagios equivalent is check_udp. The full command line will be something like this:
If you started from the default Nagios configuration, the command that you're going to put into your service definitions is:
If you're really starting from scratch and haven't set up anything yet, you'll want to start by reading about Nagios either from a book or the documentation.
Code: Select all
/usr/local/nagios/libexec/check_udp -H 192.168.232.239 -p 1599 -w 4 -c 8Code: Select all
check_udp!1599!-w 4 -c 8