<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7654.12">
<TITLE>RE: [Nagios-users] Monitoring traffic on switch port viaNagios/Nagiosgrapher</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/plain format -->

<P><FONT SIZE=2>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.<BR>
<BR>
The output is pumped into nagiosgrapher, with traffic out of the port multiplied by -1<BR>
<BR>
The plugin might say something like<BR>
OK: Port "GigabitEthernet9/15" on 10.129.138.1 transferred 241211 bits/s in (0.02% utilisation) and 684 bits/s out (0% utilisation)<BR>
<BR>
We only bother measuring the inter-switch ports<BR>
<BR>
-----Original Message-----<BR>
From: Stefan-Michael Guenther [<A HREF="mailto:nagios02@in-put.de">mailto:nagios02@in-put.de</A>]<BR>
Sent: Fri 6/26/2009 7:44 AM<BR>
To: nagios-users@lists.sourceforge.net<BR>
Subject: [Nagios-users] Monitoring traffic on switch port viaNagios/Nagiosgrapher<BR>
<BR>
Hello,<BR>
<BR>
I like to monitor the traffic on different HP switches via Nagios and<BR>
Nagiosgrapher.<BR>
<BR>
Does aynone of you have a plugin that calculates the in- and outgoing<BR>
traffic on every single port?<BR>
<BR>
Or do you know the corresponding OIDs? I have checked the MIBs for the<BR>
HP ProCurve 2824 / 2810 but wasn't really successful in finding the<BR>
right MIBs.<BR>
<BR>
Thanks for any suggestions or hints,<BR>
<BR>
Stefan<BR>
<BR>
<BR>
------------------------------------------------------------------------------<BR>
_______________________________________________<BR>
Nagios-users mailing list<BR>
Nagios-users@lists.sourceforge.net<BR>
<A HREF="http://lists.sourceforge.net/lists/listinfo/nagios-users">http://lists.sourceforge.net/lists/listinfo/nagios-users</A><BR>
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.<BR>
::: Messages without supporting info will risk being sent to /dev/null<BR>
<BR>
</FONT>
</P>

<br/><font face="Times New Roman" size="3"><a href="http://www.bbc.co.uk">http://www.bbc.co.uk</a><br/>This e-mail (and any attachments) is confidential and may contain personal views which are not the views of the BBC unless specifically stated.<br/>If you have received it in error, please delete it from your system.<br/>Do not use, copy or disclose the information in any way nor act in reliance on it and notify the sender immediately.<br/>Please note that the BBC monitors e-mails sent or received.<br/>Further communication will signify your consent to this.</font></BODY>
</HTML>