Commit graph

365 commits

Author SHA1 Message Date
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
Silvie Chlupova
87e510f378 copr: nagios check for copr frontend, backend and distgit
Fixes: https://pagure.io/copr/copr/issue/2002
2022-01-20 11:47:14 +01:00
Silvie Chlupova
8d9f6e0c4c copr: nagios check for copr frontend, backend and distgit
Fixes: https://pagure.io/copr/copr/issue/2002
2022-01-20 08:33:23 +00:00
Kevin Fenzi
0f2ae88d63 nagios: add some copr team members
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2021-11-21 14:43:57 -08:00
49c1616ca7 Update nagios check for accounts.fedoraproject.org 2021-09-29 19:04:41 +00:00
Kevin Fenzi
844177a0ae nagios: try and sepecify the additional groups another way
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2021-09-02 11:25:38 -07:00
Kevin Fenzi
d4ad74ae5e nagios / vpnclients: fix typo in previous commit
group was used, but ansible needs groups here.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2021-09-02 10:28:20 -07:00
Stephen Smoogen
2272ab1f6f Add in a test to make that the nagios templates try to add in groups
with no vpn.

Signed-off-by: Stephen Smoogen <ssmoogen@redhat.com>
2021-08-27 11:05:40 -04:00
Pavel Raiskup
ff215ea2b9 nagios: external: define copr_* hostgroups 2021-08-09 15:25:19 +02:00
Kevin Fenzi
5b1b2c403d nagios: fix ipsilon check to look for something in the new theme
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2021-03-24 18:13:37 -07:00
Kevin Fenzi
3caa063699 nagios_server / services: registry is only on proxy01/10
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-12-02 09:57:53 -08:00
09d0a5bde5 Add monitoring to oci-registry api/webui (Fixes #9231) 2020-12-01 23:44:22 +01:00
Mark O'Brien
f5288ed317 [nagios] add mobrien as admin 2020-08-24 18:58:48 +01:00
Francois Andrieu
f8ad3f83de nagios_server: monitoring docs.fedoraproject.org
https://pagure.io/fedora-infrastructure/issue/8956

Signed-off-by: Francois Andrieu <naolwen@gmail.com>
2020-07-30 16:21:17 +00:00
Ernestas Kulik
4473905341 nagios: Add httpd monitoring for resultsdb01
This should help prevent longer outages due to not being monitored.

https://pagure.io/fedora-infrastructure/issue/8494

Signed-off-by: Ernestas Kulik <ekulik@redhat.com>
Signed-off-by: Francois Andrieu <naolwen@gmail.com>
2020-07-10 13:40:18 -07:00
Stephen Smoogen
b0c7013f73 you need an empty line because jinja eats the carriage return and nagios configs cant handle } not being on a line by itself 2020-07-01 18:25:38 -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
Stephen Smoogen
28ba173acb move the dns_external check to using a group variable in the nagios group. This takes it out of the main inventory where its names do not match and this other group was not used in any other playbook 2020-07-01 17:40: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
93b8e0c893 nagios_server: actually define the address for iad2_gw
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-06-30 16:25:11 -07:00
Kevin Fenzi
e7edf9ef55 nagios_server: missed a phx2-gw in mgmt hosts.
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-06-30 16:09:39 -07:00
Kevin Fenzi
9d9d7f6c5c nagios_server: more adjustments, drop fas for now, fix gateway hosts harder
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-06-30 15:59:32 -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
88ab378bba nagios_server: drop phx2_internal stuff, fix mailman01 to use iad2
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-06-30 14:40:14 -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
Kevin Fenzi
b7a5fbcc7e nagios: need a newline here
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-06-30 14:18:36 -07:00
Rick Elrod
9b531316ae nagios: fix comment
Signed-off-by: Rick Elrod <relrod@redhat.com>
2020-06-20 21:01:41 -05:00
Rick Elrod
d990cc884a nagios: move comment out of block
Signed-off-by: Rick Elrod <relrod@redhat.com>
2020-06-20 21:01:41 -05:00
Rick Elrod
853975da7d nagios: nix phx2 mgmt
Signed-off-by: Rick Elrod <relrod@redhat.com>
2020-06-20 18:31:29 -05:00
Rick Elrod
7636206d12 nagios: nuke bastion02.iad2 from here for now
Signed-off-by: Rick Elrod <relrod@redhat.com>
2020-06-20 18:25:59 -05:00
Stephen Smoogen
6a411fae1b try to clean up 2020-06-09 11:27:52 -04:00
Stephen Smoogen
cd97509505 make an iad2-internal hosts for our systems 2020-06-09 11:19:07 -04:00
Stephen Smoogen
6057fec643 make changes to allow for noc01.iad2 to see hosts. ( this is how you break^wfix nagios.. one config at a time) 2020-06-09 10:54:33 -04:00
Stephen Smoogen
bcda2606fe try to make this work in iad2 2020-06-09 10:45:02 -04:00
Stephen Smoogen
9836838b94 as we empty groups of hosts in phx2, we need to add them to the exclude_phx2_internal 2020-06-08 16:19:49 -04:00
Stephen Smoogen
e26ead0f70 try and get nagios working on noc01.iad2 2020-06-08 11:17:20 -04:00
Stephen Smoogen
b72c46c607 according to https://docs.ansible.com/ansible/2.5/dev_guide/testing/sanity/no-dict-iteritems.html iteritmes is not in python3. changing old items 2020-06-06 16:57:01 -04:00
Stephen Smoogen
fd67776bab Revert "have to add group by group to see where break is"
This reverts commit 553341ca7a.
2020-06-06 16:53:30 -04:00
Stephen Smoogen
553341ca7a have to add group by group to see where break is 2020-06-06 16:51:08 -04:00
Stephen Smoogen
7f5b96a8e4 Revert "have to add group by group to see where break is"
This reverts commit 59af0e88ab.
2020-06-06 16:50:44 -04:00
Stephen Smoogen
59af0e88ab have to add group by group to see where break is 2020-06-06 16:47:10 -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
89f91a9642 Clean up nagios to deal with dropped services and that servicegroups can NOT end with a , while every other nagios group can. 2020-05-21 13:22:26 -04:00
Stephen Smoogen
211641ab19 test to see if these variables are working for iad2 2020-05-21 12:28:46 -04:00
Stephen Smoogen
7b4872c557 IAD2this should work.. I bet it wont 2020-05-15 20:23:26 -04:00