Checking multiple TCP ports for a single status?

dave stern - e-mail.pluribus.unum dit.dash at gmail.com
Wed Dec 29 20:15:14 CET 2010


Wrapper?
$NAGIOS/libexec/check_tcp -H myhost -p 135 &&
$NAGIOS/libexec/check_tcp -H myhost -p 445


On Wed, Dec 29, 2010 at 1:39 PM, stan <stanb at panix.com> wrote:
>
> I think I need to verify that both port 135, and 445 are avaialble on some
> Windows amchines. As I understand it, both of these need to be up. I'd like
> to make this a single check. Looks like check_tcp will only accept a single
> -p argument. Is this correct? If so, is there a way I can AND to different
> check_tcp runs, and report a single status back to Nagios?
>
>
> --
> A: Because it messes up the order in which people normally read text.
> Q: Why is top-posting such a bad thing?
> A: Top-posting.
> Q: What is the most annoying thing in e-mail?
>
>
> ------------------------------------------------------------------------------
> Learn how Oracle Real Application Clusters (RAC) One Node allows customers
> to consolidate database storage, standardize their database environment, and,
> should the need arise, upgrade to a full multi-node Oracle RAC database
> without downtime or disruption
> http://p.sf.net/sfu/oracle-sfdevnl
> _______________________________________________
> 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
>

------------------------------------------------------------------------------
Learn how Oracle Real Application Clusters (RAC) One Node allows customers
to consolidate database storage, standardize their database environment, and, 
should the need arise, upgrade to a full multi-node Oracle RAC database 
without downtime or disruption
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
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