Enhanced Security Measures in Place:   To ensure a safer experience, we’ve implemented additional, temporary security measures for all users.

Is it possible to monitor PBF rule status via SNMP?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements

Is it possible to monitor PBF rule status via SNMP?

L2 Linker

Hi-

 

Is there a way I can get our PA-220 to alert our SNMP monitoring system when a Policy Based Forwarding rule fails/activates?

 

I've set up SNMP on the firewall, added a device entry in our PRTG monitoring system, and set PRTG to automatically detect the device. It has discovered about 40 sensors, but I can't see any that relates to PBF.

 

We have a problem with a PBF rule failing, and I would like our monitoring screen to display whether this PBF rule is active or not.

 

Thanks,

 

T

4 REPLIES 4

Cyber Elite
Cyber Elite

@TomMeadows,

I'm fairly certain this is not supported in the MIB. 

Does anyone know if there is  any other way in the Palo Alto world to signal PBF rule status?

 

Thanks 

I used a combination of two new 8.0 features: filtered log forwarding and http log action. Any time there is a PBF status change, my firewall drops a message in a Slack channel.

You can access it via the CLI:  show pbf rule name <your-PBF-Policy-name>

 

You can script that using SSH connections with password-less keys.  Just run it every X minutes and compare the "Rule State" line between runs.

 

Unfortunately, it will fill your logs with login/logout entries.  😞

 

Would be really nice if this could be polled via SNMP, or configured as an SNMP trap, or some other more automated way.

  • 2861 Views
  • 4 replies
  • 0 Likes
Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

Click Accept as Solution to acknowledge that the answer to your question has been provided.

The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!

These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!

The LIVEcommunity thanks you for your participation!