Re: [Nagios-users] Monitoring Open Ports

2009-10-05 Thread Matt Baer
want to monitor 25,80,110,143, etc. - Original Message - From: Marc Powell m...@ena.com To: Nagios-Users Mailinglist Nagios-users@lists.sourceforge.net Sent: Tuesday, September 29, 2009 3:27:09 PM GMT -06:00 US/Canada Central Subject: Re: [Nagios-users] Monitoring Open Ports On Sep 29

Re: [Nagios-users] Monitoring Open Ports

2009-10-05 Thread James Pratt
] Monitoring Open Ports For the most part, this works. However, the problem is that it requires that ALL open ports be accepted as parameters. I want to specify the ports to check. For example, if port 8081 is open, it may not always be open, then I get the stupid notification. I don't want

Re: [Nagios-users] Monitoring Open Ports

2009-10-05 Thread Marc Powell
On Oct 5, 2009, at 2:09 PM, James Pratt wrote: Well, look on the bright side - It's not that big of a perl script - you can likely modify it to suit your specific need(s). :) and it appears to be a very very trivial change to boot (but will break some functionality without further

[Nagios-users] Monitoring Open Ports

2009-09-29 Thread Matt Baer
Is there a way that Nagios can monitor open ports, even if there isn't anything listening on the destination? I'd like to monitor my open ports on my firewall JUST to make sure they're open. I would just specify the port with the normal Nagios command and point it at my public IP address, but

Re: [Nagios-users] Monitoring Open Ports

2009-09-29 Thread James Pratt
-Original Message- From: Matt Baer [mailto:m...@baerconsult.com] Sent: Tuesday, September 29, 2009 3:51 PM To: Nagios-users@lists.sourceforge.net Subject: [Nagios-users] Monitoring Open Ports Is there a way that Nagios can monitor open ports, even if there isn't anything

Re: [Nagios-users] Monitoring Open Ports

2009-09-29 Thread Justin Pryzby
On Tue, Sep 29, 2009 at 02:51:07PM -0500, Matt Baer wrote: Is there a way that Nagios can monitor open ports, even if there isn't anything listening on the destination? I'd like to monitor my open ports on my firewall JUST to make sure they're open. I would just specify the port with the

Re: [Nagios-users] Monitoring Open Ports

2009-09-29 Thread Marc Powell
On Sep 29, 2009, at 2:51 PM, Matt Baer wrote: Is there a way that Nagios can monitor open ports, even if there isn't anything listening on the destination? I'd like to monitor my open ports on my firewall JUST to make sure they're open. I would just specify the port with the normal

Re: [Nagios-users] Monitoring Open Ports

2009-09-29 Thread Kevin Keane
Not sure if my response will help you since I take a slightly different approach to monitoring basically the same thing. I am monitoring both the ports actually being listened on, and the iptables configuration. I'm using netstat -ltunp on the monitored server. Below is the plugin script I am