mirror of
https://github.com/FAUSheppy/no-secrets-athq-ansible
synced 2025-12-08 05:01:37 +01:00
fix: dn checks
This commit is contained in:
@@ -1,4 +1,5 @@
|
|||||||
---
|
---
|
||||||
checks :
|
checks :
|
||||||
- { user : nobody, name : wireguard_rudi, 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_hase, cmd : ""}
|
- { 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%"}
|
||||||
|
|||||||
@@ -33,17 +33,17 @@ apply Service "irc" {
|
|||||||
assign where host.name == "irc"
|
assign where host.name == "irc"
|
||||||
}
|
}
|
||||||
|
|
||||||
apply Service "darknet-rudi" {
|
apply Service "wireguard-darknet-rudi" {
|
||||||
import "remote_passive"
|
import "remote_passive"
|
||||||
assign where host.name == "vpn"
|
assign where host.name == "vpn"
|
||||||
}
|
}
|
||||||
|
|
||||||
apply Service "darknet-hase" {
|
apply Service "wireguard-darknet-hase" {
|
||||||
import "remote_passive"
|
import "remote_passive"
|
||||||
assign where host.name == "vpn"
|
assign where host.name == "vpn"
|
||||||
}
|
}
|
||||||
|
|
||||||
apply Service "darknet-routes" {
|
apply Service "darknet-reachable" {
|
||||||
import "remote_passive"
|
import "remote_passive"
|
||||||
assign where host.name == "vpn"
|
assign where host.name == "vpn"
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user