<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
FONT-SIZE: 10pt;
FONT-FAMILY:Tahoma
}
</style>
</head>
<body class='hmmessage'>
Hi,<BR>
I want to graph remote Windows Memory &amp; Harddisk. I got these values from 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::hrStorageDescr.1 = STRING: C:\Label:W2003 C&nbsp; Serial Number 7cda6213<BR>HOST-RESOURCES-MIB::hrStorageDescr.8 = STRING: Physical Memory<BR>
HOST-RESOURCES-MIB::hrStorageAllocationUnits.1 = INTEGER: 4096 Bytes<BR>HOST-RESOURCES-MIB::hrStorageAllocationUnits.8 = INTEGER: 65536 Bytes<BR>
HOST-RESOURCES-MIB::hrStorageSize.1 = INTEGER: 2560351<BR>HOST-RESOURCES-MIB::hrStorageSize.8 = INTEGER: 16223<BR>
HOST-RESOURCES-MIB::hrStorageUsed.1 = INTEGER: 1163807<BR>HOST-RESOURCES-MIB::hrStorageUsed.8 = 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 = INTEGER: 2560351<BR>
&nbsp;<BR>
But when I setup it in mrtg.cfg file like this,<BR>Target[server.memory]: hrStorageSize.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'<BR>18:55:07 -- Unknown SNMP var hrStorageSize.1 at /usr/local/mrtg-2/bin/mrtg line 2202<BR>18:55:07 -- Unknown SNMP var hrStorageUsed.1 at /usr/local/mrtg-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;&nbsp;&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=#0066ff><STRONG><FONT color=#000000>Regards,</FONT> </STRONG></FONT><BR>
<DIV><FONT color=#0066ff></FONT></DIV>
<DIV><FONT color=#000000>zaib</FONT></DIV></DIV><br /><hr />Invite your mail contacts to join your friends list with Windows Live Spaces. It's easy! <a href='http://spaces.live.com/spacesapi.aspx?wx_action=create&wx_url=/friends.aspx&mkt=en-us' target='_new'>Try it!</a></body>
</html>