Commit Graph

188 Commits

Author SHA1 Message Date
Kevin Fenzi
c84b99223c osbs: raise a glass for it's service
This removes osbs and allmost all it's associated playbooks and files.

It served long and well, but we no longer need it.
flatpaks are building with a koji-flatpak plugin.
base/minimal/toolbox containers are building with kiwi.
We aren't building any other containers right now, and we did they could
be added to kiwi.

This is the end of an era... I look with nostolga on
ansible-ansible-openshift-ansible (a role to setup ansible on a control
host and run it from our ansible).

Good bye osbs!

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2024-03-28 12:52:07 -07:00
Leo Puvilland
18e4f51c61 Make only the nagios group able to execute the matrix-notify script
Signed-off-by: Leo Puvilland <leo@craftcat.dev>
2023-12-21 14:46:02 -08:00
Leo Puvilland
11b56e8551 Fix path to Matrix-Notify script
Signed-off-by: Leo Puvilland <leo@craftcat.dev>
2023-12-20 10:29:15 -08:00
Leo Puvilland
e04948b31a Fix template file not being copied (matrix-notify script)
Signed-off-by: Leo Puvilland <leo@craftcat.dev>
2023-12-19 09:18:16 -08:00
Leo Puvilland
05bff0da9f nagios matrix notify: use full filename for script in role
Signed-off-by: Ryan Lerch <rlerch@redhat.com>
2023-12-19 10:13:23 +10:00
Leo Puvilland
48d7982ebf Correct syntax error in nagios role
Signed-off-by: Ryan Lerch <rlerch@redhat.com>
2023-12-19 10:08:07 +10:00
Leo Puvilland
5aafc6a1d2 Move nagios notifications to Matrix
Signed-off-by: Leo Puvilland <leo@craftcat.dev>
2023-12-18 15:55:30 -08:00
Kevin Fenzi
d727ee47ea nagios: remove another old notifs remnant
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2023-11-15 13:12:36 -08:00
Kevin Fenzi
fdf34aab57 nagios_server / noc02: set seboolean to allow certgetter to work
noc02 needs to be able to proxy to certgetter for the acme challenge for
ssl certs. So, set this there to allow that.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2023-11-08 15:40:23 -08:00
Kevin Fenzi
22dde8163b unbound: remove and retire unbound servers
These instances served long and well as fallback resolvers for
dnssec-trigger. This is no longer needed or used, so lets remove them.
See https://pagure.io/fedora-infrastructure/issue/11415

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2023-07-24 14:40:43 -07:00
Kevin Fenzi
71cdddf55b nagios: move the ipv6 specific ping config to a ping-ipv6.cfg file
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2022-11-17 16:39:11 -08:00
Kevin Fenzi
28fc20056a nagios: fix typo
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2022-11-17 16:30:06 -08:00
Kevin Fenzi
b9b35a09ed nagios: move ping.cfg to a template so it works for both nagios servers
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2022-11-17 16:19:50 -08:00
Stephen Smoogen
e36f982263 This should allow for ansible to build correctly the templates for noc01/noc02. 2022-11-17 12:06:00 -05:00
Seddik Alaoui Ismaili
9af427e1bf add ipv6 check for fedorapeople 2022-11-17 01:40:25 +00:00
Kevin Fenzi
b388a003b4 nagios: add checks for ssl certs on fcos and ocp4 endpoints, change to just checking proxy01
Add checks for ssl certs on fcos openshift endpoints.
Add checks for ocp4 wildcard certs.
Change check to only use proxy01/proxy01.stg instead of all proxies.
Ideally we really do want to check all proxies, but in practice this
results in like 70 alerts anytime the cert is going to expire.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2022-02-02 15:47:23 -08:00
Silvie Chlupova
6fa2999dbf copr: use already existing copr.cfg 2022-01-20 13:23:31 +01:00
Silvie Chlupova
8c5dc50c7e copr: move copr nagios services into separate file 2022-01-20 12:14:48 +01:00
Pavel Raiskup
6062eec80b nagios: drop copr_external.cfg from services 2021-08-10 09:59:23 +02:00
Pavel Raiskup
d2f9b772e9 nagios: move copr-ping to internal 2021-08-10 08:51:55 +02:00
Pavel Raiskup
f76859775c nagios: pick up copr_external.cfg services 2021-08-09 13:50:30 +02:00
Pavel Raiskup
29fb33bbb7 copr-be: test remaining results storage space 2021-07-28 13:51:16 +02:00
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
Tim Flink
4b5446f486 nagios: fixing template name, didn't see the j2 2020-05-22 18:35:30 -06:00
Tim Flink
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
Tim Flink
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
Tim Flink
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
Tim Flink
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