Re: command line options vs. snmp.conf

2005-11-30 Thread Dave Shield
On Tue, 2005-11-29 at 10:22 -0800, Wes Hardaker wrote: 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

Re: command line options vs. snmp.conf

2005-11-30 Thread Wes Hardaker
On Wed, 30 Nov 2005 10:39:10 +, Dave Shield [EMAIL PROTECTED] said: Dave According to your description above, the config file Dave setting (public) should take precedence over the Dave short command line argument -c private. Dave But it doesn't, and it's right not to. That's unfortunately

Re: command line options vs. snmp.conf

2005-11-29 Thread Wes Hardaker
On Thu, 10 Nov 2005 09:17:05 +, 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

Re: command line options vs. snmp.conf

2005-11-10 Thread Dave Shield
On Fri, 2005-11-04 at 15:25 -0500, Bradford Ritchie wrote: 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

Re: command line options vs. snmp.conf

2005-11-10 Thread Bradford Ritchie
Sure thing. I suppose I should take the time to figure out which options are affected and which (such as -c -v) are not. Thanks. -- BradOn 11/10/05, Dave Shield [EMAIL PROTECTED] wrote: On Fri, 2005-11-04 at 15:25 -0500, Bradford Ritchie wrote: The output formatting options that I specify on the

Re: command line options vs. snmp.conf

2005-11-09 Thread Bradford Ritchie
This is getting pretty frustrating actually the more I use the various commands. The config files should allow me to set my own defaults but shouldn't lock me into those choices. Now I can't get more verbose output unless I comment out or rename my snmp.conf file first. If I were to come up with

Re: command line options vs. snmp.conf

2005-11-09 Thread Thomas Anders
Bradford Ritchie wrote: This is getting pretty frustrating actually the more I use the various commands. The config files should allow me to set my own defaults but shouldn't lock me into those choices. Now I can't get more verbose output unless I comment out or rename my snmp.conf file

RE: command line options vs. snmp.conf

2005-11-07 Thread Marc Wiatrowski
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Bradford Ritchie I can override the version and community string on the command line using -v and -c. But the oidOutputFormat is always used even if I specify -Of on the command line. In

command line options vs. snmp.conf

2005-11-04 Thread Bradford Ritchie
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. Assuming this is the expected behavior, is it really what's intended? I would think that the command line options should have the last say. The documentation