🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: alt.privacy.anon-server
Article #283858

Re: Dip in holland stats

#283858
From: Cornelis Tromp
Date: Tue, 09 Aug 2016 17:23
46 lines
1842 bytes
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Was due to VPS maintenance. Mixmaster
> did not restart.
> 
> Started manually this morning about 1030GMT
> postfix mailq cleared there should be no
> delivery failures from the holland exit.

  Put the code below into a file in /etc/ called mixcheck.sh.  Make it executable 'chmod 755 mixcheck.sh'

Change the your@email.address in the code.

  The code checks every hour by cron to see if mixmaster is running.  If it isn't, it rechecks every minute for 10 minutes to see if it has started again.  This 10 minute loop is in case you have it down for short maintenance.


#!/bin/bash
#
# Script to see if mixmaster is running.
# mixcheck.sh
#

i=10

while [ "$i" -gt 0 ]; do
      psvar=$(ps -ef)

      if [[ "$psvar" =~ "mixmaster" ]]; then
          exit 0  # matched
          else
          sleep 1m  # no match
      fi

      let i--
done

echo "Mixmaster not running!" | mail -s "Mixmaster not running!" your@email.address

exit 0


Execute it by cron like this:

# Every 60 minutes check if mixmaster running
*/60 * * * * /etc/mixcheck.sh
Technical Details
Message-ID: <44f91b6f5ecf8e9e275bfc6b7d961ad7@anon.holland.remailer.nl>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!news.usenet.farm!..!..!not-for-mail
References: <8ce51fdd511e0a3a7de31176fd060cb2@anon.holland.remailer.nl>

Show Full Headers
Complete Article Headers
Message-ID: <44f91b6f5ecf8e9e275bfc6b7d961ad7@anon.holland.remailer.nl>
Subject: Re: Dip in holland stats
Date: Tue, 09 Aug 2016 17:23:10 +0000
From: Cornelis Tromp <nobody@holland.remailer.nl>
References: <8ce51fdd511e0a3a7de31176fd060cb2@anon.holland.remailer.nl>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!news.usenet.farm!..!..!not-for-mail
Newsgroups: alt.privacy.anon-server
Organization: dizum.com - The Internet Problem Provider
X-Abuse: abuse@dizum.com
Injection-Info: sewer.dizum.com - 194.109.206.211
Lines: 46