SNMPCONFPATH
"Raghavendra Prasad" <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <[email protected]> |
I have set an environment variable as follows export SNMPCONFPATH=/home/auto/projects/cdspr/sw/snmp/sbin/config I have stored snmp.conf, snmpd.conf and snmptrapd.conf files in directory $SNMPCONFPATH. 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 ------------------- All these MIBS are stored in directory /home/auto/projects/cdspr/sw/snmp/mibs( = mibdirs) When I run the following command snmpwalk -c private -v2c -Oe localhost xmRadio It throws "xmRadio: Unknown Object Identifier (Sub-id not found: (top) -> xmRadio)" What is wrong here?? I went through some of earlier postings and executed "snmpwalk -c private -v2c -Oe localhost xmRadio", it looked for mib files in the folder "/usr/share/snmp/mibs/", but my MIB files are not located there. That is the reason I am using SNMPCONFPATH to override the default search path for MIBs. The code is already in place and compiled(confirmed through snmpwalk over entire localhost), it is just not just finding the MIBs What else could be wrong? With regards, Raghavendra ------------------------------------------------------------------------- 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