Our ciscos respond to the standard IF-MIB::ifSpeed oid (I think it's .1.3.6.1.2.1.2.2.1.5), we have a perl script wrapped around that which calculates traffic over a 20 second period, but you could use a temporary file to record the traffic if you were interested in a longer time. Be warned though, at 1gbit, a 32bit snmp counter could wrap around every 30 seconds -- once you look at measuring 10gibt you really need a switch and client that're capable of doing 64bit snmp counters.
The output is pumped into nagiosgrapher, with traffic out of the port multiplied by -1 The plugin might say something like OK: Port "GigabitEthernet9/15" on 10.129.138.1 transferred 241211 bits/s in (0.02% utilisation) and 684 bits/s out (0% utilisation) We only bother measuring the inter-switch ports -----Original Message----- From: Stefan-Michael Guenther [mailto:nagio...@in-put.de] Sent: Fri 6/26/2009 7:44 AM To: nagios-users@lists.sourceforge.net Subject: [Nagios-users] Monitoring traffic on switch port viaNagios/Nagiosgrapher Hello, I like to monitor the traffic on different HP switches via Nagios and Nagiosgrapher. Does aynone of you have a plugin that calculates the in- and outgoing traffic on every single port? Or do you know the corresponding OIDs? I have checked the MIBs for the HP ProCurve 2824 / 2810 but wasn't really successful in finding the right MIBs. Thanks for any suggestions or hints, Stefan ------------------------------------------------------------------------------ _______________________________________________ Nagios-users mailing list Nagios-users@lists.sourceforge.net http://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 http://www.bbc.co.uk/ This e-mail (and any attachments) is confidential and may contain personal views which are not the views of the BBC unless specifically stated. If you have received it in error, please delete it from your system. Do not use, copy or disclose the information in any way nor act in reliance on it and notify the sender immediately. Please note that the BBC monitors e-mails sent or received. Further communication will signify your consent to this.
------------------------------------------------------------------------------
_______________________________________________ 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