Michal Konecny
6428f8f772
Sunset github2fedmsg and fedmsg
...
This commit is removing all the fedmsg related stuff from ansible
repository.
Signed-off-by: Michal Konecny <mkonecny@redhat.com>
2025-02-13 10:08:51 +00:00
Jiri Podivin
f513e7cbcd
Linting python scripts
...
Signed-off-by: Jiri Podivin <jpodivin@redhat.com>
2024-09-18 19:57:29 +00:00
Seddik Alaoui Ismaili
c05bcd289f
remove pynag from check ipa replica
2024-02-27 13:16:46 +00:00
Andrew Heath
96d9ed3d6b
Adding more checks for the fedmsg socket
2023-08-16 14:08:16 -04:00
Kevin Fenzi
1c0516c831
nagios_client: adjust fedmsg monitoring
...
Copy the fixes from exceptions monitoring to backlog.
Fix the calls that were passing a trailing - which isn't needed anymore.
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2023-08-15 14:25:56 -07:00
Andrew Heath
c5daa84f53
Have script check for fedmsg socket
2023-08-15 21:18:18 +00:00
Kevin Fenzi
314fa870a9
notifs-backend: fix check script and increase limits
...
The check_rabbitmq_size script seems to have critical and warning
backwards and is doing str comparisons when int should be used.
Also increase the limits a bunch as we don't want to be notified if it's
just backloged a bit.
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2023-07-10 15:00:04 -07:00
Andrew Heath
a4ca219ed9
updating to point at monitoring-fedmsg-hub-3.socke
2023-05-30 15:49:45 -04:00
Andrew Heath
9a3bd882df
adding () per python3
2023-05-30 14:41:30 -04:00
Andrew Heath
de5ab8f045
updated the script to fix issues
2023-05-30 13:30:23 -04:00
Aurélien Bompard
8962731dbc
Don't use datetime.fromtimestamp yet
...
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2022-05-24 18:37:27 +02:00
Aurélien Bompard
e979a1955e
Update the datanommer Nagios check to query datagrepper directly
...
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2022-05-24 16:17:14 +00:00
Mikolaj Izdebski
26c38caafa
nagios: Remove check for supybot fedmsg plugin
...
Zodbot no longer has fedmsg plugin installed - supybot-fedmsg package
is not installed on value02 (RHEL 8) and supybot-fedmsg upstream
project on GitHub has been archived.
2021-11-03 22:49:21 +00:00
Michael Scherer
3b8504f293
Fix mention of Freenode
2021-07-02 11:17:20 +02:00
seddikalaouiismaili
ac9750d6a0
correct output message for nagios check
2021-06-07 23:48:23 +00:00
Kevin Fenzi
740109a295
nagios_client / check_systemd_units: remove old debugging output
...
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2021-03-25 14:25:17 -07:00
seddikalaouiismaili
eae91f0d2b
install nrpe check for systemd units
2021-03-25 20:16:48 +00:00
Pierre-Yves Chibon
65c85dd5ec
nagios: Fix the check_supybot_pugin
...
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2020-10-06 17:03:57 +02:00
Pierre-Yves Chibon
342c056ae4
nagios_client: Fix the check_ipa_replication plugin
...
It looks like the data it retrieves is in bytes and thus needs to be
decoded into a unicode string so we can use it as a regular string
in our code later.
Fixes https://pagure.io/fedora-infrastructure/issue/9372
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2020-10-06 10:46:45 +02:00
Kevin Fenzi
0c85e1a2e1
nagios / client / check_ipa_replication: 2to3 on the script.
...
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-10-05 16:59:22 -07:00
Mark O'Brien
32330de141
update nagios client checks to py3
2020-10-05 15:17:25 +01:00
Mark O'Brien
d62e9c6e05
nagios file exists in 2 places so updating second file
2020-09-25 16:24:49 +01:00
655d167750
nagios: fine tune mail queue check on bastion01
...
Signed-off-by: Francois Andrieu <darknao@fedoraproject.org>
2020-08-20 21:01:16 +02:00
Rick Elrod
e566487ec0
Add crl nextUpdate check script for nagios, but not used anywhere yet
...
Signed-off-by: Rick Elrod <relrod@redhat.com>
2020-08-06 09:29:53 -05:00
Francois Andrieu
da5599c3a8
check_postfix_queue.py: fix args type
2020-07-22 19:41:11 +00:00
Francois Andrieu
bf533dbca7
nagios_client: check postfix queue length for all or specific domain (ie. redhat.com)
2020-07-22 19:41:11 +00:00
Francois Andrieu
30d704f486
nagios_client: make check_raid python 2/3 compatible
...
Signed-off-by: Francois Andrieu <naolwen@gmail.com>
2020-07-09 17:28:42 +02: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
4e71722d8a
nagios/fedmsg: make changes yesterday remain py2 backwards compatible
...
Signed-off-by: Rick Elrod <relrod@redhat.com>
2020-04-24 21:34:22 +02:00
Rick Elrod
40e13bcbf0
python3-ize the fedmsg check scripts, and on py3 boxes make it check a valid socket path
...
Signed-off-by: Rick Elrod <relrod@redhat.com>
2020-04-24 21:34:21 +02:00
Kevin Fenzi
08f62c2df5
nagios client / haproxy: set this to 2048 too
...
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-04-24 21:34:20 +02:00
Stephen Smoogen
68ddf2b343
all this nagios stuff assumes python2 which will not work on F30+
2020-04-24 21:34:19 +02:00
Kevin Fenzi
53db2ac629
nagios: check_lock is python2
...
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-04-24 21:34:14 +02:00
Kevin Fenzi
a45be3147b
supybot: ignore freenodes 'frigg' bot that sends privmessages on connect
...
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2019-02-12 22:07:09 +00:00
Clement Verna
ae70d3d6d3
Remove OSBS build check from nagios
...
Signed-off-by: Clement Verna <cverna@tutanota.com>
2019-02-11 17:59:45 +01:00
Clement Verna
eb5e9a5138
NAGIOS: Update check_osbs_builds check to use Openshift cli instead of osbs-client
...
Signed-off-by: Clement Verna <cverna@tutanota.com>
2018-12-13 17:07:07 +01:00
Stephen Smoogen
8190e9bb6f
this should fix the nagios check on raid
2018-11-11 21:22:15 +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
d3ea8120ee
Add some more selinux policy to fi-nrpe
...
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
2018-01-12 21:47:07 +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
Patrick Uiterwijk
7c6e97cc6f
Remove check_haproxy_mirrorlist check. It doesn't work with containerized mirrorlist
...
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
2017-02-18 10:01:17 +00:00
Stephen Smoogen
8cf72ff116
put in the first run at new nagios configs
2017-01-05 00:55:16 +00:00
Ralph Bean
0cf7929bac
Move nagios client and server into a namespaced role.
2016-02-23 02:35:50 +00:00
Martin Krizek
6947b5d382
nagios check_testcloud: add client-side definition
2016-02-17 09:59:01 +00:00
Ralph Bean
bcbb477bce
Make this timesince script able to handle topics.
2016-01-29 21:42:57 +00:00
Kevin Fenzi
21f9252143
Add check_lock_file_age check for fas01
2015-02-20 15:11:12 +00:00
Kevin Fenzi
3068bc611e
Lets try and fix up checks on pkgs02
2015-02-19 15:34:21 +00:00
Kevin Fenzi
75a8d7b4ee
Add this script here too.
2015-01-21 01:55:33 +00:00
Ralph Bean
eacfdb95ba
The scrutiny of axilleas.
2014-11-24 14:26:23 +00:00
Ralph Bean
85c486b34b
Check for connectivity to memcached.
...
This will attempt to call the daemon's stats command which, if broken, might
hung and cause nrpe to time out. We want that, as it will give us a clue to
what might be causing some other app to fail.
2014-11-19 18:35:14 +00:00