Commit Graph

321 Commits

Author SHA1 Message Date
Kevin Fenzi
6d0efee3cb nagios / client: allow noc01.rdu3 access to nrpe
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2025-06-22 09:01:18 -07:00
James Antill
e11f6f2262 Emergency fix for wiki install.
Signed-off-by: James Antill <james@and.org>
2025-05-22 18:11:09 -04:00
Kevin Fenzi
17fb0e324c rdu3: no openvpn server checks in rdu3 yet
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2025-05-21 16:52:33 -07:00
Kevin Fenzi
36417bc22a nagios_client: make sure the nrpe user is local
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2025-05-21 16:40:55 -07:00
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
Ryan Lerch
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
Ryan Lerch
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
Ryan Lerch
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
Ryan Lerch
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
Ryan Lerch
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
Ryan Lerch
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
Ryan Lerch
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
Ryan Lerch
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
7f2b98cb6e basset: retire no longer deployed service
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2024-09-24 11:43:47 -07:00
Jiri Podivin
f513e7cbcd Linting python scripts
Signed-off-by: Jiri Podivin <jpodivin@redhat.com>
2024-09-18 19:57:29 +00:00
Kevin Fenzi
0dfa11a6eb fedimg: signing off...
Thanks for all the uploads fedimg.
You go to a far far better place I'm sure.

There's no point in keeping it around now, as it's actually not working
and the replacement ( cloud-image-uploader) should work soon.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2024-08-13 16:40:01 -07: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
Michal Konecny
c8b62faaa4 [nagios_client] Fix for mailman api check
The mailman is now returning HTTP/1.1 instead of HTTP/1.0.

Signed-off-by: Michal Konecny <mkonecny@redhat.com>
2024-06-28 10:19:10 +02: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
84a7a7afc8 nagios: adjust nrpe for badges vs old fedbadges
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2024-05-28 13:54:53 -07:00
Kevin Fenzi
d366194a22 module-build-service (mbs): retire service
With the EOL of Fedora 38 yesterday, we are no longer building any
modules and can retire our module build service.

Note that toddlers needs to be adjusted still, that will happen after
this.

Thanks for all the modules!

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2024-05-22 13:38:53 -07: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
Seddik Alaoui Ismaili
c05bcd289f remove pynag from check ipa replica 2024-02-27 13:16:46 +00:00
Kevin Fenzi
a60ca7159f nuancier: retire and remove from ansible
See https://pagure.io/fedora-infrastructure/issue/11371
This service is retired.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2023-11-15 10:44:00 -08:00
Andrew Heath
96d9ed3d6b Adding more checks for the fedmsg socket 2023-08-16 14:08:16 -04:00
Kevin Fenzi
0066f3cc68 proxies / fedmsg_monitoring: revert part of last config change
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2023-08-15 14:37:27 -07: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
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
0944ac4ef3 copr-dist-git: decrease storage warning quota
With 5T storage, it is enough to warn on remaining 12%, and error on 6%.
2023-07-24 07:14:16 +02: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
Pavel Raiskup
09c7c868c6 copr-be: nagios: decrease the quota warning even more 2023-05-26 09:16:37 +02:00
Andrew Heath
9121258f52 reenable ansible nagios busgateway01 checks 2023-05-23 12:13:31 -04:00
Pavel Raiskup
2ed4e90feb copr-be: decrease the nagios warning quota to 10%
10% is still ~2.4T of free space, ATM it looks like enough to not start
the panic mode.

https://github.com/fedora-copr/copr/issues/2737
2023-05-22 15:35:40 +02:00
Andrew Heath
9d3c107ef0 Disabling ansible check till we can troubleshoot 2023-05-19 20:07:41 +00:00
Andrew Heath
3600553301 removing nommer and fixing RPM sign 2023-05-19 20:07:41 +00:00
Andrew Heath
1bbd805e17 Remove remaining greenwave checks for busgateway 2023-04-11 17:32:49 +00: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
Kevin Fenzi
18eecec303 nagios: adjust redhat.com email check
Right now there's often a backlog due to it not responding to the fedora
side. So, lets bump up the checks a bit so they do not alert all the
time.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2022-10-12 12:45:48 -07: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