Cheking non-open ports... Is it possible ????
Russell Scibetti
russell at quadrix.com
Wed Feb 26 16:08:08 CET 2003
Use a combination of check_tcp to the particular port and the negate
plugin wrapper. So, if you want a critical if Port 80 is open:
$USER1$/negate $USER1$/check_tcp -H <HOST> -p 80
You will get an OK if there is no response (port is closed), and a
CRITICAL if the port responds.
Russell Scibetti
le jert wrote:
>
>
>
> Hi !
>
> In order to check firewall security, I would like to know how I can
> check if certain ports are closed (and not open, as usually). I mean
> writing 'ok' for the service if ports 80,23,... are closed.
> This would also be usefull for checking ftp or whatever else are
> installed on non-authaurised machines.
>
> Thanks
>
> Note : I'm running nagios-1.0 with pluggin 1.3.0 beta2 on a redhat 7.3
>
>
> _________________________________________________________________
> Hotmail: votre e-mail gratuit ! http://www.fr.msn.be/hotmail
>
>
>
> -------------------------------------------------------
> This SF.net email is sponsored by: Scholarships for Techies!
> Can't afford IT training? All 2003 ictp students receive scholarships.
> Get hands-on training in Microsoft, Cisco, Sun, Linux/UNIX, and more.
> www.ictp.com/training/sourceforge.asp
> _______________________________________________
> 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
>
>
--
Russell Scibetti
Quadrix Solutions, Inc.
http://www.quadrix.com
(732) 235-2335, ext. 7038
-------------------------------------------------------
This SF.net email is sponsored by: Scholarships for Techies!
Can't afford IT training? All 2003 ictp students receive scholarships.
Get hands-on training in Microsoft, Cisco, Sun, Linux/UNIX, and more.
www.ictp.com/training/sourceforge.asp
_______________________________________________
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