Hi,
I want to graph remote Windows Memory & Harddisk. I got these values from a 
windows pc via SNMP by running following command.
[EMAIL PROTECTED] bin]# snmpwalk -v2c  -c public 10.0.0.1
. . . . .(pasting only relative data)HOST-RESOURCES-MIB::hrStorageDescr.1 = 
STRING: C:\Label:W2003 C  Serial Number 
7cda6213HOST-RESOURCES-MIB::hrStorageDescr.8 = STRING: Physical Memory
HOST-RESOURCES-MIB::hrStorageAllocationUnits.1 = INTEGER: 4096 
BytesHOST-RESOURCES-MIB::hrStorageAllocationUnits.8 = INTEGER: 65536 Bytes
HOST-RESOURCES-MIB::hrStorageSize.1 = INTEGER: 
2560351HOST-RESOURCES-MIB::hrStorageSize.8 = INTEGER: 16223
HOST-RESOURCES-MIB::hrStorageUsed.1 = INTEGER: 
1163807HOST-RESOURCES-MIB::hrStorageUsed.8 = INTEGER: 11361.........
Also I can get values by running,[EMAIL PROTECTED] bin]# snmpwalk -v2c  -c 
public 10.0.0.1 hrStorageSize.1
HOST-RESOURCES-MIB::hrStorageSize.1 = INTEGER: 2560351
 
But when I setup it in mrtg.cfg file like this,Target[server.memory]: 
hrStorageSize.5&hrStorageUsed.5:[EMAIL PROTECTED] . . .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 
220218:55:07 -- Unknown SNMP var hrStorageUsed.1 at /usr/local/mrtg-2/bin/mrtg 
line 220218:55:07 -- 2008-04-11 18:55:07: ERROR: Target[server.memory][_IN_] '  
                 
$target->[0]{$mode} ' did not eval into defined data18:55:07 -- 2008-04-11 
18:55:07: ERROR: Target[server.memory][_OUT_]                   ' 
$target->[0]{$mode} ' did not eval into defined data
Please Help me.Thx
 Regards, 

zaib
_________________________________________________________________
Invite your mail contacts to join your friends list with Windows Live Spaces. 
It's easy!
http://spaces.live.com/spacesapi.aspx?wx_action=create&wx_url=/friends.aspx&mkt=en-us
_______________________________________________
mrtg mailing list
[email protected]
https://lists.oetiker.ch/cgi-bin/listinfo/mrtg
  • [mrtg] Unknown SNM... SYED JAHANZAiB ~!~ AA Internet Cable . Network Services

Reply via email to