Skip to main content
NetApp Knowledge Base

Event logs are not received by the Syslog server because event filter is not added to syslog destination

Views:
500
Visibility:
Public
Votes:
0
Category:
ontap-9
Specialty:
CORE
Last Updated:

Applies to

  • ONTAP 9
  • Syslog

Issue

  • The logs are not received at the Syslog server when the event is generated.
  • The connection from the node and Syslog server is verified to be as expected.
  • Syslog server is configured as a destination for forwarding event logs:

Cluster::> event notification destination show
Name            Type        Destination
--------------  ----------  ---------------------
Syslog-server   syslog      10.20.30.40
snmp-traphost   snmp        - (from "system snmp traphost")

  • A new event filter is configured for forwarding specific events to the Syslog server:

Cluster::> event filter show
Filter Name Rule     Rule      Message Name           SNMP Trap Type  Severity
            Position Type
----------- -------- --------- ---------------------- --------------- --------
syslog-events
            1        include   *                      Severity-based  *
            2        include   *                      Built-in        INFORMATIONAL
            3        include   *                      *               INFORMATIONAL
            4        exclude   *                      *               *

  • The test events generated are not triggered on the node as well:

Cluster::> set diag
Cluster::*> event generate -node Node-01 -message-name wafl.vol.offline -values test,test1,test2,test3,test4

Cluster::*> event notification history show -destination Syslog-server
There are no entries matching your query.

Sign in to view the entire content of this KB article.

New to NetApp?

Learn more about our award-winning Support

NetApp provides no representations or warranties regarding the accuracy or reliability or serviceability of any information or recommendations provided in this publication or with respect to any results that may be obtained by the use of the information or observance of any recommendations provided herein. The information in this document is distributed AS IS and the use of this information or the implementation of any recommendations or techniques herein is a customer's responsibility and depends on the customer's ability to evaluate and integrate them into the customer's operational environment. This document and the information contained herein may be used solely in connection with the NetApp products discussed in this document.