Skip to content
This repository has been archived by the owner on Feb 21, 2021. It is now read-only.
/ statuspage-hook Public archive

A simple webhook for Uptime Robot users to update their CachetHQ.io Status Pages

License

Notifications You must be signed in to change notification settings

jmesserli/statuspage-hook

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Statuspage Hook

A simple webhook for Uptime Robot users to update their Cachet statuspage

Installation

Run composer update --no-dev to pull the needed dependencies using Composer.

Rename the config.example.php to config.php and set the values accordingly. The config contains comments that explain which values you have to enter.

Nginx

server {
    server_name status-hook.yourdomain;
    listen 80;
    
    try_files $uri $uri/ /index.php;
    
    location ~ \.php {
        include fastcgi_params;
        fastcgi_pass unix:/var/run/php5-fpm.sock;
        fastcgi_index index.php;
    }
}

Apache2

(you are welcome to provide an example config)

You must basically rewrite all requests to index.php

Uptimerobot Configuration

On the Uptimerobot side, you just have to add an alert contact like so:

Uptimerobot Web Hook

Then add the alert contact to all monitors you configured earlier

About

A simple webhook for Uptime Robot users to update their CachetHQ.io Status Pages

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages