To enable SNMP monitoring on the Filetransfer appliance, you have to complete the following steps.
Edit /etc/snmpd.conf with the following changes
read-only community topsecret
an example snmpd.conf file would be
# Specify a number of trap receivers #trap receiver nms.localdomain.local # Adjust the local system information system contact "Filetransfer support (support@example.com)" system description "Filetransfer appliance" system location "Rack A1-24, Room 13" system services 74 read-only community topsecret # Provide static user-defined SNMP OIDs oid 1.3.6.1.4.1.30155.42.3.1 name testStringValue read-only string "Test" oid 1.3.6.1.4.1.30155.42.3.4 name testIntValue read-write integer 1
Start snmp
/usr/sbin/snmpd
Run the following on the command line to start snmpd every time the system starts
echo snmpd_flags="" >> /etc/rc.conf.local
and finally, add the following to the bottom of /etc/pf.conf
pass in proto udp from 10.1.2.3 to any port snmp
replace 10.1.2.3 with the ip address of the snmp management station, and reload with pfctl -f /etc/pf.conf.