On 21/12/2007, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> fyi, the conf file pasted earlier is one that a coworker devised on AIX
> using the snnpconf. However, interestingly, when I use the following
> snmpd.conf that I generated myself on Solaris, the 'snmpget -c ....'
> works fine.

Using which community?  "public" or "private"?

Because I wouldn't expect the entry
   rocommunity  public  .1.3.6.1.2.1.1
to work (since it's missing the network source field, which
should come before the OID)


>     Also, following the 'good' snmpd.conf file, Dave you will
> see the output from the snmpd -f -Le -Dread_config -d' using the
> snmpd.conf file that my coworker generated.

Hmmm....
That output looks OK at first sight.

Do you see the packet dump output when you make the query?


Can you confirm that the two "snmpget" requests are
effectively identical (run from the same host, with exactly
the same parameters, apart from the community string)?
i.e.
     /opt/emc/dist/local/usr/bin/snmpget -v 1 -c private
           localhost  SNMPv2-MIB::sysUpTime.0
(with the working config)
and
     /opt/emc/dist/local/usr/bin/snmpget -v 1 -c whatever
           localhost  SNMPv2-MIB::sysUpTime.0
(with the broken config)


How are you starting the two agents?
What's the exact command you use in each case?

Dave

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
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

Reply via email to