Forum Discussion
Getting the last LTM configuration change time
I'm implementing an application using iControl to manage F5 LTM configurations. I need the last LTM configuration change time. How can I get the configuration apply/save time and changed category(GTM, LTM...).
If this is impossible in iControl way, can I find the information directly on the BIGIP?
4 Replies
- hoolio
Cirrostratus
Hi,
I don't think you can easily separate GTM or other module configuration change timestamps from LTM changes. But there's a DB key you can use to track the total configuration's last change:
Configsync.LocalConfigTime
You can use the Management::DBVariable interface to get this DB key value:
https://devcentral.f5.com/wiki/iControl.Management__DBVariable.ashx
Aaron - ykkim
Nimbostratus
Aaron.
Thanks a lot.
I've retrieved the DB variable successfully. Maybe the value is better. Configsync.LocalConfigTime includes LTM change time and System configuration change time.
And I'm glad to learn that F5's API can access DB variables.
Kim. - ykkim
Nimbostratus
Aaron.
Thanks a lot.
I've retrieved the DB variable successfully. Maybe the value is better. Configsync.LocalConfigTime includes LTM change time and System configuration change time.
And I'm glad to learn that F5's API can access DB variables.
Kim. - Mohamed_Lrhazi
Altocumulus
I have the same need... How to get the time the configuration last changed?
I am trying this, but the returned value does not seem to be correct.. is Configsync.LocalConfigTime really what I need here?
In [44]: datetime.fromtimestamp(int(bigip.Management.DBVariable.query(['Configsync.LocalConfigTime'])[0]['value'])).ctime()
Out[44]: 'Sat Nov 3 12:20:18 2012'
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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