Replacing nagios ping with Nmap -sP
Aug 16, 2010, 13:03 (0 Talkback[s])
WEBINAR: On-demand webcast
How to Boost Database Development Productivity on Linux, Docker, and Kubernetes with Microsoft SQL Server 2017 REGISTER >
[ Thanks to Jay Fink
for this link. ]
"Replacing Ping with Nmap for Nagios
"Sometimes a system administrator needs to get around a few
rules that are in place for good (or not) reasons. One example is
when networks have ICMP turned off (or even just a portion of it).
With ICMP off it can be difficult to configure tools like Nagios
for simple up and down checks. In this text getting around the no
ICMP problem and a script to handle it for Nagios.
"First the base syntax. Nmap is the tool of choice to make a
quick nmap ping check:
nmap -sP 192.168.1.6
"Next the output to parse: "