Forum Discussion
Alert for config sycn change pending via automation bash script
Hi All, Hope doing well
In my dev enviroment with huge team size, certain changes happen in config & F5 goes to change pending state.
I need a bash scritp, in whic once box goes to change pending state I shal receive alert that F5 went to change pending state. Could someone please guide & throw some light.
Thank you.
Hello BB16.
If you are logging messages for MCP/GUI/tmsh daemons, you will see entries in /var/log/audit when a new configuration change occurs.
F5 allows you to send alerts when a specific log message happens. See next articles:
https://support.f5.com/csp/article/K3727
https://support.f5.com/csp/article/K15288
https://support.f5.com/csp/article/K51341580
https://support.f5.com/csp/article/K3667
https://support.f5.com/csp/article/K59616664
- Srj73Altostratus
Hi, I have used the python script to get the sync status of the devices. Then futher based on requirement you can do anything.
- You can use python script and use this "/mgmt/tm/cm/sync-status" uri and then use nested dictionary to get the sync status.
Recent Discussions
Related Content
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com