Samuli Seppänen schreef op 31-05-2017 19:10:

Hi,

A few months back I looked into exactly this issue. Back then there was
no easy way to make systemd send emails. That is why I still use monit
which has good notification capabilities:

<https://www.mmonit.com/monit/>

Hi, yes, that sounds pretty awesome!!!

The SystemD thing that Debbie sent me involves making service files that then get referenced by other unit files and that get a parameter that you can use to customize the script or output of your program.

I have been polling stuff too and I think it is a good system but then I am usually not running as a daemon.

Monit sounds like a very good solution.

I'll have a look some time, thank you.

Monit works by polling service states periodically, so some delay is
always involved. Monit can, however, do whatever you want when a problem
is encountered and is not limited to just restarting the service.

Combining systemd instantaneous restarts with monit's notifications is a
pretty good system imho.

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Openvpn-users mailing list
Openvpn-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openvpn-users

Reply via email to