When I am scheduling downtime on a host or service the date format is US.
How can I change the date format that is used by Nagios?
How can I change the date format
- Box293
- Too Basu
- Posts: 5126
- Joined: Sun Feb 07, 2010 10:55 pm
- Location: Deniliquin, Australia
- Contact:
How can I change the date format
You do not have the required permissions to view the files attached to this post.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Re: How can I change the date format
You can change this in XI in your Configure->My Account settings, and I'm not sure how affects the Core interface underneath, but I know the config setting is located in the /usr/local/nagios/etc/nagios.cfg file.
date_format=us
Try changing it in XI first, and see if that fixes it, if not here are the options for the nagios.cfg file:
us MM/DD/YYYY HH:MM:SS 06/30/2002 03:15:00
euro DD/MM/YYYY HH:MM:SS 30/06/2002 03:15:00
iso8601 YYYY-MM-DD HH:MM:SS 2002-06-30 03:15:00
strict-iso8601 YYYY-MM-DDTHH:MM:SS 2002-06-30T03:15:00
date_format=us
Try changing it in XI first, and see if that fixes it, if not here are the options for the nagios.cfg file:
us MM/DD/YYYY HH:MM:SS 06/30/2002 03:15:00
euro DD/MM/YYYY HH:MM:SS 30/06/2002 03:15:00
iso8601 YYYY-MM-DD HH:MM:SS 2002-06-30 03:15:00
strict-iso8601 YYYY-MM-DDTHH:MM:SS 2002-06-30T03:15:00
- Box293
- Too Basu
- Posts: 5126
- Joined: Sun Feb 07, 2010 10:55 pm
- Location: Deniliquin, Australia
- Contact:
Re: How can I change the date format
It was the nagios.cfg file that needed updating.
Change was immediate, no reboot or restarting of services required.
This would be a good configuration option to have in the GUI.
Change was immediate, no reboot or restarting of services required.
This would be a good configuration option to have in the GUI.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Re: How can I change the date format
Good point and I agree that this would be a very nice little feature to add.Box293 wrote:It was the nagios.cfg file that needed updating.
Change was immediate, no reboot or restarting of services required.
This would be a good configuration option to have in the GUI.