Consider this a feature request, I guess, since I see no way to do it today.
/usr/local/nagios/var/archives log file name should be definable in nagios.cfg. We want to change it to nagios-YYYY-MM-DD-00.log instead of nagios-MM-DD-YYYY-00.log so it sorts itself according to date during directory and file listings.
Allow name of archived logs to be specified
Allow name of archived logs to be specified
Eric Loyd • http://everwatch.global • 844.240.EVER • @EricLoyd
I'm a Nagios Fanatic! • Join our public Nagios Discord Server!
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Allow name of archived logs to be specified
Would you be willing to post a feature request here?
https://github.com/NagiosEnterprises/nagioscore/issues
https://github.com/NagiosEnterprises/nagioscore/issues
Re: Allow name of archived logs to be specified
Yup.
Eric Loyd • http://everwatch.global • 844.240.EVER • @EricLoyd
I'm a Nagios Fanatic! • Join our public Nagios Discord Server!
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Allow name of archived logs to be specified
thanks. Locking thread