ServerStatus Munzy Edition Now Supports Email Alerts

Discussion in 'Coding, Scripting & Programming' started by Munzy, Oct 5, 2014.

  1. Munzy

    Munzy Active Member

    432
    205
    Aug 13, 2014
    ServerStatus Munzy Edition

    Links:

    ServerStatus: https://www.qwdsa.com/converse/threads/serverstatus-rebuild.43/

    Github: https://github.com/Munroenet/ServerStatus

    Example: http://uptime.munroenet.com/ &&  https://www.munroenet.com/uptime/

    As part of today, 5 Oct. 2014, I have included email alerts to ServerStatus. These email alerts will be sent to you after around ~60 seconds, assuming you are using the default $failafter variable. These are simple plain text emails so they should support all email clients, and can be used in email to text message alerts as well. See Email to Text Alerts here

    Up alerts look like:

    2014-10-05_09-46-04.png

    Down alerts look like:

    2014-10-05_09-46-56.png

    Also, for those of you whom hate php, imchandave at LET made perl and bash alternatives. You will however still need a webserver to distribute the file to main node.

    bash && perl.

    Sorry for any grammar or spelling errors, still half asleep this morning.

    Mun

    p.s. This was fake downtime, so Ramnode had no downtime. 
     
    Last edited by a moderator: Oct 5, 2014
  2. MannDude

    MannDude Just a dude vpsBoard Founder Moderator

    5,018
    2,622
    Mar 8, 2013
    MannDude
    Hell yeah, good update. And I agree about RamNode, always up!
     
  3. sv01

    sv01 Slow but sure

    426
    87
    May 17, 2013
    wow you have so many server there :)
     
  4. Munzy

    Munzy Active Member

    432
    205
    Aug 13, 2014
    Yearlys
     
  5. Munzy

    Munzy Active Member

    432
    205
    Aug 13, 2014
    I have rebuilt pull/index.php and it has allowed me to add critical load alerts. This system sends one email that you have a high load, and a second email as to when the load returned to normal. If you wish to take advantage of this feature I suggest you pull the latest version of pull/index.php which is 1.1a and replace it on your uptime monitoring server.

    Here is how you setup alerts for the servers you wish to monitor.https://www.qwdsa.com/converse/threads/serverstatus-email-load-alerts.57/

    Enjoy.
     
  6. Munzy

    Munzy Active Member

    432
    205
    Aug 13, 2014
    If anyone is using this script, I suggest you update to the newer version on the site.
     
  7. DomainBop

    DomainBop Dormant VPSB Pathogen

    2,260
    2,189
    Oct 11, 2013
    Uptime client (uptime.php) on FreeBSD:


    1. Enable Linux compatibility and modify /etc/fstab (see http://yooniks.com/?p=887 for a guide if you don't know how)


    2 make 2 changes to uptime.php

    Code:
    $memloc = '/compat/linux/proc/meminfo';


    Code:
    $uptimeloc = '/compat/linux/proc/uptime';
     
    Hxxx and Munzy like this.