Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/torstendittmann/do-status-monitor


https://github.com/torstendittmann/do-status-monitor

Last synced: 12 days ago
JSON representation

Awesome Lists containing this project

README

        

![do-status-monitor](https://github.com/TorstenDittmann/do-status-monitor/blob/master/logo.png "do-status-monitor")

[Demo](https://do-status-monitor-ulp4u.ondigitalocean.app/)

# Getting Started #
These steps will get this status monitor running for you using DigitalOcean.

## Requirements

* You need a DigitalOcean account. If you don't already have one, you can sign up using my referral link at https://m.do.co/c/44fe76800171

**Note: Following these steps will result in charges for the use of DigitalOcean services**

## Forking the Status Monitor

To use all the features of App Platform, you need to be running against your own copy of this application. To make a copy, click the Fork button above and follow the on-screen instructions. In this case, you'll be forking this repo as a starting point for your own app (see [Github documentation](https://docs.github.com/en/github/getting-started-with-github/fork-a-repo) to learn more about forking repos.

After forking the repo, you should now be viewing this README in your own github org (e.g. `https://github.com//do-status-monitor`).

## Configuration ##

Edit `config.js` to customize the status page and add services to check.

```javascript
export default {
"title": "Your title",
"description": "Example description.",
"email": "[email protected]",
"twitter": "https://twitter.com/DittmannTorsten",
"facebook": "",
"services": [
{
"name": "DigitalOcean.com",
"description": "DigitalOcean Website",
"url": "https://www.digitalocean.com/", // URL to check
"cron": "*/5 * * * *", // every 5 min (cron schedule expression)
"status": 200, // Expected valid http status code

// Optional
"settings": { // You can use every settings from `fetch()` in settings
"method": "POST",
"headers": {
"X-Appwrite-Project": "XXXXXXXXX",
"X-Appwrite-key": "XXXXXXXXXX"
}
}
},
{
//...
}
]
}
```

## Deploying the App ##

Click this button to deploy the app to the DigitalOcean App Platform.

[![Deploy to DO](https://mp-assets1.sfo2.digitaloceanspaces.com/deploy-to-do/do-btn-blue.svg)](https://cloud.digitalocean.com/apps/new?repo=https://github.com/torstendittmann/do-uptime-monitor/tree/master&refcode=44fe76800171)