Hi folks, It is funny but one of my peer partners did not notice that his server is dead since a few months. :-)
So I just show anyone who is interested in it how a simple but effective cron job warns me if my server is not OK: 42 5-8,15-20 * * * test "$(curl -s https://sks-keyservers.net/status/ks-status-json.php?server=keys.niif.hu | jq '[.IPv6, .Port80, .Last_status]' | tee /tmp/sksstatus | md5sum)" = 'f2a95d496447b4bd81314f4a550a247c -' || ( echo 'Something went wrong:\\nhttps://sks-keyservers.net/status/' ; cat /tmp/sksstatus) Of course hostname and actual MD5 sum value must be tailored according to checked fields of JSON output from curl. Cheers Gabor _______________________________________________ Sks-devel mailing list Sks-devel@nongnu.org https://lists.nongnu.org/mailman/listinfo/sks-devel