############################################################################## # Cisco 2900-XL (and other IOS based L2 switches) template v20030106. # Assembled by Greg Volk from the Cisco mib files. # See http://mrtg.gvolk.com for updates and more info about mrtg in general. # # Example Usage: # cfgmaker --subdirs=HOSTNAME --host-template=host-xl-bandwidth.template \ # --nointerfaces public@host # # # This template is available under the GNU GPL. For more information, please # see http://www.gnu.org/copyleft/gpl.html. # # # Version History: # 20021108 - Initial Release # 20030106 - Added GPL Licensing Note # # ############################################################################## # c2900BandwidthUsageCurrent (1.3.6.1.4.1.9.9.87.1.5.1.0) # This mibvar claims to report the current amount of traffic flowing through the # switch in megabits/sec. I have tested it with a 2924-XL-M and a 3550-24 with # good results. YMMV. # my $target_name = $router_name . "-bwuc"; $head_lines .= <$router_name Current Bandwidth Usage
System:$router_name in $html_syslocation
Maintainer:$html_syscontact
Description:$html_sysdescr
Resource:c2900BandwidthUsageCurrent (1.3.6.1.4.1.9.9.87.1.5.1.0) * 1000000
ECHO