--- title: "Configuring event notifications using the CLI" slug: "configuring-event-notifications-using-the-cli-2" updated: 2026-08-25T21:10:34Z published: 2026-08-25T21:18:40Z canonical: "docs.trellix.com/configuring-event-notifications-using-the-cli-2" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.trellix.com/llms.txt > Use this file to discover all available pages before exploring further. # Configuring event notifications using the CLI Prerequisites - The appliance must have an established connection to the Internet. - Operator or Admin access. ### Configuring event notifications Use the CLI commands in this topic to configure event notifications. To configure event notifications using the CLI: ``` hostname > enable ``` ``` hostname # configure terminal ``` 1. Go to CLI configuration mode. 2. Check which protocols are already enabled: `hostname (config) # show fenotify email hostname (config) # show fenotify http hostname (config) # show fenotify rsyslog hostname (config) # show fenotify snmp` 3. Configure the protocols that you want to use: - [Configuring email notifications using the CLI](/docs/configuring-email-notifications-using-the-cli-4) - [Configuring HTTP notifications using the CLI](/docs/configuring-http-notifications-using-the-cli-4) - [Configuring Rsyslog notifications using the CLI](/docs/configuring-rsyslog-notifications-using-the-cli-4) - [Configuring SNMP notifications using the CLI](/docs/configuring-snmp-notifications-using-the-cli-4) 4. Confirm that the protocols are configured correctly: `hostname (config) # show fenotify email` `hostname (config) # show fenotify http` `hostname (config) # show fenotify rsyslog` `hostname (config) # show fenotify snmp` 5. Confirm that the protocols are configured correctly: `hostname (config) # show fenotify email` `hostname (config) # show fenotify http` 6. Enable the notifications. By default, notifications are enabled. This command only affects notifications for enabled protocols. If a protocol has been disabled, you must enable the protocol before enabling notifications. `hostname (config) # fenotify enable` 7. Select the event type: `hostname (config) # fenotify alert domain-match` `hostname (config) # fenotify alert infection-match` `hostname (config) # fenotify alert ips-event` `hostname (config) # fenotify alert malware-callback` `hostname (config) # fenotify alert malware-object` `hostname (config) # fenotify alert web-infection` 8. Send a test email message to all enabled recipients: `hostname (config) # fenotify email send-test` ### Note Test-fire events generated for event notifications disappear from the **Alerts** tab within five minutes. 9. Save the configuration: `hostname (config) # write memory` :