fix: dn checks

This commit is contained in:
2022-12-29 12:53:09 +01:00
parent 90ca6be7fd
commit 4f1b6bb06f
2 changed files with 6 additions and 5 deletions

View File

@@ -1,4 +1,5 @@
---
checks :
- { user : nobody, name : wireguard_rudi, cmd : ""}
- { user : nobody, name : wireguard_hase, cmd : ""}
- { user : nobody, name : wireguard-darknet-rudi, cmd : "/usr/lib/nagios/plugins/check_ping -H fe80::2%wg_rudi_darknet -w300,10% -c 1000,20%"}
- { user : nobody, name : wireguard-darknet-hase, cmd : "/usr/lib/nagios/plugins/check_ping -H fe80::2%wg_hase_darknet -w300,10% -c 1000,20%"}
- { user : nobody, name : darknet-reachable, cmd : "/usr/lib/nagios/plugins/check_ping -H 10.100.100.100 -w300,10% -c 1000,20%"}

View File

@@ -33,17 +33,17 @@ apply Service "irc" {
assign where host.name == "irc"
}
apply Service "darknet-rudi" {
apply Service "wireguard-darknet-rudi" {
import "remote_passive"
assign where host.name == "vpn"
}
apply Service "darknet-hase" {
apply Service "wireguard-darknet-hase" {
import "remote_passive"
assign where host.name == "vpn"
}
apply Service "darknet-routes" {
apply Service "darknet-reachable" {
import "remote_passive"
assign where host.name == "vpn"
}