To set up the SNMP servers, perform the following subtasks:
Add the SNMP servers
Configure the SNMP servers
Go to CLI configuration mode:
hostname > enablehostname # configure terminalEnable SNMP notifications:
hostname (config) # fenotify snmp enableSpecify the name of the SNMP server (for example, NX7400) for SNMP notifications:
hostname (config) # fenotify snmp trap-sink <sink_name>Specify which servers will receive SNMP notifications (one server per command):
hostname (config) # fenotify snmp trap-sink <sink_name> enableSpecify the IP address or DNS address of the SNMP server to receive the notifications:
hostname (config) # fenotify snmp trap-sink <sink_name> address <ip address>Save the configuration.
hostname (config) # write memory
Go to CLI configuration mode:
hostname > enablehostname # configure terminalEnable SNMP notifications:
hostname (config) # fenotify snmp enableSpecify the SNMP community string
hostname (config) # fenotify snmp trap-sink <sink_name> community <community_name>Specify the SNMP version used for notifications:
To use SNMP version 1, enter:
hostname (config) # fenotify snmp trap-sink <sink_name> version 1
To use SNMP version 2c, enter:
hostname (config) # fenotify snmp trap-sink <sink_name> version 2c
Specify the delivery frequency for SNMP notifications:
Note
Trellix recommends using
per-eventnotifications.To receive a daily notification for each entity that was the source of the event, enter:
hostname (config) # fenotify snmp trap-sink <sink_name> prefer message delivery daily-per-sourceTo receive an hourly notification for each entity that was the source of the event, enter:
hostname (config) # fenotify snmp trap-sink <sink_name> prefer message delivery hourly-per-sourceTo receive a notification every minute for each entity that was the source of the event, enter:
hostname (config) # fenotify snmp trap-sink <sink_name> prefer message delivery per-1min-per-sourceTo receive a notification every 5 minutes for each entity that was the source of the event, enter:
hostname (config) # fenotify snmp trap-sink <sink_name> prefer message delivery per-5min-per-sourceTo receive information about each event, sent when the event is triggered, enter:
hostname (config) # fenotify snmp trap-sink <sink_name> prefer message delivery per-event
Select the event type:
hostname (config) # fenotify snmp trap-sink <sink_name> prefer notification all-eventshostname (config) # fenotify snmp trap-sink <sink_name> prefer notification domain-matchhostname (config) # fenotify snmp trap-sink <sink_name> prefer notification infection-matchhostname (config) # fenotify snmp trap-sink <sink_name> prefer notification ips-eventhostname (config) # fenotify snmp trap-sink <sink_name> prefer notification malware-callbackhostname (config) # fenotify snmp trap-sink <sink_name> prefer notification malware-objecthostname (config) # fenotify snmp trap-sink <sink_name> prefer notification web-infectionSave the configuration:
hostname (config) # write memory