[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@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
Re: [Nagios-users] Checking multiple TCP ports for a single status?
Write a simple script that does both checks and returns results? Dan -Original Message- From: stan [mailto:st...@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@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@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
Re: [Nagios-users] Checking multiple TCP ports for a single status?
check out check_service_cluster command. http://nagios.sourceforge.net/docs/3_0/clusters.html I use this for what you are looking at. Greg Pangrazio On Wed, Dec 29, 2010 at 12:39 PM, stan 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@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@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
Re: [Nagios-users] Checking multiple TCP ports for a single status?
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 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@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@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
Re: [Nagios-users] Checking multiple TCP ports for a single status?
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:st...@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@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
Re: [Nagios-users] Checking multiple TCP ports for a single status?
Something a little more powerful and generic that can be used in multiple scenarios check_multi See: http://exchange.nagios.org/directory/Plugins/Others/check_multi/details On 30/05/2011 6:11 PM, quanta wrote: 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:st...@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@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 - No virus found in this message. Checked by AVG - www.avg.com Version: 10.0.1375 / Virus Database: 1509/3668 - Release Date: 05/29/11 -- Smartmon System Monitoring <http://www.smartmon.com.au> www.smartmon.com.au <http://www.smartmon.com.au> -- Simplify data backup and recovery for your virtual environment with vRanger. Installation's a snap, and flexible recovery options mean your data is safe, secure and there when you need it. Discover what all the cheering's about. Get your free trial download today. http://p.sf.net/sfu/quest-dev2dev2 ___ Nagios-users mailing list Nagios-users@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