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

https://github.com/shuding/pingdash

A simple dashboard.
https://github.com/shuding/pingdash

dashboard monitoring-server

Last synced: 9 months ago
JSON representation

A simple dashboard.

Awesome Lists containing this project

README

          

# Pingdash ![](https://img.shields.io/npm/v/pingdash.svg)
A simple Web status dashboard for all your services with periodic monitoring commands.

Demo: [t.shud.in](//t.shud.in) or [azure.shud.in](http://azure.shud.in).

![](https://raw.githubusercontent.com/quietshu/pingdash/master/screenshot-terminal.png)

![](https://raw.githubusercontent.com/quietshu/pingdash/master/screenshot-browser.png)

## Usage
Create a config and run `pingdash config.json`, a beautiful realtime monitoring page will be instantly setup on http://localhost:3000.

The config file is defined as below:

## config.json sample
```javascript
{
"title": "Hello Pingdash",
"port": 3000,
"data": [
// send a GET request to Google every 3 seconds
{
"name": "Google",
"url": "https://google.com", // using GET by default
"interval": 3
},
// ping GitHub once every minute
{
"name": "GitHub",
"method": "ping github.com -c 1", // CLI commands
"interval": 60
},
// POST request
{
"name": "POST Google",
"method": "post", // POST
"url": "https://google.com",
"interval": 3
},
// ...
]
}
```

## Install
You could use npm or yarn to install it globally (recommand node.js version >= 6.0):

```bash
npm i pingdash -g
```

Or use yarn:

```bash
yarn global add pingdash
```

## Options
```bash
$ pingdash --help

Usage: pingdash [options]

Options:

-h, --help output usage information
-V, --version output the version number
-p, --port server's listen port, 3000 default
-s, --silent don't output any logs

```

## License
The MIT license.