Bluehost.com Web Hosting $6.95

net-snmp Sub-Agent Demon tutorial problen

This is a discussion on net-snmp Sub-Agent Demon tutorial problen within the SNMP Users forums, part of the Networking and Network Related category; Hi ALL, According to tutorial,I executd the net-snmp-config --compile-subagent mysubagent nstAgentSubagentObject.c and generated the executable ...


Go Back   Usenet Forums > Networking and Network Related > SNMP Users

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 09-22-2005
Earnest Pan
 
Posts: n/a
Default net-snmp Sub-Agent Demon tutorial problen

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
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/...net-snmp-users
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT +1. The time now is 09:57 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0