Closed ky4k0b closed 7 years ago
Hi, thank you for using slacktee!
I'm not familiar with rsyslog but I'm assuming it is running as its own user on your system and slacktee couldn't find the configuration file correctly.
Could you try to copy your .slacktee
from your home directory to /etc
and rename it to slacktee.conf
? If you don't like to use the host-wide configuration file, please try to copy .slacktee
to rsyslog user's home directory.
If you don't like both of them, you can specify your configration file by using --config
option (e.g. /root/slacktee-master/slacktee.sh --config /root/.slacktee
)
I'm closing this issue, but please feel free to let me know if you have any other questions!
Thanks! The trick worked.
Awesome! I'm glad to hear that, ky4k0b! Thank you for the update.
in rsyslog.conf I have the following
:msg, contains, "NODFLT001" ^/root/slacktee-master/slacktee.sh
when the event with NODFLT appears nothing is sent to slack