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
Kevin Fenzi
22f3d8832f
handlers: more renaming fixes
...
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2025-01-24 14:06:11 -08:00
Kevin Fenzi
d30b2ecfaa
nagios_client: fix shell call to useradd
...
This is a actual shell var, not a call to the ansible shell plugin.
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2025-01-15 17:08:56 -08:00
47c68f478d
ansiblelint fixes - fqcn[action-core] - template to ansible.builtin.template
...
Replaces references to template: with ansible.builtin.template
Signed-off-by: Ryan Lerch <rlerch@redhat.com>
2025-01-15 11:30:29 +10:00
3c41882bb0
ansiblelint fixes - fqcn[action-core] - shell to ansible.builtin.shell
...
Replaces references to shell: with ansible.builtin.shell
Signed-off-by: Ryan Lerch <rlerch@redhat.com>
2025-01-15 11:29:10 +10:00
25391e95b7
ansiblelint fixes - fqcn[action-core] - package to ansible.builtin.package
...
Replaces many references to package: with ansible.builtin.package
Signed-off-by: Ryan Lerch <rlerch@redhat.com>
2025-01-15 11:28:00 +10:00
462176464b
ansiblelint fixes-- fqcn[action-core] - command to ansible.builtin.command
...
Replaces many references to command: with ansible.builtin.command
Signed-off-by: Ryan Lerch <rlerch@redhat.com>
2025-01-15 11:26:47 +10:00
6a3816dfdc
ansiblelint fixes-- fqcn[action-core] - copy to ansible.builtin.copy
...
Replaces many references to 'copy' with ansible.builtin.copy
Signed-off-by: Ryan Lerch <rlerch@redhat.com>
2025-01-15 10:43:31 +10:00
62952df107
ansiblelint fixes-- fqcn[action-core] - file to ansible.builtin.file
...
Replaces many references to file: with ansible.builtin.file
Signed-off-by: Ryan Lerch <rlerch@redhat.com>
2025-01-15 10:41:52 +10:00
691adee6ee
Fix name[casing] ansible-lint issues
...
fix 1900 failures of the following case issue:
`name[casing]: All names should start with an uppercase letter.`
Signed-off-by: Ryan Lerch <rlerch@redhat.com>
2025-01-14 20:20:07 +10:00
89f6f1fc32
Fix majority of remaining yamllint warnings and errors
...
Signed-off-by: Ryan Lerch <rlerch@redhat.com>
2024-11-28 17:31:45 +10:00
Kevin Fenzi
9a444067cd
noc-cc01: also install client checks
...
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2024-08-01 17:30:03 -07:00
Kevin Fenzi
289bda5698
nagios_client: install client on noc-cc01
...
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2024-08-01 16:34:40 -07:00
James Antill
d7258e320e
Add DNF countme nagios checks.
...
Signed-off-by: James Antill <james@and.org>
2024-06-27 17:35:23 +00:00
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
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
Pavel Raiskup
d0f7c7ca30
copr: use again a deterministic nrpe UID
...
It was notoriously colliding with other system users like copr-signer
and others.
Revert "copr: test without nrpe_client_uid specified"
This reverts commit 435b71a695
.
2022-11-22 10:54:00 +01:00
Pavel Raiskup
435b71a695
copr: test without nrpe_client_uid specified
...
Revert "copr: define nrpe_client_uid=500"
This reverts commit fa5cd7344c
.
2022-11-22 10:41:26 +01:00
Pavel Raiskup
fa5cd7344c
copr: define nrpe_client_uid=500
2022-11-22 10:37:15 +01:00
Pavel Raiskup
baa6a0dff0
nagios_client: typo s/null/omit/
2022-11-22 10:25:54 +01:00
Pavel Raiskup
2627babd44
nagios_client: precreate nrpe client
...
With a specific UID if {{ nrpe_client_uid }} is defined.
2022-11-22 10:16:14 +01: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
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