The Filetransfer appliance doesn't support SNMP monitoring in the base install, and it's not possible to monitor any Filetransfer appliance specific details (like number of sent files). You can enable basic SNMP monitoring that covers basic system functions though.
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
The Filetransfer appliance uses the builtin OpenBSD pf firewall. You will need to enable snmp in the firewall by adding a line similar to this:
pass in proto udp from { 1.2.3.4 2.3.4.5 } to any port 161
at the bottom of the firewall configuration file '/etc/pf.conf'. 1.2.3.4 and 2.3.4.5 are your system management servers in this case. Please reload with:
pfctl -f /etc/pf.conf