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
I'm not sure if there is another standard way to redirect output on a system-wide logging level, adding it into the maintenance scripts is possible but it could be the wrong place. If you need it just for one of the services then it needs another configuration option. Also for telegram it would require the external script due to the access token, but this is fine as you say above.
Hello,
I'm not sure if this is the right place to ask, sorry if it's not.
Is there a way to get Telegram notifications? I would like to receive results of my monthly scrubs on it.
I've tried to modify BTRFS_LOG_OUTPUT in /etc/default/btrfsmaintenance like this but it didn't work:
BTRFS_LOG_OUTPUT="curl -s -X POST https://api.telegram.org/bot<MyTelegramToken>/sendMessage -d chat_id=<MyChatID> -d text="TEST NOTIFICATION""
Even if it works, is it possible to have two BTRFS_LOG_OUTPUT entries, one for stdout and one for Telegram? Or is it the wrong way to go anyway?
Any help would be greatly appreciated. Thanks!
The text was updated successfully, but these errors were encountered: