[mrtg] Re: Monitor active calls on Cisco AS5x00 and + Cisco route rs' CPU load

William Owen william.owen at profilesmail.com
Fri Jan 14 15:15:58 MET 2005


You seem to have gotten a response about monitoring Cisco equipment already.

For windows, might I recommend using the Nagios pNSClient.  It will allow
you to pull values for anything that you can see via perfmon.msc.  Steve
Shipway has written an excellent Perl script called mrtg-pnsclient for
retrieving readings from the client in MRTG format.

You can get the Perl script here:
http://www.steveshipway.org/software/f_nagios.html

And the pNSClient here:
http://nsclient.ready2run.nl/products.htm


One nice thing about this approach is that (for counters like CPU) you can
read a five or fifteen minute average instead of taking a snap shot in time.
This will lead to more accurate graphs.

Example target config:

#
# NetSaint Processor
#

Target[<Server>-cpu]: `perl C:\MRTG\Scripts\mrtg-pnsclient.pl -H <Server> -v
CPULOAD -l 5 -l 15`
Title[<Server>-cpu]: <Server> CPU Activity
MaxBytes[<Server>-cpu]: 100
PageTop[<Server>-cpu]: null
LegendI[<Server>-cpu]: 5min&nbsp;:
LegendO[<Server>-cpu]: 15min:
Options[<Server>-cpu]: gauge growright
Ylegend[<Server>-cpu]: percent
ShortLegend[<Server>-cpu]: %
Legend1[<Server>-cpu]: 5minute average
Legend2[<Server>-cpu]: 15minute average
Legend3[<Server>-cpu]: Peak 5min average
Legend4[<Server>-cpu]: Peak 15min average
SetEnv[<Server>-cpu]: MRTG_INT_DESCR="CPU Activity"
routers.cgi*Mode[<Server>-cpu]: cpu
routers.cgi*Options[<Server>-cpu]: fixunit nototal nopercent scaled
routers.cgi*Icon[<Server>-cpu]: intel-sm.gif

-----Original Message-----
From: Ngo Duong [mailto:duongnx at gmail.com] 
Sent: Thursday, January 13, 2005 10:38 PM
To: mrtg at list.ee.ethz.ch
Subject: [mrtg] Monitor active calls on Cisco AS5x00 and + Cisco routers'
CPU load

Hi everyone

I'm new on MRTG, I need to monitor the active calls on Cisco AS5x00
and + Cisco routers' CPU load and also Windows PC CPU load & RAM.

Could anyone give me the instructions to do so as details as possible ?

I'm using mrtg-2.10.11.

Many thanks.

DuongNX

--
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
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi

--
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
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi



More information about the mrtg mailing list