05-27-2004 08:00 AM - edited 03-02-2019 03:59 PM
Hello does anyone have a mrtg config that theya re doing both CPU monitoring and memory monitoring. Could you post or shoot that over to me ?.
Thanks
David
05-27-2004 11:03 PM
This is what I use for CPU monitoring of all my Cisco devices:
Target[Router_CPU_UTIL]: 1.3.6.1.4.1.9.2.1.58.0&1.3.6.1.4.1.9.2.1.58.0:string@A.B.C.D MaxBytes[Router_CPU_UTIL]: 100
Options[Router_CPU_UTIL]: growright, gauge, nopercent, nobanner
where string is router's RO snmp commuunity string and A.B.C.D is router's IP address
I don't know how to do it for memory monitoring but there is a good link about the MIB objects used for memory monitoring:
http://www.cisco.com/en/US/tech/tk648/tk362/technologies_tech_note09186a0080094a95.shtml
HTH
05-31-2004 01:38 AM
Hi,
Can u explain the above mentioned process a little bit more.I have been using mrtg for monitoring bandwidth of router interfaces in which i make cfgmaker file then running it to get mrtg graphs.
So please explain a little bit in connection to that the above e mentiond process.
Regards,
Saif Farooq
email:saif_farooq@yahoo.com
05-31-2004 02:18 AM
I also use cfgmaker for monitoring interfaces bandwidth. But for special monitoring like CPU and memory I usually add those lines I wrote at previous post in *.cfg file created by cfgmaker.
So build your .cfg with cfgmaker and edit it to add those lines. Check the .cfg to see how it is built and the meaning of every field used.
Here you are a CfgMaker manual:
http://people.ee.ethz.ch/~oetiker/webtools/mrtg/cfgmaker.html
Almost at the end of this document there is an example for CPU monitoring with all the fields included (legends , maxbytes, options, etc):
HTH
06-01-2004 05:35 AM
Hello
I tried to edit my existing *.cfg file with your lines but problem is that when i run the file,command prompt gives the message:
"ERROR: unable to open config file: saif.cfg"
I thnk i am doing some mistake editing the file.
I am enclosing the *.cfg file that i have already created so i hope u can help me edit it with your lines.
Regards
06-02-2004 12:10 AM
When do you receive such error? When trying to edit or when trying to run with perl?
Is this file generated by cfgmaker?
Remember to put every field for cpu monitoring. Refer to cfgmaker manual
06-02-2004 06:55 AM
Dear Jolmo
This is the file generated by cfgmaker.wheb i run it with perl,i receive this error. Thats why i have attached the cfgmaker file so that u can possibly edit it with the lines you said are for generating cpu graphs.
Regards.
Saif
06-02-2004 11:28 PM
Make sure you run perl from the directory where your cfg file is placed. That error looks like perl can't find your .cfg file
06-05-2004 05:47 AM
Dear All,
Fianlly Problem solved.I follwed the links that Jolmo forwarded to me.Plus,in the Mrtg installation,there is a file \\mrtg\doc\ntguide,there is an example similar to the one in the links that Jolmo forwarded.
It took some time but now finally I am able to take MRTG graph of Router's CPU.
I would definately like to thank Jolmo for his tips.
Regards,
Saif Farooq
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide