cancel
Showing results for 
Search instead for 
Did you mean: 
Create Post
Level 9

Report for Global Protect VPN Usage

Has anyone had any luck writing a report showing global protect VPN usage by users. 

0 Kudos
2 Replies

I got this info from someone else today.

 

I think it is the panGPGWUtilizationActiveTunnels OID.  You can find it in the PAN-COMMON-MIB.my file when you download from Palo Alto -- https://docs.paloaltonetworks.com/resources/snmp-mib-files.html.

 

I was able to take this and come up with with the following iod:  1.3.6.1.4.1.25461.2.1.2.5.1.3  With this I was able to create a universal poller.  I'm running 8.1.x on my PA.

0 Kudos
Level 13

We were able to pull Global Protect User counts through a SAM Linux/Unix Script Monitor. If the info you need is available through the API this method may work for you. We tried using the built in API method but the results pulled are a mix of text and statistics, which isn't (as of yet) supported.

#Count of Prisma VPN Users

#!/bin/bash
uri="https://PANMGMTSERVER/api/?type=op&cmd=<request><plugins><cloud_services><prisma-access><remote-active-users-count></remote-active-users-count></prisma-access></cloud_services></plugins></request>"
stat=`curl -s -k -u s $credential $uri | grep Count | awk -F ">" '{print $7}' | awk -F "<" '{print $1}' | awk '{print $4}'`

echo Statistic.CloudVPNUsers:"$stat"
#echo Message:"$stat"

0 Kudos