[mrtg] cfgmaker - supporting multiple CPU OIDs
Shane Presley
shane.presley at gmail.com
Mon Jul 11 18:00:20 MEST 2005
Hello,
I'm using cfgmaker to simplify my device management. I have a
cfgmaker script that looks like...
cfgmaker --output=/etc/mrtg/windowsservers.cfg
--dns-domain=mydomain.com --community=public --global "WorkDir:
/var/www/html/mrtg/" --ifdesc=alias
--host-template=windowsservers.template server1 server2 server3
And in my template I setup sections for Number of Users, Processes,
etc. One of the things I want to monitor is CPU Load. But the
problem is, I have a different number of CPUs on each system. For
example server1 only has one CPU, so I graph hrProcessorLoad.1. But
server2 has four processors, so I need to graph hrProcessorLoad.1,
hrProcessorLoad.2, hrProcessorLoad.3, and hrProcessorLoad.4
Is there a way in the template to support that? To only graph
hrProcessorLoad.X if it exists? Or do I have to statically define it
for each server.
Thanks
Shane
--
Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
Archive http://lists.ee.ethz.ch/mrtg
FAQ http://faq.mrtg.org Homepage http://www.mrtg.org
WebAdmin http://lists.ee.ethz.ch/lsg2.cgi
More information about the mrtg
mailing list