summaryrefslogtreecommitdiff
path: root/net-mgmt/net-snmp/pkg-message
blob: 4a213e367a42a88948ff857c67d027baffc22fd5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
**** 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.

	snmpd_enable="YES"
	snmpd_flags="-a -p /var/run/snmpd.pid"
	snmptrapd_enable="YES"
	snmptrapd_flags="-a -p /var/run/snmptrapd.pid"

**** You may specify the following make variables:

	NET_SNMP_SYS_CONTACT="kuriyama@FreeBSD.org"
	NET_SNMP_SYS_LOCATION="Tokyo, Japan"
	DEFAULT_SNMP_VERSION=3
	NET_SNMP_MIB_MODULES="host smux mibII/mta_sendmail ucd-snmp/diskio"
	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
     configuration process.  You may also set

	BATCH="yes"

     to avoid interactive configuration.