Quantcast
Viewing latest article 2
Browse Latest Browse All 3

Answer by user1133275 for Monitoring using rsyslog

The "or stops working" part is not part of rsyslog's description, and because it's so abstract most monitoring software lets you run a script to evaluate if the service has stopped working so you might as well just make your own service or crontab script, the core of which might look like this;

curl -s -m 5 "$URL" >/dev/null
if [ "$?" != "0" ] ; then
    echo -e "Subject:Panic\n\nPanic" | sendmail -r me@domain you@domain 
fi

Viewing latest article 2
Browse Latest Browse All 3

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>