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
Ralph Bean
b3a97a1c91
Add two new nagios checks for the FMN "Producers"
2014-10-02 13:42:27 +00:00
Ralph Bean
a365f42bd8
Catch another UNKNOWN condition for the fedmsg nagios checks.
2014-08-07 11:58:35 +00:00
Ralph Bean
8acd523425
NRPE selinux policy.
2014-07-17 19:48:15 +00:00
Ralph Bean
9048203023
Strip off our nice new logging prefix here.
2014-07-17 19:28:25 +00:00
Ralph Bean
8999dc9717
Datanommer history nagios checks.
2014-07-17 19:19:16 +00:00
Ralph Bean
afe872aa83
Add the supybot plugin check script in from puppet.
2014-06-11 12:38:43 +00:00
Ralph Bean
b90bf85b3d
Bump the zmq timeout on these nagios checks.
2014-05-22 14:56:48 +00:00
Ralph Bean
7b84ea9663
Also, improve the other two new fedmsg checks.
2014-05-19 14:26:38 +00:00
Ralph Bean
fb03577eea
Make the fedmsg check producers/consumers check a little smarter.
2014-05-19 14:20:21 +00:00
Ralph Bean
e87b4635b8
Cast to an int, otherwise error condition is never met.
2014-05-12 20:25:29 +00:00
Ralph Bean
c96195506a
Introduce new fedmsg nagios checks from Janez Nemanic.
...
See https://fedorahosted.org/fedora-infrastructure/ticket/4044
2014-05-12 16:43:09 +00:00
Ralph Bean
ab1e54e54c
Add some nagios client configuration for the new packages03,4 nodes.
2014-03-14 19:44:56 +00:00
Kevin Fenzi
3ccd34fad9
Clean up nagios client templates.
2013-08-19 21:14:59 +00:00
Kevin Fenzi
6faab6d9bc
Move this to templates too
2013-08-19 21:08:14 +00:00
Kevin Fenzi
8e2ec48cc0
Migrate a bunch of things to roles. Thanks to misc!
2013-08-19 20:12:26 +00:00