>>>>> On Thu, 10 Nov 2005 09:17:05 +0000, Dave Shield <[EMAIL PROTECTED]> said:

>> The output formatting options that I specify on the command line do
>> not appear to override the options found in my ~/.snmp/snmp.conf
>> file.....   if I remove oidOutputFormat from my snmp.conf file and
>> specify both -Of and -Os on the command-line, the "last" option always
>> takes precedence.  Shouldn't this also apply to options read from the
>> snmp.conf file?

Dave> That certainly sounds like a bug to me.

Sadly, it's not a bug.

It's a feature!!!

It's a long standing issue.  precedence for net-snmp, which is quite
unique to our package, is in order (1 being trumped by 2):

1) short command line arguments
2) config files
3) long command line arguments (which are config file tokens prefixed
   by --).

IE, add --oidOutputFormat=WHATEVER to your command line and you'll
find it overrides the config file.

-- 
Wes Hardaker
Sparta, Inc.


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

Reply via email to