mirror of https://github.com/statping/statping
Revert bc96899^...bc96899 on service.yml
parent
67dd969db1
commit
ddfcf5fff4
|
@ -1,46 +0,0 @@
|
||||||
If you have a file named `service.yml` in the working directory, Statping will attempt to read this file and automatically add these services. Below is an example of how this file should be formatted.
|
|
||||||
|
|
||||||
```yaml
|
|
||||||
services:
|
|
||||||
|
|
||||||
- name: Postgres
|
|
||||||
type: tcp
|
|
||||||
allow_notifications: true
|
|
||||||
check_interval: 60
|
|
||||||
domain: demo.statping.com
|
|
||||||
expected: ''
|
|
||||||
expected_status: 200
|
|
||||||
group_id: 4
|
|
||||||
method: GET
|
|
||||||
notify_after: 2
|
|
||||||
notify_all_changes: true
|
|
||||||
order_id: 4
|
|
||||||
permalink: postgres
|
|
||||||
port: 5432
|
|
||||||
post_data: ''
|
|
||||||
public: true
|
|
||||||
redirect: true
|
|
||||||
timeout: 15
|
|
||||||
verify_ssl: true
|
|
||||||
|
|
||||||
- name: MySQL
|
|
||||||
type: http
|
|
||||||
allow_notifications: true
|
|
||||||
check_interval: 60
|
|
||||||
domain: mysql.com
|
|
||||||
expected: ''
|
|
||||||
expected_status: 200
|
|
||||||
group_id: 4
|
|
||||||
method: GET
|
|
||||||
notify_after: 2
|
|
||||||
notify_all_changes: true
|
|
||||||
order_id: 4
|
|
||||||
permalink: mysql-link
|
|
||||||
port: 8080
|
|
||||||
post_data: ''
|
|
||||||
public: true
|
|
||||||
redirect: true
|
|
||||||
timeout: 15
|
|
||||||
verify_ssl: true
|
|
||||||
|
|
||||||
```
|
|
Loading…
Reference in New Issue