Thanks all for your warmhearted helps about snmpset, i have understood that command much better.

 As to the problem about "can't open udp point ",  i have tried  to shut down , unregister, register,and this error didn't occur any more. I felt strange.

 Now i have a problem about MRTG.  I succeed in using  MRTG  to monitor  the traffic load on network-links.And i want to monitor CPU load . I refer to the example of  "User vs Idle CPU usage"
 in " NET-SNMP Tutorial -- MRTG",the corresponding  configuration is :
WorkDir: d:\inetpub\mrtg\cpu
RunAsDaemon: yes
interval: 5
LoadMIBs: c:\usr\share\snmp\mibs\UCD-SNMP-MIB.txt
Target[nami.cpu]: ssCpuRawUser.0&ssCpuRawIdle.0:[EMAIL PROTECTED]
RouterUptime[nami.cpu]: [EMAIL PROTECTED]
MaxBytes[nami.cpu]: 100
Title[nami.cpu]: CPU LOAD
PageTop[nami.cpu]: <H1>User CPU Load %</H1>
Unscaled[nami.cpu]: ymwd
ShortLegend[nami.cpu]: %
YLegend[nami.cpu]: CPU Utilization
Legend1[nami.cpu]: User CPU in % (Load) 
Legend2[nami.cpu]: Idle CPU in % (Load)
Legend3[nami.cpu]:
Legend4[nami.cpu]:
LegendI[nami.cpu]:  User
LegendO[nami.cpu]:  Idle
Options[nami.cpu]: growright,nopercent

    After starting MRTG , a logfile generated ,it showed that :SNMPGET Problem for ssCpuRawUser.0 ssCpuRawIdle.0 sysUptime sysName on [EMAIL PROTECTED]::::::v4only.
I just got a blank graph,with nethier blue or green lines!!
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?

By the way, my OS is windows 2000 serve.

Thanks for your answers!

                                                                                                                                     nami




~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
欢迎使用ISM Gmail中文邮!想了解更多,请访问 www.ism.net.cn !
------------------------------------------------------- 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