Commit graph

111 commits

Author SHA1 Message Date
Rick Elrod
6cfe3f18f0 Add some more hostgroups to excludes and extract the list out to group_vars/nagios
Signed-off-by: Rick Elrod <relrod@redhat.com>
2020-04-24 21:34:23 +02:00
Stephen Smoogen
1961cb9cb7 turns out nixnagios is not what I wanted 2020-04-24 21:34:21 +02:00
Stephen Smoogen
6174e107e0 time to remove the spanner in the works 2020-04-24 21:34:17 +02:00
Rick Elrod
cdd8a99a92 nagios_server: s/repospanner-temp/repospanner_temp/
Signed-off-by: Rick Elrod <relrod@redhat.com>
2020-04-24 21:34:14 +02:00
Stephen Smoogen
011102c216 make sure repospanner-temp is not an empty group 2020-04-24 21:34:13 +02:00
Stephen Smoogen
e1abdfc8bd [nagios] remember to remove coloamer from nagios 2020-04-24 21:34:11 +02:00
Rick Elrod
c31829a561 nagios: Try a new way of doing the raid check, so we can check extra hosts like autocloud-backend-libvirt2
Signed-off-by: Rick Elrod <relrod@redhat.com>
2019-07-18 19:31:04 +00:00
Stephen Smoogen
b2599f8d2f [nagios] try ang get groups working 2019-05-23 23:34:41 +00:00
Kevin Fenzi
4b31ac5152 ansible: Change all our group names from foo-bar to foo_bar or foo-bar-baz to foo_bar_baz
In ansible 2.8 the - character isn't supposed to be valid in group names.
While we could override this, might has well just bite the bullet and change it.
So, just switch all group names to use _ instead of -

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2019-05-20 17:38:09 +00:00
Rick Elrod
8a4ed2358a remove tummy01 everywhere
Signed-off-by: Rick Elrod <relrod@redhat.com>
2019-02-20 17:28:52 +00:00
Stephen Smoogen
06cc8ca030 and we have no bodhost 2019-02-14 21:11:50 +00:00
Stephen Smoogen
c7deb6502a somedays you just keep neanderthal-patching until it works 2018-11-20 00:13:00 +00:00
Stephen Smoogen
330a8e4a1d and this should make our mail easier to read 2018-08-27 22:44:58 +00:00
Stephen Smoogen
8f742a90d5 you cant comment out jinja2 silly 2018-08-27 22:07:56 +00:00
Stephen Smoogen
28d323bfcf try to make nomail better 2018-08-27 21:44:17 +00:00
Rick Elrod
8098ce7fe9 Ignore newcloud-undercloud and make the check here look a little prettier
Signed-off-by: Rick Elrod <relrod@redhat.com>
2018-07-20 23:34:56 +00:00
Kevin Fenzi
da32a2cf5b move around some inventory/group/host vars to make more sense and setup a group for no nagios monitoring 2018-07-17 17:44:50 +00:00
Kevin Fenzi
b3be8b3111 more sorting 2018-05-26 23:37:11 +00:00
Mikolaj Izdebski
56589a7376 Try to fix non-monitored groups 2018-05-17 22:47:40 +00:00
Kevin Fenzi
94bdce7c68 walking blind, hope there is not a cliff 2018-05-17 22:26:35 +00:00
Kevin Fenzi
ba587e6aa9 brute force for now 2018-05-17 22:09:20 +00:00
Kevin Fenzi
83454d7260 lets try this another way 2018-05-17 21:52:14 +00:00
Kevin Fenzi
a5ca432618 try and get the loops right here 2018-05-17 21:26:49 +00:00
Kevin Fenzi
e96ee43612 ok, lets try this one 2018-05-17 21:15:15 +00:00
Kevin Fenzi
60469243d2 try this 2018-05-17 20:58:52 +00:00
Kevin Fenzi
0abb588b08 drop fas3-stg 2018-05-17 19:36:58 +00:00
Stephen Smoogen
78ec2c3f6b proxy05 has a line in a config which needs for it to be defined for nagios to restart 2018-04-11 14:51:34 +00:00
Patrick Uiterwijk
2f48eb9293 Remove deleted box
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
2018-01-12 20:59:22 +00:00
Stephen Smoogen
fa59462ab3 bastion02 only vpns when things go bad 2017-12-01 02:49:05 +00:00
Stephen Smoogen
5980773461 oh the comma needs to be in the endif or it blows up 2017-12-01 02:00:07 +00:00
Stephen Smoogen
cecac4ee45 and we needed to add it here 2017-12-01 01:52:14 +00:00
Stephen Smoogen
36cfe3a769 try some logic in nagios jinja template to allow for hosts not to be defined 2017-12-01 01:44:30 +00:00
Stephen Smoogen
4c936e6a45 and voila.. a viola. [Or maybe a fix to make noc02 work] 2017-11-30 20:02:53 +00:00
Kevin Fenzi
2c3e243d75 update status in nagios 2017-09-30 00:09:19 +00:00
Kevin Fenzi
dbbfa9d6cc add it looks like we need a newline here 2017-09-09 20:16:09 +00:00
Kevin Fenzi
2aebc73ba7 missing endif? 2017-09-09 19:44:57 +00:00
Kevin Fenzi
8b5a273b10 try and teach nagios about hosts we want to monitor swap on and ones we do not want to 2017-09-09 19:11:06 +00:00
Stephen Smoogen
9da4f727ff replace retry_check_interval with retry_interval 2017-06-23 15:05:22 +00:00
Patrick Uiterwijk
2565b58393 Disable some checks for cdn.registry
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
2017-06-23 12:38:31 +00:00
Patrick Uiterwijk
72f300cf84 Revert
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
2017-06-23 12:27:14 +00:00
Patrick Uiterwijk
c9fdb3a256 Use groupkey all
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
2017-06-23 12:26:01 +00:00
Patrick Uiterwijk
961a31313d Add mincheckgrp
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
2017-06-23 12:22:30 +00:00
Patrick Uiterwijk
8b23d10aff Exclude empty groups
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
2017-06-23 12:13:09 +00:00
Patrick Uiterwijk
5075885124 Define the / file check for every host but cloud
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
2017-06-23 12:55:09 +01:00
Stephen Smoogen
e7772942cd ok lets try and make internetx01 show up in correct file 2017-06-19 21:47:39 +00:00
Stephen Smoogen
b2a1315cf4 track smtp 2017-06-19 21:18:50 +00:00
Stephen Smoogen
d11aeabedf and we need an external dns group 2017-06-19 18:23:39 +00:00
Stephen Smoogen
3146a3964c and we are back to what was broken before 2017-06-19 18:02:35 +00:00
Stephen Smoogen
325278ce66 reading comprehension is nill today 2017-06-19 17:56:14 +00:00
Stephen Smoogen
eb36b5e7f0 I have no idea what I am doing 2017-06-19 17:52:14 +00:00