Commit graph

166 commits

Author SHA1 Message Date
Rick Elrod
dcc53bd63b add crl check to nagios + nrpe + facl perms for nrpe
Signed-off-by: Rick Elrod <relrod@redhat.com>
2020-08-06 15:32:09 -05:00
Kevin Fenzi
6371dd26c3 nagios / server: fix check_koji plugin name
As it was it copied the check_koji.j2 template in ansible to
check_koji.j2 on the server, which meant that check_koji the actual
script wasn't on noc01 and the check couldn't work.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-07-09 16:49:07 -07:00
Stephen Smoogen
35f1746c3f things become clearer when we find a missing internal on soemthing that says for internal 2020-07-01 18:20:14 -04:00
Stephen Smoogen
6e218c7031 a box not on the vpn has a hard time testing for boxes on the vpn 2020-07-01 18:14:02 -04:00
Kevin Fenzi
90c28879f9 nagios_server: Adjust ns01/02 to try and work with nagios external
Also adjust gateway group as ibiblio-gw can't be it's own parent.
Also setup vpn hosts also on external as it needs the hostgroup.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-06-30 17:55:12 -07:00
Kevin Fenzi
632d4a0273 nagios_server: adjust a bunch more things for iad2.
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-06-30 15:39:32 -07:00
Kevin Fenzi
6908fbf86a nagios_server: replace phx2_internal with iad2_internal.
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-06-30 14:33:11 -07:00
Stephen Smoogen
cd97509505 make an iad2-internal hosts for our systems 2020-06-09 11:19:07 -04:00
Stephen Smoogen
c9bb09f93e try to sync up more changes for nagios 2020-06-09 11:07:44 -04:00
Stephen Smoogen
7d8e00cac3 try to get noc to build 2020-06-09 09:45:36 -04:00
Stephen Smoogen
5337ad0734 copy iad2 items to iad2 not the phx2 items 2020-06-08 17:43:07 -04:00
Stephen Smoogen
2a4bdd1e3a remove perl-Mail-IMAPCLient from nagios 2020-06-08 17:34:16 -04:00
Stephen Smoogen
7d5ab8fcfd remove rabbitmq from phx2 2020-06-08 15:37:18 -04:00
Stephen Smoogen
e26ead0f70 try and get nagios working on noc01.iad2 2020-06-08 11:17:20 -04:00
Stephen Smoogen
06aaf08df9 make it clearer where failure is happening 2020-06-06 16:31:21 -04:00
4b5446f486 nagios: fixing template name, didn't see the j2 2020-05-22 18:35:30 -06:00
8a852177db nagios: make referenced filenames match filesystem
The filename for a template didn't match the file that's in git. Fixed
the filename in the playbook since the naming convention for the files
seemed consistent.
2020-05-22 18:07:30 -06:00
4101428763 nagios: completing rename of some servicegroups
This one line seems to have gotten lost when several servicegroups were
renamed to services as that is a more appropriate name for them. Ansible
was looking for it in the wrong directory
2020-05-22 17:52:08 -06:00
ca553c22ca nagios: the nagios.cfg service isn't phx2_internal
The file for nagios.cfg as a service in nagios isn't in git as
phx2_internal and the nagios playbook is failing because the path for
that service file isn't correct.

It's being copied with the other non-phx2-specific service files in the
following play so this change won't skip the file.
2020-05-22 15:53:07 -06:00
918828ca15 nagios: correct path for copying phx2 nagios svcs
The nagios playbook is failing because it can't find a bunch of service
files. The playbook refers to a path of 'nagios/services/phx2/' but the
path that exists in git is 'nagios/services/phx2_internal'.

This fixes the path reference so that the playbook should complete.
2020-05-22 15:29:48 -06:00
Stephen Smoogen
b54b1c74f6 fix nrpe config location 2020-05-21 19:34:45 -04:00
Stephen Smoogen
192637532c set up things so nagios in iad2 is mostly ready. 2020-05-21 19:20:38 -04:00
Stephen Smoogen
794071b256 make mgmt interfaces faster to build 2020-05-21 16:46:41 -04:00
Stephen Smoogen
435095958d move more service groups to static files and use servicegroup definitions in services 2020-05-21 15:47:19 -04:00
Stephen Smoogen
d82e99371c use a different syntax for service groups to clean up phx2 ness 2020-05-21 15:22:48 -04:00
Stephen Smoogen
df9fcb477d move nagios ipa file to template to make less phx2 dependent 2020-05-21 14:57:41 -04:00
Stephen Smoogen
6dfcc7d2d7 and one more place to make it work 2020-05-15 19:46:41 -04:00
Stephen Smoogen
39c2fd442a this will make sure -l nagios_hosts does all the hosts templates 2020-05-15 19:43:50 -04:00
Stephen Smoogen
7302c69652 add in external iad2 for monitoring 2020-05-15 19:11:20 -04:00
Stephen Smoogen
91bac1fc02 remove templates which no longer exist 2020-04-24 21:34:28 +02:00
Stephen Smoogen
66c9b08864 missed anotehr item 2020-04-24 21:34:25 +02:00
Stephen Smoogen
0b5939ba08 and remember to get pings little dog too 2020-04-24 21:34:25 +02:00
Stephen Smoogen
6fb08c7cf7 make tag matchgroup 2020-04-24 21:34:25 +02:00
Stephen Smoogen
c68f211e0d only internal can ping most stuff 2020-04-24 21:34:25 +02:00
Stephen Smoogen
a2ba26c5f4 this is ugly but its been a 12 hour day 2020-04-24 21:34:25 +02:00
Stephen Smoogen
d95d666c47 copr.cfg was used for systems in fedora cloud and would not work with aws. remove it from copying out 2020-04-24 21:34:25 +02:00
Stephen Smoogen
77fca5cf79 make the tags all _ versus so nagios_client to match nagios_server 2020-04-24 21:34:25 +02:00
Rick Elrod
de37dcf56d nagios_server: add aws-hosts template to the task
Signed-off-by: Rick Elrod <relrod@redhat.com>
2020-04-24 21:34:22 +02:00
Kevin Fenzi
779fa01877 autocloud: fare well autocloud, you served long and well...
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-04-24 21:34:17 +02:00
Stephen Smoogen
6174e107e0 time to remove the spanner in the works 2020-04-24 21:34:17 +02:00
Stephen Smoogen
88ccd1eba9 there isnt a services equivalent to fedmsg.cfg yet.. just a contacts. I was fixing worng thing 2020-04-24 21:34:16 +02:00
Stephen Smoogen
41fe0ec74e add in nagios patches from karsten 2020-04-24 21:34:16 +02:00
Mikolaj Izdebski
a1c728f8a8 Revert "nagios_server: Check Koschei pod count instead of processes"
This reverts commit a0474d9c3687bd144d5a890e8f8c802486299947.
This reverts commit 803af9c9cb3456d7440695ddf8c51990b002c6d4.
2020-04-24 21:34:11 +02:00
Mikolaj Izdebski
ec6c5cab14 nagios_server: Check Koschei pod count instead of processes 2020-04-24 21:34:11 +02:00
Stephen Smoogen
e1abdfc8bd [nagios] remember to remove coloamer from nagios 2020-04-24 21:34:11 +02:00
Aurélien Bompard
29950dc158 Actually copy over the service file
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2020-04-24 21:34:07 +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
Aurélien Bompard
125d8a2655 nagios_server: update package command to not use items
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2019-06-11 17:56:22 +02:00
Patrick Uiterwijk
0c7449ea1d Add sslciphers tags
Signed-off-by: Patrick Uiterwijk <patrick@puiterwijk.org>
2019-04-08 21:41:17 +02:00
Stephen Smoogen
d9d24d08d9 [nagios_server] Add in certgetter test.
This was offered by Alessandro Lorenzi <alorenzi@alorenzi.eu> as a fix
to deal with our inability to monitor the certgetter after
reboots. Thank you very much for this work.

Signed-off-by: Stephen Smoogen <smooge@redhat.com>
2019-03-20 20:17:43 +00:00