[mrtg] Unknown SNMP var

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


Go Back   Usenet Forums > Networking and Network Related > MRTG

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-11-2008
SYED JAHANZAiB ~!~ AA Internet Cable.Network Services
 
Posts: n/a
Default [mrtg] Unknown SNMP var

--===============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 &amp; Harddisk. I got these values fr=
om a windows pc via SNMP by running following command.<BR>
[root@gw2 bin]# snmpwalk -v2c&nbsp; -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&nbsp; 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&nbsp; -c=
public 10.0.0.1 hrStorageSize.1<BR>
HOST-RESOURCES-MIB::hrStorageSize.1 =3D INTEGER: 2560351<BR>
&nbsp;<BR>
But when I setup it in mrtg.cfg file like this,<BR>Target[server.memory]: h=
rStorageSize.5&amp;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;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;& nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;& nbsp; <BR>
$target-&gt;[0]{$mode} ' did not eval into defined data<BR>18:55:07 -- 2008=
-04-11 18:55:07: ERROR: Target[server.memory][_OUT_]&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;& nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp; ' <BR>
$target-&gt;[0]{$mode} ' did not eval into defined data<BR>
Please Help me.<BR>Thx<BR><BR><BR>
<DIV>&nbsp;<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==--

Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 10:03 AM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0