2004-03-10 14:40:41 +01:00
|
|
|
**** This port installs snmp daemon, header files and libraries but don't
|
|
|
|
invokes snmpd by default.
|
|
|
|
If you want to invoke snmpd and/or snmptrapd at startup, put these
|
|
|
|
lines into /etc/rc.conf.
|
2002-09-17 04:17:09 +02:00
|
|
|
|
2003-10-31 15:17:06 +01:00
|
|
|
snmpd_enable="YES"
|
2004-11-29 05:08:29 +01:00
|
|
|
snmpd_flags="-a -p /var/run/snmpd.pid"
|
2004-03-10 14:40:41 +01:00
|
|
|
snmptrapd_enable="YES"
|
2004-11-29 05:08:29 +01:00
|
|
|
snmptrapd_flags="-a -p /var/run/snmptrapd.pid"
|
2002-09-17 04:17:09 +02:00
|
|
|
|
2004-03-10 14:40:41 +01:00
|
|
|
**** You may specify the following make variables:
|
2002-09-17 04:17:09 +02:00
|
|
|
|
|
|
|
NET_SNMP_SYS_CONTACT="kuriyama@FreeBSD.org"
|
|
|
|
NET_SNMP_SYS_LOCATION="Tokyo, Japan"
|
|
|
|
DEFAULT_SNMP_VERSION=3
|
2004-03-10 14:40:41 +01:00
|
|
|
NET_SNMP_MIB_MODULES="host smux mibII/mta_sendmail ucd-snmp/diskio"
|
2002-09-17 04:17:09 +02:00
|
|
|
NET_SNMP_LOGFILE=/var/log/snmpd.log
|
|
|
|
NET_SNMP_PERSISTENTDIR=/var/net-snmp
|
|
|
|
|
|
|
|
to define default values (or overwriting defaults). At least
|
|
|
|
setting first two variables, you will not be prompted during
|
2004-03-10 14:40:41 +01:00
|
|
|
configuration process. You may also set
|
2002-09-17 04:17:09 +02:00
|
|
|
|
|
|
|
BATCH="yes"
|
|
|
|
|
2004-03-10 14:40:41 +01:00
|
|
|
to avoid interactive configuration.
|