[mrtg] Unknown SNMP var ssCpuRawUser.0

Karl Jackson karl.jackson at starfarmproductions.com
Fri Jun 30 20:28:43 MEST 2006


Hello all,
Newbie here, I have been battling with this and have not figured it out, I
have seen a few people online with the same problem and no solutions.

When I run:
/var/www/mrtgconf# env LANG=C /usr/local/mrtg-2/bin/mrtg
/var/www/mrtgconf/stoneweb.cfg

I get:

Unknown SNMP var ssCpuRawUser.0
 at /usr/local/mrtg-2/bin/mrtg line 2034
Unknown SNMP var ssCpuRawUser.0
 at /usr/local/mrtg-2/bin/mrtg line 2034
Friday, 30 June 2006 at 13:17: WARNING: Expected a number but got '2:30:21'
Friday, 30 June 2006 at 13:17: WARNING: Expected a number but got
'stoneweb.sfpx.com'
Friday, 30 June 2006 at 13:17: ERROR: Target[10.10.2.33_cpu][_IN_] '
$target->[0]{$mode} ' did not eval into defined data
Friday, 30 June 2006 at 13:17: ERROR: Target[10.10.2.33_cpu][_OUT_] '
$target->[0]{$mode} ' did not eval into defined data


My stoneweb.cfg file Looks like (did not include bunch of commented out
sections):

Workdir: /var/www/stoneweb/
#
# CPU Monitoring

Target[10.10.2.33_cpu]: ssCpuRawUser.0&ssCpuRawUser.0:private at stoneweb
Title[10.10.2.33_cpu]: Server CPU Load
MaxBytes[10.10.2.33_cpu]: 100

I have also tried putting in the following, but it did not work:
LoadMIBs: /usr/share/snmp/mibs/UCD-SNMP-MIB.txt
LoadMIBs: /usr/share/snmp/mibs/TCP-MIB.txt





When I do :
snmpget -c private 10.10.2.33 ssCpuRawUser.0

I get:

UCD-SNMP-MIB::ssCpuRawUser.0 = Counter32: 10417


Please tell me what I am doing wrong and how I can get CPU load information
form my server, any help greatly appreciated !

- Karl

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