[mrtg] Help on monitoring cpu

Admin-Stress meerkapot at yahoo.com
Sat Apr 17 09:10:12 MEST 2004


I use cpuinfo.pl from contrib directory, when I run it I got this error on the console :

Host key verification failed.
WARNING: Problem with External get '/home/www/mydomain.com/cgi-bin/mrtg/cpuinfo.pl
myhost.homelinux.net linux':
   Expected a Number for 'in' but got ''

WARNING: Problem with Externale get '/home/www/mydomain.com/cgi-bin/mrtg/cpuinfo.pl
myhost.homelinux.net linux':
   Expected a Number for 'out' but got ''

ERROR: Target[127.0.0.1_myhost][_IN_] ' $target->[0]{$mode} ' did not eval into defined data
ERROR: Target[127.0.0.1_myhost][_OUT_] ' $target->[0]{$mode} ' did not eval into defined data

and here is my mrtg.cfg :

Target[127.0.0.1_myhost]: `/home/www/mydomain.com/cgi-bin/mrtg/cpuinfo.pl myhost.homelinux.net
linux`
MaxBytes[127.0.0.1_myhost]: 100
Options[127.0.0.1_myhost]: gauge, nopercent
Unscaled[127.0.0.1_myhost]: dwym
YLegend[127.0.0.1_myhost]: % of CPU used
ShortLegend[127.0.0.1_myhost]: %
LegendO[127.0.0.1_myhost]:  CPU System:
LegendI[127.0.0.1_myhost]:  CPU User:
Title[127.0.0.1_myhost]: myhost
PageTop[127.0.0.1_myhost]: <H1>CPU usage for myhost
 </H1>
  <TABLE>
    <TR><TD>System:</TD><TD>myhost</TD></TR>
   </TABLE>

Anyone can give me any help? how to make this work ... 

Thank you.


	
		
__________________________________
Do you Yahoo!?
Yahoo! Tax Center - File online by April 15th
http://taxes.yahoo.com/filing.html

--
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