summaryrefslogtreecommitdiffstats
path: root/inventory
diff options
context:
space:
mode:
authorKevin Fenzi <kevin@scrye.com>2017-09-09 19:11:06 +0000
committerKevin Fenzi <kevin@scrye.com>2017-09-09 19:11:06 +0000
commit8b5a273b108243ca9c6cd5bdd066db47c15148ee (patch)
treec585123efb6cf87b661af6ef44aad00ce64c708e /inventory
parent0c321472811e5588d3b96135c8752a855ac07620 (diff)
downloadansible-8b5a273b108243ca9c6cd5bdd066db47c15148ee.tar.gz
ansible-8b5a273b108243ca9c6cd5bdd066db47c15148ee.tar.xz
ansible-8b5a273b108243ca9c6cd5bdd066db47c15148ee.zip
try and teach nagios about hosts we want to monitor swap on and ones we do not want to
Diffstat (limited to 'inventory')
-rw-r--r--inventory/group_vars/all1
-rw-r--r--inventory/group_vars/builders2
-rw-r--r--inventory/group_vars/builders-stg2
-rw-r--r--inventory/group_vars/cloud1
-rw-r--r--inventory/group_vars/mailman2
-rw-r--r--inventory/host_vars/mirrorlist-host1plus.fedoraproject.org8
-rw-r--r--inventory/host_vars/proxy05.fedoraproject.org8
7 files changed, 24 insertions, 0 deletions
diff --git a/inventory/group_vars/all b/inventory/group_vars/all
index e18af2f83..18b9db56f 100644
--- a/inventory/group_vars/all
+++ b/inventory/group_vars/all
@@ -261,6 +261,7 @@ nagios_Check_Services:
named: false
dhcpd: false
httpd: false
+ swap: true
# Set variable if we want to use our global iptables defaults
# Some things need to set their own.
diff --git a/inventory/group_vars/builders b/inventory/group_vars/builders
index 8fea99e0f..c22c3870a 100644
--- a/inventory/group_vars/builders
+++ b/inventory/group_vars/builders
@@ -1,5 +1,7 @@
---
# nagios items
# We don't use nrpe to check any of the builders
+# Nor do we check swap there.
nagios_Check_Services:
nrpe: false
+ swap: false
diff --git a/inventory/group_vars/builders-stg b/inventory/group_vars/builders-stg
index 8fea99e0f..c22c3870a 100644
--- a/inventory/group_vars/builders-stg
+++ b/inventory/group_vars/builders-stg
@@ -1,5 +1,7 @@
---
# nagios items
# We don't use nrpe to check any of the builders
+# Nor do we check swap there.
nagios_Check_Services:
nrpe: false
+ swap: false
diff --git a/inventory/group_vars/cloud b/inventory/group_vars/cloud
index abc2282e4..4af9dfb55 100644
--- a/inventory/group_vars/cloud
+++ b/inventory/group_vars/cloud
@@ -1,4 +1,5 @@
---
nagios_Check_Services:
nrpe: false
+ swap: false
datacenter: cloud
diff --git a/inventory/group_vars/mailman b/inventory/group_vars/mailman
index 41dd8cd7f..f54b474e4 100644
--- a/inventory/group_vars/mailman
+++ b/inventory/group_vars/mailman
@@ -63,3 +63,5 @@ nrpe_check_postfix_queue_crit: 200
nrpe_procs_warn: 300
nrpe_procs_crit: 500
+nagios_Check_Services:
+ swap: false
diff --git a/inventory/host_vars/mirrorlist-host1plus.fedoraproject.org b/inventory/host_vars/mirrorlist-host1plus.fedoraproject.org
index ebd615121..c2e45320e 100644
--- a/inventory/host_vars/mirrorlist-host1plus.fedoraproject.org
+++ b/inventory/host_vars/mirrorlist-host1plus.fedoraproject.org
@@ -2,3 +2,11 @@
# This is now a cloud instance provided by host1plus
# vmhost: none
datacenter: host1plus
+
+nagios_Check_Services:
+ nrpe: true
+ sshd: true
+ named: false
+ dhcpd: false
+ httpd: true
+ swap: false
diff --git a/inventory/host_vars/proxy05.fedoraproject.org b/inventory/host_vars/proxy05.fedoraproject.org
index 8efd950c5..fae19fd7a 100644
--- a/inventory/host_vars/proxy05.fedoraproject.org
+++ b/inventory/host_vars/proxy05.fedoraproject.org
@@ -16,3 +16,11 @@ dns: 8.8.8.8
eth0_ip: 185.141.165.254
eth0_nm: 255.255.254.0
vpn: true
+
+nagios_Check_Services:
+ nrpe: true
+ sshd: true
+ named: false
+ dhcpd: false
+ httpd: true
+ swap: false