mirror of https://github.com/statping/statping
Created services.yml (markdown)
parent
75c3162f25
commit
1bcf5bd1e2
|
@ -0,0 +1,46 @@
|
||||||
|
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