[mrtg] Re: Cisco 72xx CPU & Environment configs.

Levente Nagy levinet at euroweb.hu
Mon Apr 3 21:40:00 MEST 2000


Hi,


On Mon, 3 Apr 2000 arakel at dig-net.net wrote:

> Has anyone succesfully made a configuration for cpu monitoring, and a
> separate conifg for chassis temperature monitoring?

However, you can do it with SNMP, too, we use a Perl script with rsh:

#!/usr/bin/perl
@be=`rsh -l username routername sh proc | head -2`;
@du=split(" ",$be[1]);
@du=split(/\%/,$du[5]);
$du[1]=substr($du[1],1,255);
print "0$du[0]\n";
print "0$du[1]\n";
print "uptime\n";
print "routername\n";

cheers,
Levente
[offtopic: your name is Hungarian... :) ]

> 
> I have search the past posts and have found only questions regarding this,
> yet no answers. I have also gone through the docs but they are of no help.
> 
> 
> 
> Thanks in advance,
> 
> 
> __________________________
> Michael Terebessy 
> <miket at dig-net.net>
> Digital Integration Group
> http://www.dig-net.net
> --------------------------
> 
> 
> 
> 
> --
> Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
> Archive     http://www.ee.ethz.ch/~slist/mrtg
> FAQ         http://faq.mrtg.org    Homepage     http://www.mrtg.org
> 

--
Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
Archive     http://www.ee.ethz.ch/~slist/mrtg
FAQ         http://faq.mrtg.org    Homepage     http://www.mrtg.org



More information about the mrtg mailing list