net-snmp Sub-Agent Demon tutorial problen
Earnest Pan <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <[email protected]> |
Hi ALL,
According to tutorial,I executd the
net-snmp-config --compile-subagent mysubagent
nstAgentSubagentObject.c
and generated the executable file,mysubagent.
I executed ./mysubagent & as root
When I used the snmpget command as following,
snmpget -v2c -c public localhost
nstAgentSubagentObject.0
It always shows
NET-SNMP-TUTORIAL-MIB::nstAgentSubagentObject.0
= No Such Object available on this agent at this OID
I have already checked the return value from
netsnmp_register_int_instance() is MIB_REGISTERED_OK.
Can anyone give me a big hand?
Thanks in advance.
__________________________________________________
想即時收到新信通知?
馬上下載Yahoo!奇摩即時通訊
http://messenger.yahoo.com.tw/
-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server.
Download it for free - -and be entered to win a 42" plasma tv or your very
own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users