summaryrefslogtreecommitdiff
path: root/templates/nagios
diff options
context:
space:
mode:
authorJulien Dessaux2018-03-13 18:49:27 +0100
committerJulien Dessaux2018-03-13 18:49:56 +0100
commit84f6a6d1c31a8dd8cc610c9e23420ccad493f477 (patch)
tree643f5458f8a940cd495f2626ee71870c87f2fd1d /templates/nagios
parentEnsure sshd is running on linux servers (diff)
downloadmasterfiles-84f6a6d1c31a8dd8cc610c9e23420ccad493f477.tar.gz
masterfiles-84f6a6d1c31a8dd8cc610c9e23420ccad493f477.tar.bz2
masterfiles-84f6a6d1c31a8dd8cc610c9e23420ccad493f477.zip
Removed deprecated ipam policy and cleaned reality remnants in nagios config
Diffstat (limited to 'templates/nagios')
-rw-r--r--templates/nagios/conf.d/docker/miniflux.adyxax.org.cfg2
-rw-r--r--templates/nagios/conf.d/docker/phpipam.adyxax.org.cfg2
-rw-r--r--templates/nagios/conf.d/hostgroups.cfg9
-rw-r--r--templates/nagios/conf.d/servers/collab.cfg2
-rw-r--r--templates/nagios/conf.d/servers/myth.cfg (renamed from templates/nagios/conf.d/servers/reality.cfg)4
5 files changed, 12 insertions, 7 deletions
diff --git a/templates/nagios/conf.d/docker/miniflux.adyxax.org.cfg b/templates/nagios/conf.d/docker/miniflux.adyxax.org.cfg
index 2243d50..7b9ab96 100644
--- a/templates/nagios/conf.d/docker/miniflux.adyxax.org.cfg
+++ b/templates/nagios/conf.d/docker/miniflux.adyxax.org.cfg
@@ -2,5 +2,5 @@ define host {
use workhours
host_name miniflux.adyxax.org
address miniflux
- parents reality.adyxax.org
+ parents myth.adyxax.org
}
diff --git a/templates/nagios/conf.d/docker/phpipam.adyxax.org.cfg b/templates/nagios/conf.d/docker/phpipam.adyxax.org.cfg
index ea8d270..8aee904 100644
--- a/templates/nagios/conf.d/docker/phpipam.adyxax.org.cfg
+++ b/templates/nagios/conf.d/docker/phpipam.adyxax.org.cfg
@@ -2,5 +2,5 @@ define host {
use workhours
host_name phpipam.adyxax.org
address phpipam
- parents reality.adyxax.org
+ parents myth.adyxax.org
}
diff --git a/templates/nagios/conf.d/hostgroups.cfg b/templates/nagios/conf.d/hostgroups.cfg
index e05049e..068bdd4 100644
--- a/templates/nagios/conf.d/hostgroups.cfg
+++ b/templates/nagios/conf.d/hostgroups.cfg
@@ -22,6 +22,11 @@ define hostgroup {
define hostgroup {
hostgroup_name ubuntu-servers
alias Ubuntu Servers
- members collab.adyxax.org, \
- reality.adyxax.org
+ members collab.adyxax.org
+}
+
+define hostgroup {
+ hostgroup_name centos-servers
+ alias Centos Servers
+ members myth.adyxax.org
}
diff --git a/templates/nagios/conf.d/servers/collab.cfg b/templates/nagios/conf.d/servers/collab.cfg
index 5f25243..0afba81 100644
--- a/templates/nagios/conf.d/servers/collab.cfg
+++ b/templates/nagios/conf.d/servers/collab.cfg
@@ -2,5 +2,5 @@ define host {
use workhours
host_name collab.adyxax.org
address collab
- parents cobsd.adyxax.org, reality.adyxax.org
+ parents cobsd.adyxax.org
}
diff --git a/templates/nagios/conf.d/servers/reality.cfg b/templates/nagios/conf.d/servers/myth.cfg
index 7998e4d..1159c14 100644
--- a/templates/nagios/conf.d/servers/reality.cfg
+++ b/templates/nagios/conf.d/servers/myth.cfg
@@ -1,6 +1,6 @@
define host {
use workhours
- host_name reality.adyxax.org
- address reality
+ host_name myth.adyxax.org
+ address myth
parents cobsd.adyxax.org
}