<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE>Bericht</TITLE>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2800.1589" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=241173507-18042007><FONT color=#0000ff
size=2>Brian,</FONT></SPAN></DIV>
<DIV><SPAN class=241173507-18042007><FONT color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=241173507-18042007><FONT color=#0000ff size=2>Since you get a
messages '<FONT color=#000000 size=3>Unknown SNMP var ssCpuRawUser...' <FONT
color=#0000ff size=2>I suggest you try the full numerical oid's at the target
line.</FONT></FONT></FONT></SPAN></DIV>
<DIV><SPAN class=241173507-18042007><FONT color=#0000ff size=2>Long time ago
whwn using an MRTG 2.7 or 2.8 version I encounterd a similar problem:
With a regular expression in the target line the only way to get it running was
with the full numerical oid's. I don't know if this was ever
fixed.</FONT></SPAN></DIV>
<DIV><SPAN class=241173507-18042007><FONT color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=241173507-18042007></SPAN><SPAN class=241173507-18042007><FONT
color=#0000ff size=2>HTH,</FONT></SPAN></DIV>
<DIV><SPAN class=241173507-18042007><FONT color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=241173507-18042007><FONT color=#0000ff
size=2>Jan.</FONT></SPAN></DIV>
<DIV><SPAN class=241173507-18042007> </SPAN></DIV>
<BLOCKQUOTE style="MARGIN-RIGHT: 0px">
<DIV></DIV>
<DIV class=OutlookMessageHeader lang=nl dir=ltr align=left><FONT face=Tahoma
size=2>-----Original Message-----<BR><B>From:</B>
mrtg-bounces@lists.oetiker.ch [mailto:mrtg-bounces@lists.oetiker.ch] <B>On
Behalf Of </B>Brian Neu<BR><B>Sent:</B> Wednesday, April 18, 2007 3:39
AM<BR><B>To:</B> mrtg@lists.oetiker.ch<BR><B>Subject:</B> [mrtg] can't figure
out CPU<BR><BR></FONT></DIV>Gracious and patient mrtg
users:<BR><BR> A humble mrtg newbie requests your
assistance.<BR><BR> In trying to get MRTG to monitor
CPU/system info from the localhost, I have running into the following
situation.<BR><BR><BR><BR>So with either v1 or v2c, I get this:<BR><BR>]#
snmpwalk -v 2c -c <mycom> localhost
ssCpuUser.0<BR>UCD-SNMP-MIB::ssCpuUser.0 = INTEGER:
0<BR><BR>Working,right? Not for mrtg, at least not the way that I'm
trying to do it:<BR><BR>--------- /etc/mrtg/cpu.cfg
-------<BR>WorkDir: /var/www/mrtg<BR>LoadMIBs:
/usr/share/snmp/mibs/UCD-SNMP-MIB.txt,/usr/share/snmp/mibs/TCP-MIB.txt<BR>Target[localhost.cpu]:ssCpuRawUser.0&ssCpuRawUser.0:aonetworks@localhost
+ ssCpuRawSystem.0&ssCpuRawSystem.0:aonetworks@localhost +
ssCpuRawNice.0&ssCpuRawNice.0:aonetworks@localhost<BR>----- truncated for
your viewing pleasure ----<BR><BR><BR>]# LANG=C LC_ALL=C /usr/bin/mrtg
/etc/mrtg/cpu.cfg <BR>Unknown SNMP var ssCpuRawUser.0<BR> at
/usr/bin/mrtg line 2149<BR>Unknown SNMP var ssCpuRawUser.0<BR> at
/usr/bin/mrtg line 2149<BR>2007-04-17 21:31:22: WARNING: Expected a number but
got '3:26:16'<BR>2007-04-17 21:31:22: WARNING: Expected a number but got
'myhost.mydomain.com'<BR>Unknown SNMP var ssCpuRawSystem.0<BR> at
/usr/bin/mrtg line 2149<BR>Unknown SNMP var ssCpuRawSystem.0<BR> at
/usr/bin/mrtg line 2149<BR><BR><BR><BR>Soooo, what am I doing
wrong?<BR><BR><BR>rpm -qa |egrep
"mrtg|snmp"<BR>net-snmp-libs-5.3-4.2<BR>mrtg-2.15.1-1<BR>net-snmp-5.3-4.2<BR>net-snmp-devel-5.3-4.2<BR>net-snmp-utils-5.3-4.2<BR><BR></BLOCKQUOTE></BODY></HTML>
<table><tr><td bgcolor=#ffffff><font color=#000000>_________________________________________________________<br>
<br>
Dit bericht kan informatie bevatten die niet voor u is bestemd. Indien u niet de geadresseerde bent of dit bericht abusievelijk aan u is toegezonden, wordt u verzocht dat aan de afzender te melden en het bericht te verwijderen. De staat aanvaardt geen aansprakelijkheid voor schade, van welke aard ook, die verband houdt met risico's verbonden aan het elektronisch verzenden van berichten.<br>
_________________________________________________________<br>
<br>
This message may contain information that is not intended for you. If you are not the addressee or if this message was sent to you by mistake, you are requested to inform the sender and delete the message. The state accepts no liability for damage of any kind resulting from the risks inherent in the electronic transmission of messages.<br>
_________________________________________________________<br>
</font></td></tr></table>