Thomas Anders wrote:
> [EMAIL PROTECTED] wrote:
> 
>>I use this command in net-snmp: snmpget -v 2c -c private localhost 
>>ssCpuRawUser.0
>>The answer is: UCD-SNMP-MIB::ssCpuRawUser.0=No Such Object available on 
>>this agent at this OID.
>>So ,what is the wrong? what should i do?
> 
> 
> It is probably just not (yet) implemented on Windows.

It's not implemented yet, but if you want to use the Net-SNMP agent then
you can run the MS agent on another port and configure Net-SNMP to proxy
to it.  To do this, you should:

-edit %windir%\system32\drivers\etc\services.  Change the port listed
for SNMP from 161/udp to 1161/udp, or another free port.  It's probably
better to keep it under 1024.
-configure the MS agent to only accept requests from localhost
-configure the MS agent's r/w community string
-Add this to Net-SNMP's snmpd.conf:

 proxy  -v 1 -c public localhost:1161 host

You should then be able to use:

 snmpwalk -v 2c -c public x.x.x.x hrProcessorLoad

Alex


-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to