Technical Forum
Ask questions. Discover Answers.
cancel
Showing results for 
Search instead for 
Did you mean: 
Custom Alert Banner

Alert for config sycn change pending via automation bash script

BB16
Nimbostratus
Nimbostratus

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.

2 REPLIES 2

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

 

Regards,
Dario.

Srj73
Altostratus
Altostratus

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.