- Access exclusive content
- Connect with peers
- Share your expertise
- Find support resources
Enhanced Security Measures in Place: To ensure a safer experience, we’ve implemented additional, temporary security measures for all users.
03-30-2021 12:09 PM
I am trying to automate the MONITORING-DEFNITIONS in the AWS Plugin in Panorama. Will the PANOS python library allow me to make updated to the PLUGINs via API?
04-05-2021 05:56 AM
Thanks. I was afraid that was the case. For future reference, I am able to us the API without pandevice as follows to make the updates needed.
https://{{panorama}}/api?key={{key}}&type=config&action=set&xpath=/config/devices/entry[@name='localhost.localdomain']/plugins/aws/monitoring-definition&element=<entry name={my_name}><vpc-ids><member>{my_vpc}</member></vpc-ids><role-arn>arn:aws:iam::{my_account}:role/panorama</role-arn><iam-role>{my_role}</iam-role><description>{my_description}</description><endpoint-url>{my_aws_endpoint_url}</endpoint-url><notify-group>{my_device_group}</notify-group><enable>{my_enable_flag}</enable></entry>
--Thanks, Bobby
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!