Yep stupid mistake ..... the options I was using were specific to the
"specialized MfD agent" which I tested a long time ago. I should not have
used the same options when moving towards executing the "snmpd" master agent.
My "snmpd" command really did not make that much sense.
Think I will simply start the agent as follows instead:
/export/home/rosent1/snmp/usr/local/sbin/snmpd &
Dave Shield <[EMAIL PROTECTED]> wrote: On 31/05/07, Need Help 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
---------------------------------
Need a vacation? Get great deals to amazing places on Yahoo! Travel.
-------------------------------------------------------------------------
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
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders