Re: snmpwalk --no response when issued to sub-agent through master-agent
"Pranesh Kulkarni" <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <[email protected]> |
On Feb 11, 2008 4:49 PM, Dave Shield <[email protected]> wrote: > On 11/02/2008, Pranesh Kulkarni <[email protected]> wrote: > > > Does it successfully register the table with the master agent > > NET-SNMP version 5.4.1 AgentX subagent connected , > > That's not what I asked. How to know wheter it is successfully registered with master agent ?? > > > > > > > What if you query a single value from the master agent: > > > > > > snmpget -v 2c -c public localhost sysUpTime.0 > > Timeout: No Response from localhost. > > Then the problem is nothing to do with the subagent. > The master agent isn't configured to accept queries with the > community "public", so it won't ever pass the request off to > your subagent. > > Remember that it's the *master* agent which looks after > access control - not the subagent. --- Now I will look into snmpd.conf If I compile with mib2c -c mib2c.mfd.conf , The generated code will be subagent ... Correct me if I am wrong . and then running as, ./simpleTable -f -L -x "tcp:localhost:7058" -- So this will be subagent and the /usr/local/sbin/snmpd will be master agent Please correct me if I am wrong Thanks, Pranesh > > Dave > ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ 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