############################################################################## # host-ras.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 some cisco # RAS devices. It will hopefully build a config file with CPU load stats, # Memory stats, and ppp/dial connections. # Usage: cfgmaker --host-template=host-ras.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 # 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 memory WithPeak[$target_name]: ymw ECHO #----------------------------------------------------------------------- my $target_name = $router_name . "-conns"; $head_lines .= <$router_name Dial Connections WithPeak[$target_name]: ymw ECHO