I am already using all the following configure flags:
    --with-default-snmp-version=3\
    [email protected]\
    --with-sys-location=\
    --with-logfile=/var/log/snmp/log/\
    --with-persistent-directory=/data/etc/snmp/snmp_persist/\
And still see "press return to continue" prompt.

Do I still need to add "--with-defaults"?
What are the consequences of adding it?

Thank you,
Naama


-----Original Message-----
From: [email protected] [mailto:[email protected]] On
Behalf Of Dave Shield
Sent: Wednesday, July 20, 2011 11:44 AM
To: Naama Bar Menachem
Cc: [email protected]
Subject: Re: Avoid pressing 'Enter' when compiling net-snmp

On 20 July 2011 09:12, Naama Bar Menachem
<[email protected]> wrote:
> When compiling snmpd, in "configuration section" there are many prompt
that
> requires user's actions.

There are five such user-prompted settings:
   - the default version of SNMP to use
   - the system contact
   - the system location
   - the default location of the logfile
   - the default location for persistent storage

Five is not really "many"


> Is there a way of avoiding such prompt? How to avoid the need to press
Enter?

   $ ./configure --help | grep defaults
  --with-defaults         Use defaults for prompted values.

You may also want to use
  --with-logfile="location"
  --with-persistent-directory="directory"
  --with-sys-contact="who@where"
  --with-sys-location="location"
  --with-default-snmp-version="3"

Dave

------------------------------------------------------------------------------
10 Tips for Better Web Security
Learn 10 ways to better secure your business today. Topics covered include:
Web security, SSL, hacker attacks & Denial of Service (DoS), private keys,
security Microsoft Exchange, secure Instant Messaging, and much more.
http://www.accelacomm.com/jaw/sfnl/114/51426210/
_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

Reply via email to