This is a discussion on [mrtg] Unknown SNMP var within the MRTG forums, part of the Networking and Network Related category; --===============1408340168== Content-Type: multipart/alternative; boundary="_8ff6b345-d21f-4ec5-9226-5437bd70c036_" --_8ff6b345-d21f-4ec5-9226-5437bd70c036_ Content-Type: ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
--===============1408340168==
Content-Type: multipart/alternative; boundary="_8ff6b345-d21f-4ec5-9226-5437bd70c036_" --_8ff6b345-d21f-4ec5-9226-5437bd70c036_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi, I want to graph remote Windows Memory & Harddisk. I got these values from a= windows pc via SNMP by running following command. [root@gw2 bin]# snmpwalk -v2c -c public 10.0.0.1 .. . . . .(pasting only relative data)HOST-RESOURCES-MIB::hrStorageDescr.1 = =3D STRING: C:\Label:W2003 C Serial Number 7cda6213HOST-RESOURCES-MIB::hrS= torageDescr.8 =3D STRING: Physical Memory HOST-RESOURCES-MIB::hrStorageAllocationUnits.1 =3D INTEGER: 4096 BytesHOST-= RESOURCES-MIB::hrStorageAllocationUnits.8 =3D INTEGER: 65536 Bytes HOST-RESOURCES-MIB::hrStorageSize.1 =3D INTEGER: 2560351HOST-RESOURCES-MIB:= :hrStorageSize.8 =3D INTEGER: 16223 HOST-RESOURCES-MIB::hrStorageUsed.1 =3D INTEGER: 1163807HOST-RESOURCES-MIB:= :hrStorageUsed.8 =3D INTEGER: 11361......... Also I can get values by running,[root@gw2 bin]# snmpwalk -v2c -c public 1= 0.0.0.1 hrStorageSize.1 HOST-RESOURCES-MIB::hrStorageSize.1 =3D INTEGER: 2560351 =20 But when I setup it in mrtg.cfg file like this,Target[server.memory]: hrSto= rageSize.5&hrStorageUsed.5:public@10.0.0.3. . . .I get this error 18:55:07 -- Started mrtg with config '/usr/local/mrtg-2/bin/mrtg.cfg'18:55:= 07 -- Unknown SNMP var hrStorageSize.1 at /usr/local/mrtg-2/bin/mrtg line 2= 20218:55:07 -- Unknown SNMP var hrStorageUsed.1 at /usr/local/mrtg-2/bin/mr= tg line 220218:55:07 -- 2008-04-11 18:55:07: ERROR: Target[server.memory][_= IN_] ' =20 $target->[0]{$mode} ' did not eval into defined data18:55:07 -- 2008-04-11 = 18:55:07: ERROR: Target[server.memory][_OUT_] '=20 $target->[0]{$mode} ' did not eval into defined data Please Help me.Thx Regards,=20 zaib __________________________________________________ _______________ Invite your mail contacts to join your friends list with Windows Live Space= s. It's easy! http://spaces.live.com/spacesapi.asp...l=3D/friends.= aspx&mkt=3Den-us= --_8ff6b345-d21f-4ec5-9226-5437bd70c036_ Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable <html> <head> <style> ..hmmessage P { margin:0px; padding:0px } body.hmmessage { FONT-SIZE: 10pt; FONT-FAMILY:Tahoma } </style> </head> <body class=3D'hmmessage'> Hi,<BR> I want to graph remote Windows Memory & Harddisk. I got these values fr= om a windows pc via SNMP by running following command.<BR> [root@gw2 bin]# snmpwalk -v2c -c public 10.0.0.1<BR> .. . . . .<BR>(pasting only relative data)<BR>HOST-RESOURCES-MIB::hrStorageD= escr.1 =3D STRING: C:\Label:W2003 C Serial Number 7cda6213<BR>HOST-RE= SOURCES-MIB::hrStorageDescr.8 =3D STRING: Physical Memory<BR> HOST-RESOURCES-MIB::hrStorageAllocationUnits.1 =3D INTEGER: 4096 Bytes<BR>H= OST-RESOURCES-MIB::hrStorageAllocationUnits.8 =3D INTEGER: 65536 Bytes<BR> HOST-RESOURCES-MIB::hrStorageSize.1 =3D INTEGER: 2560351<BR>HOST-RESOURCES-= MIB::hrStorageSize.8 =3D INTEGER: 16223<BR> HOST-RESOURCES-MIB::hrStorageUsed.1 =3D INTEGER: 1163807<BR>HOST-RESOURCES-= MIB::hrStorageUsed.8 =3D INTEGER: 11361<BR>.........<BR> Also I can get values by running,<BR>[root@gw2 bin]# snmpwalk -v2c -c= public 10.0.0.1 hrStorageSize.1<BR> HOST-RESOURCES-MIB::hrStorageSize.1 =3D INTEGER: 2560351<BR> <BR> But when I setup it in mrtg.cfg file like this,<BR>Target[server.memory]: h= rStorageSize.5&hrStorageUsed.5:public@10.0.0.3 <BR>. . . .<BR>I get this= error<BR> <BR>18:55:07 -- Started mrtg with config '/usr/local/mrtg-2/bin/mrtg.cfg'<B= R>18:55:07 -- Unknown SNMP var hrStorageSize.1 at /usr/local/mrtg-2/bin/mrt= g line 2202<BR>18:55:07 -- Unknown SNMP var hrStorageUsed.1 at /usr/local/m= rtg-2/bin/mrtg line 2202<BR>18:55:07 -- 2008-04-11 18:55:07: ERROR: Target[= server.memory][_IN_] ' & nbsp= ; & nbsp; <BR> $target->[0]{$mode} ' did not eval into defined data<BR>18:55:07 -- 2008= -04-11 18:55:07: ERROR: Target[server.memory][_OUT_]  = ; & nbsp; &n= bsp; ' <BR> $target->[0]{$mode} ' did not eval into defined data<BR> Please Help me.<BR>Thx<BR><BR><BR> <DIV> <BR><FONT color=3D#0066ff><STRONG><FONT color=3D#000000>Regards,= </FONT> </STRONG></FONT><BR> <DIV><FONT color=3D#0066ff></FONT></DIV> <DIV><FONT color=3D#000000>zaib</FONT></DIV></DIV><br /><hr />Invite your m= ail contacts to join your friends list with Windows Live Spaces. It's easy!= <a href=3D'http://spaces.live.com/spacesapi.aspx?wx_action=3Dcreate&wx_url= =3D/friends.aspx&mkt=3Den-us' target=3D'_new'>Try it!</a></body> </html>= --_8ff6b345-d21f-4ec5-9226-5437bd70c036_-- --===============1408340168== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ mrtg mailing list mrtg@lists.oetiker.ch https://lists.oetiker.ch/cgi-bin/listinfo/mrtg --===============1408340168==-- |
![]() |
| Thread Tools | |
| Display Modes | |
|
|