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:[email protected]] > 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 [email protected] 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
