How to read the logging rate from Panorama/Log Collector using snmpwalk or snmpget utility
7168
Created On 11/11/21 09:14 AM - Last Modified 01/13/22 04:00 AM
Objective
Read out logging rate from Panorama/Log Collector using snmp (snmpwalk or snmpget) utility.
Environment
- Panorama in Panorama or Log Collector mode,
- Any PAN-OS
- A client with SNMP utility installed.
Procedure
- Panorama would first need to be configured to allow Simple Network Management Protocol (SNMP) requests by allowing SNMP service on the management interface (under GUI: Setup >Interfaces > Management):
- User should then make sure that SNMP service is configured properly (under GUI: Setup > Operations >SNMP Setup):
- Finally, from the host machine (which has snmp utility installed) one of the following command:
snmpget -v 2c -c public <panorama/lc ip> .1.3.6.1.4.1.25461.2.3.30.1.1.0
snmpwalk -v 2c -c public <panorama/lc ip> .1.3.6.1.4.1.25461.2.3.30.1.1.0
- Resulting output should look like this (where number 3465 is a log per second rate):
SNMPv2-SMI::enterprises.25461.2.3.30.1.1.0 = Gauge32: 3465