How can I change the date format

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
User avatar
Box293
Too Basu
Posts: 5126
Joined: Sun Feb 07, 2010 10:55 pm
Location: Deniliquin, Australia
Contact:

How can I change the date format

Post by Box293 »

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?
Scheduled Downtime Date Format.png
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.
mguthrie
Posts: 4380
Joined: Mon Jun 14, 2010 10:21 am

Re: How can I change the date format

Post by mguthrie »

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
User avatar
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

Post by Box293 »

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.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
rdedon
Posts: 578
Joined: Sat Nov 20, 2010 4:51 pm

Re: How can I change the date format

Post by rdedon »

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.
Good point and I agree that this would be a very nice little feature to add.
Rene deDon
Technical Team
___
Nagios Enterprises, LLC
Web: http://www.nagios.com
Locked