Page 1 of 1

Custom date format

Posted: Sun Dec 20, 2015 3:45 pm
by pavelz
Hi,

I have installed Nagios Core 3.5.1 and want to set up the date format to this pattern: DD.MM.YYYY HH:MM:SS . However the config file nagios.cfg says that the only valid options are: us, euro,iso8601 and strict-iso8601. The option euro (DD-MM-YYYY HH:MM:SS) is the closest but the I would prefer different date part separator.
Is it possible?

Thanks

Pavel

Re: Custom date format

Posted: Mon Dec 21, 2015 12:28 pm
by tmcdonald
You'd need to modify this in source and recompile. Luckily there are only a few areas where this is defined:

https://github.com/NagiosEnterprises/na ... %93&q=euro