Checking multiple TCP ports for a single status?

quanta quanta.linux at gmail.com
Mon May 30 10:11:08 CEST 2011


Take a look at this:
http://www.theillien.com/Sys_Admin_v12/html/v14/i12/a6_l2.htm

On 12/30/2010 01:56 AM, Daniel Wittenberg wrote:
> 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?
>
>

------------------------------------------------------------------------------
vRanger cuts backup time in half-while increasing security.
With the market-leading solution for virtual backup and recovery, 
you get blazing-fast, flexible, and affordable data protection.
Download your free trial now. 
http://p.sf.net/sfu/quest-d2dcopy1
_______________________________________________
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