Command disabled: backlink

SNMP Monitoring

To enable SNMP monitoring on the Filetransfer appliance, you have to complete the following steps.

Edit /etc/snmpd.conf with the following changes

  • Comment out listen on $listen_addr so that snmpd will listen on all interfaces
  • Add a community string read-only community topsecret
  • Edit the system contact information (optionally)

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.

filetransfer/snmp.txt · Last modified: 2009-02-26 06:20 by allard