Page 2 of 2

Re: NLS log file forwarding

Posted: Wed Jun 17, 2020 11:58 am
by gormank
I guess the original question remains... How does Nagios recommend forwarding log files with wildcards in the name on RHEL 6.x?

Re: NLS log file forwarding

Posted: Wed Jun 17, 2020 4:11 pm
by cdienger
Per https://www.rsyslog.com/doc/v8-stable/c ... #wildcards wildcards are supported starting in rsyslog 8.25. It doesn't appear that a newer package is available for RHEL 6.x and Red Hat recommends moving to RHEL 7 - https://access.redhat.com/solutions/434063. Migrating the OS isn't always feasible so in that case I would recommend a source install of a newer rsyslog with wildcard support.

Re: NLS log file forwarding

Posted: Wed Jun 17, 2020 4:40 pm
by gormank
Ah, somehow I got the idea that wildcards were ok in filenames, but not paths, which is incorrect. I'll keep using multiple filenames until I can get a newer version.
Thanks

Re: NLS log file forwarding

Posted: Thu Jun 18, 2020 8:00 am
by scottwilkerson
gormank wrote:Ah, somehow I got the idea that wildcards were ok in filenames, but not paths, which is incorrect. I'll keep using multiple filenames until I can get a newer version.
Thanks
Sounds good

Locking thread