On 23 Nov 2005, at 16:36, Ian Chard wrote:

Ton Voon wrote:

On 23 Nov 2005, at 16:23, Ian Chard wrote:

Is there any way to coax the CGIs, specifically when you set downtimes,
so that they use the British date format (DD/MM/YYYY)?


Check nagios.cfg for the line:

date_format=euro

Hmm, at the moment I have "date_format=iso8601", but I still get
dates of the form "11/23/2005" when I go to set downtime.  AIUI
iso8601 should give YYYY-MM-DD format.


Looks like the cmd.cgi does not respect the date_format setting. Try this patch:

Attachment: downtime.patch
Description: Binary data


Works for me, though I notice that the scheduled downtime comments do not respect the date_format parameter either.

Ton

http://www.altinity.com
T: +44 (0)870 787 9243
F: +44 (0)845 280 1725
Skype: tonvoon


Reply via email to