A very simple status monitor for UNIX systems.
- Docker
- Composer
- Yarn
$ git clone https://github.com/adhamu/status.git
$ cd status
$ mv config.sample.json config.json
$ composer install && yarn && gulp install
$ docker-compose up -d
Open up http://localhost:8888
Pings web endpoints to check HTTP response headers.
Note: You can add verify: false
to web endpoints to surpress SSL errors. (Useful when using self-signed certificates).
Check the prescence of a pid file to check if service is running.
All config for endpoints and services are held in a config.json file. There is a sample file in this repository.
{
"Development": {
"web": [{
"name": "Blog",
"url": "http://localhost/blog"
}, {
"name": "PHPMyAdmin",
"url": "http://localhost/pma"
}],
"server": [{
"name": "Docker",
"service": "docker",
"pid": "/var/run/httpd/docker.sock"
}]
},
"Production": {
"web": [{
"name": "Blog",
"url": "https://amitd.co/blog"
}],
"server": [{
"name": "MySQL",
"service": "mysqld",
"pid": "/var/run/mysqld/mysqld.pid"
}]
}
}