aboutsummaryrefslogtreecommitdiff
path: root/personal_infra
diff options
context:
space:
mode:
authoralex <alex@pdp7.net>2025-12-29 12:46:32 +0100
committeralexpdp7 <alex@corcoles.net>2025-12-29 12:48:17 +0100
commitb4b3aa476374c27887da48fa87b06b5b39a4c4db (patch)
tree95205fe591066d2d120818810d64dd070097d324 /personal_infra
parent488416e37650291a63ad19ff12f766451c0ca05b (diff)
Monitor via IP address instead of host name
When the VPN is down DNS resolution is down, so check_ping produces an error, but does not record packet loss. Using the IP address should make the packet loss metric work better.
Diffstat (limited to 'personal_infra')
-rw-r--r--personal_infra/puppet/site/nagios.h1.int.pdp7.net.pp2
1 files changed, 2 insertions, 0 deletions
diff --git a/personal_infra/puppet/site/nagios.h1.int.pdp7.net.pp b/personal_infra/puppet/site/nagios.h1.int.pdp7.net.pp
index 728fe19f..ad6b102e 100644
--- a/personal_infra/puppet/site/nagios.h1.int.pdp7.net.pp
+++ b/personal_infra/puppet/site/nagios.h1.int.pdp7.net.pp
@@ -23,6 +23,7 @@ node 'nagios.h1.int.pdp7.net' {
contact_groups => 'admins',
check_command => 'check-host-alive',
parents => ["dixie.bcn.int.pdp7.net"],
+ address => "192.168.76.6",
}
nagios_host {"router4g.bcn.int.pdp7.net":
@@ -32,6 +33,7 @@ node 'nagios.h1.int.pdp7.net' {
contact_groups => 'admins',
check_command => 'check-host-alive',
parents => ["dixie.bcn.int.pdp7.net"],
+ address => "192.168.76.3",
}
nagios_service {'alex.corcoles.net-gemini-cert':