Forum Discussion
martek_58308
Oct 27, 2015Nimbostratus
iControl TimeZone
Hi guys,
I struggled to find how to setup TimeZone using iControl - any help will be appreciated
Regards, Marcin
- Sunny_Aujla_888Nimbostratus
Hi Marcin,
There isn't a way to set the timezone using iControl. I suggest you use another approach to achieve what you're trying to do.
If you're doing this from a script, you can construct the following command into your code and execute it
tmsh modify sys ntp timezone
- martek_58308NimbostratusI found a way using DB variables and iControl
- Brad_ParkerCirrusmartek, did you not try my solution above? You do not need to use DB variables.
- Brad_ParkerCirrus
You would issue something like
to set the time zone to Central time. You just need to update the creds and IP address of you BigIP.curl -k -u admin:admin -H "Content-Type: application/json" -X PUT -d '{"timezone": "America/Chicago"}' https://192.168.1.246/mgmt/tm/sys/ntp
- martek_58308NimbostratusHi guys, Thx for help - just wondering how they could forget about it ? You can read it but can't change it :-) Regards,
- Brad_ParkerCirrusYou can change it. See answer below.
Recent Discussions
Related Content
DevCentral Quicklinks
* 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
Discover DevCentral Connects