> 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 u
Dave Shield wrote:
Having (visible) command-line arguments ignored because
of (invisible) config settings is Just Plain Wrong.
At the very least, this should issue a warning.
I tend to concur.
+Thomas
--
Thomas Anders (thomas.anders at blue-cable.de)
---
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
> 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
>> specif
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
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
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 first
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 wit
> -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.
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
10 matches
Mail list logo