Re: SNMPCONFPATH

"Dave Shield" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
2008/5/20 Raghavendra Prasad <[email protected]>:
> I have set an environment variable as follows
>
> export SNMPCONFPATH=/home/auto/projects/cdspr/sw/snmp/sbin/config


>
> The snmp.conf contains the following directives
>
> mibdirs +/home/auto/projects/cdspr/sw/snmp/mibs
> mibs +SNMPv2-SMI
> mibs +XM-RADIO-MIB
> mibs +XM-RADIO-REPEATER-MIB
> -------------------


> When I run the following command
>
> snmpwalk -c private -v2c  -Oe localhost xmRadio
>
> It throws "xmRadio: Unknown Object Identifier

Two things to check:
   a)  is the command finding your config files?
   b)  is the command finding your MIB files?


To check the first, try running
        snmpwalk -Dread_config .....
The output will tell you where it's looking for snmp.conf files.

To check the first, try running
        snmpwalk -Dparse-mibs .....
The output will tell you where it's looking for MIB files.

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
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.