checking that ports are closed

Subhendu Ghosh sghosh at sghosh.org
Thu May 26 18:23:35 CEST 2005


On Thu, 26 May 2005, michael dasilva wrote:

> does anyone know of a plugin or a way to check for open ports that
> were previously closed?
>

you could use check_tcp with negate.
check_tcp report CRIT on closed port, negate returns an OK based on the 
CRIT.

So if the port opens, you get a critical.


-- 
-sg


-------------------------------------------------------
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
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





More information about the Users mailing list