Checking multiple TCP ports for a single status?

Daniel Wittenberg daniel.wittenberg.r0ko at statefarm.com
Wed Dec 29 19:56:24 CET 2010


Write a simple script that does both checks and returns results?

Dan

-----Original Message-----
From: stan [mailto:stanb at panix.com] 
Sent: Wednesday, December 29, 2010 12:39 PM
To: nagios List
Subject: [Nagios-users] Checking multiple TCP ports for a single status?


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