On 31/05/07, Need Help <[EMAIL PROTECTED]> wrote:
> 2) I started the master agent by executing the following:
>
>   /export/home/myname/snmp/usr/local/sbin/snmpd -f -L
>     -Dread_config -M localhost &

   "-M localhost"  means  "look in the directory 'localhost' for MIB files"



> Question:
> 1) Why are the MIB errors produced when starting the master agent?

Because you've told it to look in the directory 'localhost'
This command-line option overrides any config file settings.


> 2) Why must I set the MIBS environment variable at all if the "snmp.conf"
> file indicates which MIBS should be included?
>
> PS:  Just to be complete I wanted to indicate that I am using the "snmpwalk"
> command which comes with NetSNMP to execute the walk request:
>
> /export/home/myname/snmp/usr/local/bin/snmpwalk -v1 -c
> mycommunity_ro localhost ocStbHostAVInterfaceTable


Try adding '-Dread_config' to this snmpwalk command.
Is it reading the expected snmp.conf file?



Dave

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to