Commit graph

112 commits

Author SHA1 Message Date
Kevin Fenzi
cebb78ed82 nagios_client: the check_systemd_units is in scripts, not script
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2021-03-25 13:58:20 -07:00
seddikalaouiismaili
eae91f0d2b install nrpe check for systemd units 2021-03-25 20:16:48 +00:00
Pierre-Yves Chibon
a32dabc92e nagios_client: install the pagure systemd checks on all pagure instances
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2021-02-12 12:37:26 +01:00
seddikalaouiismaili
890dd31cb0 script to monitor systemd units on pagure 2021-02-12 11:34:57 +00:00
Kevin Fenzi
5d03d396e6 nagios / client: fix typo from rsyslog PR
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-10-02 12:00:28 -07:00
seddikalaouiismaili
e785293064 add check for rsyslogd 2020-10-02 18:50:29 +00: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
Francois Andrieu
e1b6248a4c nagios: add check_postfix_redhat to bastion01 2020-07-22 19:41:11 +00:00
Rick Elrod
0135fc1102 nagios: Add script and check for checking that a timestamp within a file is within a delta of now, and then use this for alerting when websites stop building
Signed-off-by: Rick Elrod <relrod@redhat.com>
2020-04-24 21:34:26 +02:00
Rick Elrod
1a3e03e527 always set perms on nrpe files because sometimes they default badly
Signed-off-by: Rick Elrod <relrod@redhat.com>
2020-04-24 21:34:22 +02:00
Clement Verna
aa569ea75b ODCS: replace the process check by a service check.
Signed-off-by: Clement Verna <cverna@tutanota.com>
2020-04-24 21:34:19 +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
Kevin Fenzi
a8c8df48de bugyou: retire service and all it's parts
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-04-24 21:34:14 +02:00
Rick Elrod
d6844d19b5 nagios_client: sigul-bridge01 isn't a thing, but sign-bridge01 is
Signed-off-by: Rick Elrod <relrod@redhat.com>
2020-04-24 21:34:14 +02:00
Rick Elrod
534fa31934 nagios: check sigul bridge proc
Signed-off-by: Rick Elrod <relrod@redhat.com>
2020-04-24 21:34:14 +02:00
Clement Verna
9ef75bdb24 ODCS: check for odcs_celery_backend instead of fedmsg-hub-3 in nagios
Signed-off-by: Clement Verna <cverna@tutanota.com>
2020-04-24 21:34:14 +02:00
Mikolaj Izdebski
6cfb6d6495 nagios_client: Remove Koschei NRPE checks 2020-04-24 21:34:11 +02:00
Kevin Fenzi
81fb4582e7 ansible: change when conditions to use == instead of is when checking strings.
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-04-24 21:34:10 +02:00
Karsten Hopp
c9ed62ac32 update ansible_distribution_major_version conditionals
Signed-off-by: Karsten Hopp <karsten@redhat.com>
2020-04-24 21:34:10 +02:00
Kevin Fenzi
cb72632974 nagios_client: also tag this making directory task so nagios_client can be run by itself.
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-04-24 21:34:08 +02:00
Aurélien Bompard
d594733771 More RabbitMQ monitoring!
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2020-04-24 21:34:07 +02:00
Aurélien Bompard
963ff9586b Add more RabbitMQ checks
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2020-04-24 21:34:07 +02:00
Aurélien Bompard
0ce00beb99 Fix NRPE config file permissions
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2020-04-24 21:34:07 +02:00
Aurélien Bompard
7c2377748e NRPE does not accept arguments
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2020-04-24 21:34:07 +02:00
Aurélien Bompard
e7ab522de3 Add a RabbitMQ check on the cluster
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2020-04-24 21:34:07 +02: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
51be1fa32d Remove osbs check here too /cc cverna
Signed-off-by: Rick Elrod <relrod@redhat.com>
2019-02-12 00:10:39 +00:00
Rick Elrod
4c8cf933fc make odcs-backend check for fedmsg-hub-3 instead (infra #7526)
Signed-off-by: Rick Elrod <relrod@redhat.com>
2019-01-28 08:54:46 +00:00
Stephen Smoogen
d936a22544 this will fix a missing _proc in the file name. 2018-12-17 15:49:53 +00:00
Stephen Smoogen
3bbc0031f4 This will add minimal monitoring for repospanner on pkgs01.stg. This only says it is running or not. 2018-12-17 15:44:31 +00:00
Randy Barlow
2911286a3a Rename check_fedmsg_masher_proc to check_fedmsg_composer_proc and have it check fedmsg-hub-3.
Signed-off-by: Randy Barlow <randy@electronsweatshop.com>
2018-11-19 21:20:15 +00:00
Patrick Uiterwijk
7a8de6026e Silly me... Also add this to the list to actually sync out :)
Signed-off-by: Patrick Uiterwijk <patrick@puiterwijk.org>
2018-10-20 19:35:16 +02:00
Kevin Fenzi
a8714caab3 first cut at changing all the old |changed to is changed per ansible deprecations 2018-05-07 23:51:48 +00:00
Kevin Fenzi
8a0c1f266f and setup check on mailman01 nrpe side 2018-02-07 01:24:52 +00:00
Kevin Fenzi
3cea53b5b5 perhaps this needs quoted 2018-02-06 23:16:37 +00:00
Kevin Fenzi
1cb897a769 Clean up nagios client for old stuff that no longer matters.
Add a mailman api check. It gets a 401 now, but at least that tells us it's working.
2018-02-06 23:12:14 +00:00
Patrick Uiterwijk
a89e7984fa Add quotes
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
2018-01-12 21:48:40 +00:00
Patrick Uiterwijk
2b879d49e6 tags
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
2018-01-12 21:48:01 +00:00
Patrick Uiterwijk
f46144bd78 Add mirrorlist container selinux policy
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
2018-01-12 21:47:07 +00:00
Patrick Uiterwijk
ca798ca07d Add check_mirrorlist_cache.cfg
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
2018-01-12 20:44:44 +00:00
Ralph Bean
89fa8fa544 Add nagios check for odcs-backend proc. 2017-10-17 14:17:30 +00:00
Patrick Uiterwijk
adcbf72f03 Packageize this, packageize that, packageize the world
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
2017-10-08 22:25:52 +00:00
f207778a0e add simple monitoring for pagure's celery redis queue
Signed-off-by: Ricky Elrod <codeblock@fedoraproject.org>
2017-05-26 23:09:02 +00:00
a6867db34f try it here instead
Signed-off-by: Ricky Elrod <codeblock@fedoraproject.org>
2017-05-15 21:30:35 +00:00
e22ac77e8c _ not /
Signed-off-by: Ricky Elrod <codeblock@fedoraproject.org>
2017-05-15 21:06:57 +00:00
a3b0b87fc7 add nagios check for mirrorlist container tcp. maybe. Or break everything, which is more likely.
Signed-off-by: Ricky Elrod <codeblock@fedoraproject.org>
2017-05-15 20:59:43 +00:00
Stephen Smoogen
00ed6ca8c6 do remove the mirrorlist stuff we dont use anymore 2017-05-05 22:14:35 +00:00
Stephen Smoogen
130b22ab72 test for vpn 2017-05-01 22:59:41 +00:00
Kevin Fenzi
8a6e51a9a6 change state=running to start=started as the old one is going away in ansible 2.7 2017-04-13 01:37:21 +00:00