############################################################################## # host-ios.template v20030106 by gvolk@gvolk.com # # The following is a mrtg template that can be used in conjunction with # cfgmaker for automatically building configs for monitoring the CPU load # and memory used versus free on a cisco box running IOS. # Usage: cfgmaker --host-template=host-ios.template public@router # # # This template is available under the GNU GPL. For more information, please # see http://www.gnu.org/copyleft/gpl.html. # # # Version History: # 20020806 - Initial Release # 20030106 - Added GPL Licensing Note # 20030109 - Changed mem OID from 1.3.6.1.4.1.9.9.48.1.1.1.5.1 & # .1.3.6.1.4.1.9.9.48.1.1.1.6.1 to .1.3.6.1.4.1.9.9.48.1.1.1.5.2 # & .1.3.6.1.4.1.9.9.48.1.1.1.6.2. This changes the query from # the CPU memory pool to the I/O memory pool which, IMHO is a # lot more interesting. # # my $target_name = $router_name . "-cpu"; $head_lines .= <$router_name CPU load
System:$router_name in $html_syslocation
Maintainer:$html_syscontact
Description:$html_sysdescr
Resource:CPU.
ECHO #--------------------------------------------------------------------- my $target_name = $router_name . "-mem"; $head_lines .= <$router_name I/O memory utilization WithPeak[$target_name]: ymw ECHO