02-05-2015 11:47 PM - edited 03-01-2019 06:03 AM
The following technote is written against Application Policy Infrastructure Controller
Version: 1.0(2m). The following information may not apply to earlier or later versions of Application Policy Infrastructure Controller firmware versions.
Table of Contents for this Technote on SYSLOG configuration for the ACI fabric.
Note: this is a text representation of the topics discussed in the attached documents for SYSLOG configuration. Attached is a PDF file with the complete Technote information.
Chapter 1 - Introduction
Chapter 2 - Configure Syslog Policy for the ACI Fabric
Chapter 3 - Troubleshooting Syslog Policy for the ACI Fabric
Chapter 4 - Reference Material
Verify configuration of Syslog on APIC Controllers.
CLI Commands
Visore
REST API
Verify configuration of Syslog on Leaf\Spine Switches.
CLI Commands
Attached: aci-buzzfeednews-syslog.pdf
Hello
useful document ;
we would like to generate Syslog messages from Contracts ;
there is an existing Log option on Filters associated to Taboo Contracts and you can see Log option exists only on the deny rules via the show zoning-rule from a Leaf;
This Log option is now available on permit filters for ACI 2.x (NXOS 12.x) ;
Question is to know if this Log option on filters can generate Syslog messages sent to Syslog servers or not ?
After you have created the ACI Fabric's SYSLOG Source in the Fabric Policies "Monitoring Sources" for Fabric Policies - COMMON, configure the SYSLOG SYSTEM MESSAGES POLICY in the COMMON POLICY. The task for this step is to configure th “Facility Filter” for the “default” facility. Changing the Severity to “information” will record %ACLLOG-5-ACLLOG_PKTLOG messages in Syslog.
From the APIC, You can verify the configuration with:
moquery -c syslogGroup
moquery -c syslogRemoteDest
moquery -c syslogProf
moquery -c syslogRtDestGroup
moquery -c syslogSrc
moquery -c syslogFacilityFilter | grep -E "facility|minSev|monPolDn" | grep -A 2 default
or
In later releases of ACI, you can run the CLI commands:
show running syslog
show running logging server-group deadbeef-syslogGrp
ON THE LEAF NODES, you can check the logging levels:
leaf# vsh -c "show logging level acllog"
leaf# cd /var/log/dme/log
leaf# zgrep -E "ACLLOG-5-ACLLOG_PKTLOG" svc_ifc_eventmgr.log*
Cheers!
T.
Hi Thomas,
Could you explain why the Fabric Syslog Sources need to be configured twice :
- in the DEFAULT
- and also in COMMON monitoring policies
in the Fabric Policies configuration ?
Thank you
Ju
Ju,
Please look at the updated document here:
https://supportforums.cisco.com/document/13181881/technote-syslog-aci-fabric
I explain the differences with the Syslog sources in the latest documents.
Please let me know if you need more explanation after reviewing the latest document.
T.
Thank you Thomas.
Now it's clear.
Ju
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: