You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently the only way to tell swatchdog which file(s) to tail is using the --tail-file command line argument.
This means that when used in combination with startup scripts, those have to be hardcoded.
I would be nice to have swatchdog accept a single argument of a configuration file, where all of this is configured.
Perhaps a new item tailfile or something like that:
tailfile /var/log/mail.log
watchfor /^blahblah.*blah$/
[email protected], subject="Blah found"
tailfile /var/log/auth.log
watchfor /Invalid user/
mail [email protected], subject="Invalid user sign-in attempt"
I'm sure there would be more to it than this...
The text was updated successfully, but these errors were encountered:
Currently the only way to tell swatchdog which file(s) to tail is using the
--tail-file
command line argument.This means that when used in combination with startup scripts, those have to be hardcoded.
I would be nice to have swatchdog accept a single argument of a configuration file, where all of this is configured.
Perhaps a new item
tailfile
or something like that:I'm sure there would be more to it than this...
The text was updated successfully, but these errors were encountered: