Re: net-snmp Sub-Agent Demon tutorial problen
Robert Story <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Organization | Net-SNMP |
| Message-ID | <20050923110945.1b85cf1b@aud> |
On Wed, 21 Sep 2005 13:48:59 +0800 (CST) Earnest wrote:
EP> According to tutorial,I executd the
EP> net-snmp-config --compile-subagent mysubagent
EP> nstAgentSubagentObject.c
EP> and generated the executable file,mysubagent.
EP> I executed ./mysubagent & as root
EP>
EP> When I used the snmpget command as following,
EP> snmpget -v2c -c public localhost
EP> nstAgentSubagentObject.0
Are you sure it isn't access control? Can you see objects in the enterprises
branch?
Also, try running the master agent in the foreground with debugging, to see if
it is talking to the subagent:
snmpd -f -Lo -Dagentx
--
NOTE: messages sent directly to me, instead of the lists, will be deleted
unless they are requests for paid consulting services.
Robert Story; NET-SNMP Junkie
Support: <http://www.net-snmp.org/> <irc://irc.freenode.net/#net-snmp>
Archive: <http://sourceforge.net/mailarchive/forum.php?forum=net-snmp-users>
You are lost in a twisty maze of little standards, all different.
-------------------------------------------------------
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