...
Code Block |
---|
### Find the desired timezone [root@localhost ~]# timedatectl list-timezones ### Confirm current timezone [root@localhost ~]# date Sat Apr 22 01:05:47 EDT 2017 ### Change to desired timezone [root@localhost ~]# timedatectl set-timezone UTC ### Verify [root@localhost ~]# date Sat Apr 22 05:06:04 UTC 2017 |
OMK Applications
To change the time that OMK applications use to display data, opCommon.nmis needs to be udpated. Any timezone name from one of the following sources may be selected.
- ISO 8601
- Olson Database
- or the name 'local'
Insert a key called 'omkd_display_timezone' in the omkd section. Associate the desired timezone name with it as show below.
Code Block | ||
---|---|---|
| ||
-- snip
'omkd' => {
'load_applications' => [
'Open-AudIT',
'opCharts',
'opEvents',
'opConfig',
'opReports',
'opFlow'
],
'omkd_asset_dir' => '/omk/dist/',
'omkd_display_timezone' => "UTC",
'omkd_asset_minified' => 0,
'omkd_auto_detect_language' => 1,
'omkd_default_language' => 'en',
'omkd_heartbeat_timeout' => 300,
'omkd_inactivity_timeout' => 300,
'omkd_listen_address' => '*',
-- snip |