mirror of https://github.com/statping/statping
Updated Bulk Import Services (markdown)
parent
47ed7745be
commit
67dd969db1
|
@ -1,4 +1,4 @@
|
||||||
You can import multiple services when Statping first loads by creating a file named [service.yml](https://github.com/statping/statping/wiki/services.yml) in the working directory for Statping. It will insert the new service into the database, and will not be re-added on reboot. All services must be an array under the `services:` field.
|
You can import multiple services when Statping first loads by creating a file named [services.yml](https://github.com/statping/statping/wiki/services.yml) in the working directory for Statping. It will insert the new service into the database, and will not be re-added on reboot. All services must be an array under the `services:` field.
|
||||||
|
|
||||||
## Dynamic Yaml
|
## Dynamic Yaml
|
||||||
With Yaml, you can insert "anchors" to make receptive fields simple! Checkout the example below. The `&tcpservice` anchor will return all the fields belonging to `x-tcpservice:`. To reuse these fields for each service, you can insert `<<: *tcpservice` and thats it!
|
With Yaml, you can insert "anchors" to make receptive fields simple! Checkout the example below. The `&tcpservice` anchor will return all the fields belonging to `x-tcpservice:`. To reuse these fields for each service, you can insert `<<: *tcpservice` and thats it!
|
||||||
|
|
Loading…
Reference in New Issue