An updated drop-in for statping. A Status Page for monitoring your websites and applications with beautiful graphs, analytics, and plugins. Run on any type of environment.
 
 
 
 
 
 
Go to file
Hunter Long 84f6c18c51 updates - prometheus exporter /metrics 2018-06-23 23:44:32 -07:00
docs updates - prometheus exporter /metrics 2018-06-23 23:44:15 -07:00
html updates - prometheus exporter /metrics 2018-06-23 23:44:15 -07:00
plugin upgrades 2018-06-21 21:02:57 -07:00
plugins upgrades - plugins 2018-06-18 23:00:56 -07:00
servers auto ssl 2018-06-23 21:53:57 -07:00
sql upgrades 2018-06-22 22:59:29 -07:00
types upgrades 2018-06-23 01:42:50 -07:00
.gitignore upgrades 2018-06-21 21:02:57 -07:00
.travis.yml updates - prometheus exporter /metrics 2018-06-23 23:44:32 -07:00
Dockerfile docker fix 2018-06-23 22:01:59 -07:00
Gopkg.lock upgrades 2018-06-21 21:02:57 -07:00
Gopkg.toml upgrades 2018-06-21 21:02:57 -07:00
LICENSE Create LICENSE 2018-06-10 01:39:57 -07:00
README.md updates - prometheus exporter /metrics 2018-06-23 23:44:15 -07:00
api.go new 2018-06-22 17:10:37 -07:00
build.sh auto ssl 2018-06-23 21:31:47 -07:00
checker.go updates - prometheus exporter /metrics 2018-06-23 23:17:31 -07:00
checkin.go upgrades 2018-06-23 17:30:59 -07:00
communication.go upgrades 2018-06-23 19:50:14 -07:00
core.go updates - prometheus exporter /metrics 2018-06-23 23:44:15 -07:00
database.go updates - prometheus exporter /metrics 2018-06-23 23:17:31 -07:00
emailer.go upgrades 2018-06-23 17:13:37 -07:00
errors.go upgrades 2018-06-21 21:02:57 -07:00
events.go upgrades - plugins 2018-06-18 21:48:25 -07:00
exporter.go updates - prometheus exporter /metrics 2018-06-23 23:44:15 -07:00
failures.go updates - prometheus exporter /metrics 2018-06-23 23:17:31 -07:00
hits.go upgrades 2018-06-21 23:56:44 -07:00
main.go updates - prometheus exporter /metrics 2018-06-23 23:44:15 -07:00
main_test.go upgrades 2018-06-23 19:03:30 -07:00
plugins.json upgrades - plugins 2018-06-11 22:23:30 -07:00
services.go upgrades 2018-06-23 01:42:50 -07:00
setup.go updates - prometheus exporter /metrics 2018-06-23 23:44:15 -07:00
users.go upgrades 2018-06-23 01:42:50 -07:00
web.go updates - prometheus exporter /metrics 2018-06-23 23:17:31 -07:00
web_test.go upgrades - plugins 2018-06-18 23:17:43 -07:00

README.md

Statup - Status Page Build Status

An easy to use Status Page for your websites and applications. Statup will automatically fetch the application and render a beautiful status page with tons of features for you to build an even better status page.

A Future-Proof Status Page

Statup strives to remain future-proof and remain intact if a failure is created. Your Statup service should not be running on the same instance you're trying to monitor. If your server crashes your Status Page should still remaining online to notify your users of downtime.

Exporting Static HTML

If you want to use Statup as a CLI application without running a server, you can export your status page to a static HTML. This export tool is very useful for people who want to export their HTML and upload/commit it to Github Pages or an FTP server.

statup export
index.html will be created in the current directory with CDN URL's for assets.

Run on Docker

Use the Statup Docker Image to create a status page in seconds.

docker run -it -p 8080:8080 hunterlong/statup

There are multiple way to startup a Statup server. You want to make sure Statup is on it's own instance that is not on the same server as the applications you wish to monitor. It doesn't look good when your Status Page goes down, I recommend a small EC2 instance so you can set it, and forget it.

Docker Compose

In this folder there is a standard docker-compose file that include nginx, postgres, and Statup.

docker-compose up -d

Docker Compose with Automatic SSL

You can automatically start a Statup server with automatic SSL encryption using this docker-compose file. First point your domain's DNS to the Statup server, and then run this docker-compose command with DOMAIN and EMAIL. Email is for letsencrypt services.

LETSENCRYPT_HOST=mydomain.com \ 
    LETSENCRYPT_EMAIL=info@mydomain.com \ 
    docker-compose -f docker-compose-ssl.yml up -d

Once your instance has started, it will take a moment to get your SSL certificate. Make sure you have a A or CNAME record on your domain that points to the IP/DNS of your server running Statup.

Run on AWS EC2

Running Statup on the smallest EC2 server is very quick using the AWS AMI Image: ami-1f7c3567.

aws ec2 run-instances \ 
    --image-id ami-1f7c3567 \
    --count 1 \ 
    --instance type t2.micro \ 
    --region us-west-2
    --key-name <key name> \ 
    --security-group-ids <your security group id here> \ 
    --subnet-id <your subnet id here> \ 
    --region <your region here>

Email Nofitications

Statup includes email notification via SMTP if your services go offline.

User Created Plugins

Statup isn't just another Status Page for your applications, it's a framework that allows you to create your own plugins to interact with every element of your status page. Plugin are created in Golang using the statup/plugin golang package. The plugin package has a list of interfaces/events to accept into your own plugin application.

Prometheus Exporter

Statup includes a prometheus exporter so you can have even more monitoring power with your services. The prometheus exporter can be seen on /metrics, simply create another exporter in your prometheus config.

scrape_configs:
  - job_name: 'statup'
    static_configs:
      - targets: ['statup:8080']