We have Nortel switches. Just to complicate things further, I am using RMON snmp traps to alert Nagios when an event occurs on one of the switches (i.e. broadcast packets exceed a certain threshold).
A summary of my setup: - when a certain threshold is exceeded, the port will trigger an alarm and send an snmp trap to our management server - snmptrapd (a net-snmp daemon) is running on the management server and receives the trap and passes it to my Perl "trap-handler" script - the "trap-handler" script translates the snmp trap and updates Nagios according (through a passive check) The problem is, for example, say 3 ports go down on a single switch and only one comes back up, this "clears" the service alert in Nagios even though 2 ports are still down. One was around this would be to have a service for each port but as I mentioned previously, I'm hoping to figure out another way to do it. (I hope I explained that well enough but I'm sure I lost a lot of you ....) -----Original Message----- From: Christian Schneemann [mailto:[EMAIL PROTECTED] Sent: April-08-08 4:14 PM To: nagios-users@lists.sourceforge.net; [EMAIL PROTECTED] Subject: Re: [Nagios-users] nagios to monitor several switch ports Am Dienstag 08 April 2008 schrieb Kevin Manuel: > I would like to have Nagios alert on the status of individual switch ports > - link up/down, traffic, etc. Is there a way to do this other than creating > a separate host or service for each port. There are 1000's of ports on our > network and this doesn't seem practical. What kind of switches do you have? I don't know if there is a plugin for such a test, but I think it can easily be written using SNMP and a scriptinglanguage of your choice. > > > > What I would like is for a host switch to show as "warning" (or "critical") > if one or more switch port is down / exceeding a traffic limit and showing > "ok" only if ALL ports are up, etc. Even if I don't understand why you want to monitor that, SNMP is your friend here. You just need the according MIB according to your switch. Greetings, -- Christian Schneemann ------------------------------------- SUSE LINUX Products GmbH, Maxfeldstr. 5, D - 90409 Nürnberg Phone: +49 (0)911 - 740 53 0 e-mail: [EMAIL PROTECTED] ------------------------------------- SUSE LINUX Products GmbH, GF: Markus Rex HRB 16746 (AG Nürnberg) ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Register now and save $200. Hurry, offer ends at 11:59 p.m., Monday, April 7! Use priority code J8TLD2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ 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