Regarding REST API feasibility

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

Regarding REST API feasibility

L0 Member

There is a requirement to check the REST API feasibility for the below parameters. Logs will be sent to Monitoring tool through REST API.

 

Could anyone please help on this? Can we achieve below parameters through REST API?

 

  1. CPS
  2. CPU Utilization Dataplane
  3. CPU Utilization mgmt. plane
  4. Global server health
  5. Operational mode
  6. Packet buffer status
  7. Session Active SSL Proxy
  8. Session SSL proxy utilization
  9. Swap status
  10. Vsys Status
  11. Zones health
1 REPLY 1

Cyber Elite
Cyber Elite

Hi @Kunal_Tomar ,

 

If you know the CLI commands to view the info, then you can view the information via the XML API.  You can navigate the XML API interface by browsing to /api after your NGFW IP or DNS name.

 

You mentioned REST API in your post.  There is a link to the REST API on the XML API page described above.  PANW uses REST (like many vendors) only for configuration changes.  So, technically, you would use the XML API to get your info.

 

Typically monitoring tools use SNMP to collect the info you described.  If you can't get it via API, then you could look into SNMP.

 

Thanks,

 

Tom

Help the community: Like helpful comments and mark solutions.
  • 972 Views
  • 1 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!