1821985 Members
3436 Online
109638 Solutions
New Discussion юеВ

Re: mrtg config

 
Joseph Bague
Frequent Advisor

mrtg config

I making a mrtg config file to monitor the cpu utilization of our hp n-class machine. Where can i found a sample of complete mrtg config file for 4 cpu.

Many thanks
Expect nothing but ready for everything
4 REPLIES 4
harry d brown jr
Honored Contributor

Re: mrtg config


Get glance/measureware to CORRECTLY and ACCURATELY monitor CPU utilization! Any other program will produce inaccurate results, which will mislead you to the wrong conclusions!


live free or die
harry
Live Free or Die
Joseph Bague
Frequent Advisor

Re: mrtg config

What i am trying to do is have a cpu graph of our hp box in daily, weekly, monthly, yearly
basis and where i can view it in our intranet server. Can glance / measureware can do this ?
Expect nothing but ready for everything

Re: mrtg config

You can run glance in 'adviser_only' mode and have it run in cron (output to a file)

Then....

have a script collate that data into daily,weekly,etc....

Then cut and paste into Excel to graph it.

Hope this helps.
U.SivaKumar_2
Honored Contributor

Re: mrtg config

Hi,
MRTG can run with any SNMP enabled device in our case a HP-UX server.
First , start snmp in the HP-UX server.
#/sbin/init.d/SnmpHpunix start
#/sbin/init.d/SnmpMaster start
#/sbin/init.d/SnmpMib2 start
Check whether snmp is running.
#ps -ef | grep snmpd

Now using cfgmaker utility in MRTG

cfgmaker --global 'WorkDir: /home/hp-ux/mrtg' --global --output /home/mrtg/cfg/hpux.cfg public@xxx.xxx.xxx.xxx

Since public is the default snmp community.
Your config file is generated in /home/mrtg/cfg/hpux.cfg
After that run MRTG
/usr/local/mrtg-2/bin/mrtg /home/mrtg/cfg/hpux.cfg

regards,
U.SivaKumar
Innovations are made when conventions are broken