Re: snmpwalk from root does not reach subagent

Bill Fenner <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <CAF4SogaArq-naGjKsXyx+1p0YrcNBLs+HnAH3WLER_XPXbk8sQ@mail.gmail.com>
On Fri, Jun 28, 2013 at 5:10 PM, Robson, Alan <[email protected]>wrote:

>  Hi all,****
>
> ** **
>
> This seems like such a basic thing, so I apologize if I’ve missed a
> previous response.****
>
> ** **
>
> I’ve successfully implemented a subagent for my custom MIB. I can snmpwalk
> it if I specify a suitable starting point in my custom MIB, I can snmpget
> objects etc. It all works just fine. ****
>
> ** **
>
> However if I snmpwalk the host without specifying an OID that is in my
> custom MIB as a starting point, I get lots of responses for the standard
> SNMP-V2 MIB objects that the agent (running on linux) supports like
>  sysuptime etc. But the snmpwalk never traverses all the way to my part of
> the MIB tree. It’s as if it needs some kind of bridge to get to the custom
> part of the MIB or perhaps the agent considers the parts of the MIB tree in
> the wrong order so that the numbers don’t increase monotonically as it goes
> from branch to branch in the tree.****
>
> ** **
>
> Is there some trick I’m missing to get the agent to allow snmpwalk to see
> the whole tree, including what’s served up by my new subagent ?
>

The most common "snmpwalk doesn't see _" problem is that the default
snmpwalk behavior is to walk just mib-2, not all objects in the system.
 Try "snmpwalk ... .1".

  Bill


>
> ------------------------------------------------------------------------------
> This SF.net email is sponsored by Windows:
>
> Build for Windows Store.
>
> http://p.sf.net/sfu/windows-dev2dev
> _______________________________________________
> 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
>
>

------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev

_______________________________________________
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.