This is a feature request to be able to include additional configuration files in the cxs.ignore file.
The reason for this is so that we can manage 'cxs.ignore' with Puppet for example, but then include a file such as 'cxs.ignore.custom' for a per server customisable configuration.
You have this feature in CSF for csf.allow which is very useful there, I think it would add value to cxswatch as well.
Kind regards,
Paul.
Include files for multiple cxs.ignore
-
- Junior Member
- Posts: 8
- Joined: 16 Dec 2013, 00:36
- Location: Sydney, Australia
-
- Moderator
- Posts: 1524
- Joined: 01 Oct 2008, 09:24
Re: Include files for multiple cxs.ignore
We will add this for ignore and xtra files in the next release.
-
- Junior Member
- Posts: 8
- Joined: 16 Dec 2013, 00:36
- Location: Sydney, Australia
Re: Include files for multiple cxs.ignore
Fantastic, many thanks and looking forward to it!
Kind regards,
Paul.
Kind regards,
Paul.
-
- Moderator
- Posts: 1524
- Joined: 01 Oct 2008, 09:24
Re: Include files for multiple cxs.ignore
It is now available in v5.07:
http://blog.configserver.com/
http://blog.configserver.com/
-
- Junior Member
- Posts: 8
- Joined: 16 Dec 2013, 00:36
- Location: Sydney, Australia
Re: Include files for multiple cxs.ignore
That is brilliant! Thank you very much!!!
-
- Junior Member
- Posts: 8
- Joined: 16 Dec 2013, 00:36
- Location: Sydney, Australia
Re: Include files for multiple cxs.ignore
I noticed in your blog post you mentioned:
cxs is already at the latest version: v5.07
cxs daily fingerprint database up to date
Kind regards,
Paul.
If I edit cxs.ignore, I get this line in the log:If cxswatch is running then it will also watch the included files for changes and reload if necessary
Inside cxs.ignore, I have added this line at the end of the file:Nov 25 15:20:06 cpanel-dev cxswatch[609106]: Reloading ignore file [/etc/cxs/cxs.ignore]
If I edit that file which is included, there is no line added to the log to say cxswatch has reloaded the ignore file.## Customisable ignore list per server
Include /etc/cxs/cxs.ignore.custom
cxs is already at the latest version: v5.07
cxs daily fingerprint database up to date
Kind regards,
Paul.
-
- Moderator
- Posts: 1524
- Joined: 01 Oct 2008, 09:24
Re: Include files for multiple cxs.ignore
If you add an Include line to an ignore file you will need to restart cxs watch for it to start monitoring that file. cxs watch only logs that the main ignore file is updated whether it is the main file or any Include files that are then modified.