Bandwidth utilization (snmp / cisco router)

Tedman Eng teng at dataway.com
Fri Jul 18 08:16:25 CEST 2003


Look into using apan.
http://apan.sourceforge.net

The net-usage example can be extended with cisco's formula.  HP Openview
also gives a similar formula to calculate bandwidth (as a percentage of the
interface's max rate).  The apan plugins are written in shell script, so
should be easy to modify.  If it works well, maybe contribute the changes
back to the apan project :)

Cheers

"Rainer" <sourceforge at powered.net> wrote in message
news:6.0.0.8.2.20030717220619.0239b460 at pop1.mail.com...
> Hello,
>
> I'm trying to retrieve the average bandwidth utilization (percent) on a
> cisco router using snmp.
> What would be the best way to do this? I've been unable to find a cisco
mib
> related to bandwidth percentage (only bits/sec)
> According to Cisco, the only way to do is this:
> http://www.cisco.com/warp/public/477/SNMP/calculate_bandwidth_snmp.html (a
> formula using
> ifInOctets and ifSpeed)
> I know this could be done with cricket / rrdtool, but has anyone succeded
> in doing this using check_snmp or some perl script with net::snmp? (ex.
> check_traffic_percent with parameters for hostaddress, interface number,
> community string, and warning/critical percent levels)
>
> Thanks in advance.
>
> Rainer Alves
> Unisys Brazil
>
>
>
> -------------------------------------------------------
> This SF.net email is sponsored by: VM Ware
> With VMware you can run multiple operating systems on a single machine.
> WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the
> same time. Free trial click here: http://www.vmware.com/wl/offer/345/0
> _______________________________________________
> Nagios-users mailing list
> Nagios-users at 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
>





-------------------------------------------------------
This SF.net email is sponsored by: VM Ware
With VMware you can run multiple operating systems on a single machine.
WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the
same time. Free trial click here: http://www.vmware.com/wl/offer/345/0
_______________________________________________
Nagios-users mailing list
Nagios-users at 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





More information about the Users mailing list