[mrtg] mrtg error... trying get cpu stats

jason thomas france jason at jasonthomasfrance.com
Thu Sep 11 15:25:59 MEST 2003


Howdy,

I've run across a couple cpu stat scripts, one using sar and another using vmstat.  Neither scripts works for me, and both give the same type error.  

*************************************************************
[root at music bin]# Can't exec "/var/www/html/mrtgpme/linux/cpu-linux.pl": No such file or directory at ./mrtg line 1637.
WARNING: Running '/var/www/html/mrtgpme/linux/cpu-linux.pl 10.10.10.101': No such file or directory
WARNING: Could not get any data from external command '/var/www/html/mrtgpme/linux/cpu-linux.pl 10.10.10.101'
Maybe the external command did not even start. (No such file or directory)

WARNING: Problem with External get '/var/www/html/mrtgpme/linux/cpu-linux.pl 10.10.10.101':
   Expected a Number for 'in' but nothing'

WARNING: Problem with External get '/var/www/html/mrtgpme/linux/cpu-linux.pl 10.10.10.101':
   Expected a Number for 'out' but nothing'
*************************************************************

Mrtg version: 2.10.2
gd version: 2.0.15
net-snmp version: 5.0.9
zlib version: 1.1.4
libpng version 1.2.5

mrtg-pme version 1.0.2
sysstat version 4.0.7

Linux Kernel Version 2.4.18-14
RedHat 8.0

What am I missing?  Both scripts give a can't execute, can't find file.  File location is correct.  Path statements for perl are good.  Everything looks fine from what I can tell.  You can view the cfgs and such here: sysstat: http://www.jasonthomasfrance.org/mrtg and mrtgpme: http://www.jasonthomasfrance.org/mrtgpme  

And is there an IRC channel I can chat on about MRTG?

Thanks,
jason thomas france

_______________________________________________________

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