Thursday, September 2, 2021

Send a mail on Docker Oxidized (e.g. : events: [node_fail])

Hello everyone, I hope you are all doing well.

I'm having trouble to configure the email notifications for Oxidized. I have a 100% working configuration of a Non-Docker Oxidized :

hooks: email_output: type: exec events: [node_fail,post_store] cmd: '/etc/oxidized/.config/oxidized/extra/oxidized-report-git-commits | mail -s "Oxidized updates for ${OX_NODE_NAME}" -a "FROM:oxidized@univ-smb.fr" myself@me.fr' async: true timeout: 120 

But on the Docker version the mailutils and the msmtp packages aren't installed.

What command am I supposed to use ?

Thanks in advance :)



No comments:

Post a Comment