mirror of
https://github.com/ItsDrike/network-monitor.git
synced 2025-06-28 23:50:42 +00:00
install status panel. remove redunadant file
This commit is contained in:
parent
015e731ccb
commit
b933e7f923
4 changed files with 335 additions and 66 deletions
6
prometheus/pinghosts.yaml
Normal file
6
prometheus/pinghosts.yaml
Normal file
|
@ -0,0 +1,6 @@
|
|||
- targets:
|
||||
- http://google.com # Target to probe with http.
|
||||
- http://github.com
|
||||
- https://blackdata.xam.dk:5001 # Target to probe with https.
|
||||
- http://orbilogin.com
|
||||
- http://192.168.1.103
|
|
@ -41,11 +41,9 @@ scrape_configs:
|
|||
scrape_interval: 5s
|
||||
params:
|
||||
module: [http_2xx] # Look for a HTTP 200 response.
|
||||
static_configs:
|
||||
- targets:
|
||||
- http://google.com # Target to probe with http.
|
||||
- https://blackdata.xam.dk:5001 # Target to probe with https.
|
||||
- http://doesnotexistreally.com # Target to probe with http on port 8080.
|
||||
file_sd_configs:
|
||||
- files:
|
||||
- pinghosts.yaml
|
||||
relabel_configs:
|
||||
- source_labels: [__address__]
|
||||
target_label: __param_target
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue