How to configure diagnostic settings and monitor configuration differences in Nexus Network Fabric
In this guide, we walk you through the process of setting up diagnostic settings and monitoring configuration differences in Nexus Network Fabric.
Step 1: Accessing device settings in Azure portal
Sign in to the Azure portal.
In Search resources, service, and docs (G+/) at the top of the portal page, enter Network Device.
Select the appropriate network device from the search results. Ensure that you choose the device for which you need to configure diagnostic settings.
Step 2: Adding diagnostic setting
After selecting the appropriate network device, navigate to the monitoring and select diagnostic settings.
After accessing the diagnostic settings section, select "Add diagnostic setting".
Within the diagnostic settings, provide a descriptive name for the diagnostic setting to easily identify its purpose.
In the diagnostic settings, select the desired categories of data that you want to collect for this diagnostic setting.
Step 3: Choosing log destination
Once the diagnostic setting is added, locate the section where the log destination can be specified.
Select the log destination from several choices, including Log Analytics Workspace, Storage account, and Event Hubs.
Note
In our example, we'll push the logs to the Log Analytics Workspace.
To set up the Log Analytics Workspace, if you haven't done so already, you might need to create one. Simply follow the prompts to create a new workspace or select an existing one.
- Once the log destination is configured, confirm the settings and save.
Step 5: Monitoring configuration differences
Navigate to the Log Analytics Workspace where the logs from the network device are being stored.
Within the Log Analytics Workspace, access the query interface or log search functionality.
In the query interface, specify the event category as "MNFSystemSessionHistoryUpdates". This will filter the logs to specifically show configuration updates and changes comprehensively.