On Tue, Sep 29, 2009 at 02:51:07PM -0500, Matt Baer wrote: > Is there a way that Nagios can monitor open ports, even if there > isn't anything listening on the destination? I'd like to monitor my > open ports on my firewall JUST to make sure they're open. I would > just specify the port with the normal Nagios command and point it at > my public IP address, but obviously, the check will fail unless > something is listening on the other end. Basically I want to port > scan specific ports. Any ideas? Can you use check_tcp for this? Otherwise I would write a wrapper around nmap:
! nmap -oG - -p 22 localhost |cut -sd/ -f2 |grep -Fxvw open Justin ------------------------------------------------------------------------------ Come build with us! The BlackBerry® Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9-12, 2009. Register now! http://p.sf.net/sfu/devconf _______________________________________________ Nagios-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
