193 Commits

Author SHA1 Message Date
Greg Sutcliffe
263a84d3b5 Zabbix: forgot README update for new Zabbix scripts
Signed-off-by: Greg Sutcliffe <fedora@emeraldreverie.org>
2026-01-23 10:22:46 +00:00
Greg Sutcliffe
0e0b5f92c6 Zabbix: add shush/ok scripts and playbook
Signed-off-by: Greg Sutcliffe <fedora@emeraldreverie.org>
2026-01-21 17:00:06 +00:00
James Antill
573bfa12f7 updates-uptimes: Move the script to the installable dir.
Signed-off-by: James Antill <james@and.org>
2025-08-13 18:27:35 -04:00
James Antill
e29a37a23a updates-uptimes: Add dynamic uptime for main data. Fix cron (sigh 12h fix).
Signed-off-by: James Antill <james@and.org>
2025-08-12 17:20:21 -04:00
James Antill
a0c202f3af updates-uptimes: More UI changes. Add history/diffstat. Add cron job.
Signed-off-by: James Antill <james@and.org>
2025-08-12 02:30:34 -04:00
James Antill
9f3ece551e updates-uptimes: Add update-daily-refresh. Tweak terminal UI.
Signed-off-by: James Antill <james@and.org>
2025-08-08 16:20:34 -04:00
James Antill
38f3be9ca9 updates-uptimes: Stats command and UI improvements.
Signed-off-by: James Antill <james@and.org>
2025-08-07 15:41:35 -04:00
James Antill
339f877842 updates-uptimes: Add update-flush command explicitly.
Signed-off-by: James Antill <james@and.org>
2025-08-05 21:04:22 -04:00
James Antill
86a1524632 updates-uptimes: Change time.now() to time.time(), py not golang.
Signed-off-by: James Antill <james@and.org>
2025-08-05 20:51:24 -04:00
James Antill
f252273413 updates-uptimes: Fix diff vs. older backups, also add mass upgrade comments.
Signed-off-by: James Antill <james@and.org>
2025-08-05 15:21:04 -04:00
James Antill
88e5301eac updates-uptimes: Fix typo on os name match.
Signed-off-by: James Antill <james@and.org>
2025-08-05 14:57:46 -04:00
James Antill
cd2ec90a5b playbooks/updates-uptimes: Add distro. to data and script to view data.
Signed-off-by: James Antill <james@and.org>
2025-08-05 14:49:18 -04:00
Nils Philippsen
6c85fda0c9 Mass remove/replace iad2 -> rdu3, 10.3. -> 10.16.
Signed-off-by: Nils Philippsen <nils@redhat.com>
2025-07-03 20:05:02 +02:00
James Antill
3df4b14be5 public-db-copy: Keep doing backups from iad2 until Monday.
Signed-off-by: James Antill <james@and.org>
2025-06-27 10:25:59 -04:00
James Antill
610f645d5b public-db-copy: Change from iad2 to rdu3.
Signed-off-by: James Antill <james@and.org>
2025-06-27 10:05:17 -04:00
Greg Sutcliffe
e74727c5dd tools: add Dell iDRAC XML generator 2025-05-28 21:52:22 +00:00
Kevin Fenzi
e3e2cb1d93 odcs: retire service ( infra 12192 )
Time to retire ODCS. ELN is moved off and that was the last thing using
it. Thanks for all the service ODCS!

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2024-09-24 18:21:51 +00:00
Kevin Fenzi
c4024c4aa4 pdc: fare thee well!
This commit retires pdc from ansible.
The website should get redirected to a wiki page about the retirement.
If for some reason we need to bring things back, the vm's will still
have their disks and xml saved off so we can bring it back.
Would need to revert this, run proxy playbooks and do a little cleanup
on the redirect, then bring the vm's back up.
Hopefully we don't have to.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2024-08-02 13:39:15 -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
Francois Andrieu
fb76ca2a90 logview: fix '-l' (list) option 2024-02-19 19:01:07 +01:00
Kevin Fenzi
f9eac86c72 batcave01: ansible-core now switches back to python-3.9
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2023-11-13 14:15:25 -08:00
Kevin Fenzi
dce1e12f63 ansible: ansible is using python3.11 now, so adjust these scripts too
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2023-05-17 16:53:55 -07:00
Kevin Fenzi
3e73c99574 public-db-copy: correct datanommer db name
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2023-04-03 13:19:39 -07:00
Kevin Fenzi
af2ddc228c db-datanommer02: switch backups to 02 and copy public db from there too
We switched a while ago to db-datanommer02 which is a timescaledb from
the old db-datanommer01. However, backups were not working right until
recently. Now that they are, switch backups to backup 02 instead of 01
and also copy that one public. This should allow us to retire
db-datanommer01 entirely now.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2023-03-30 11:23:14 -07:00
Kevin Fenzi
3a73ef0d6d ansible-core is now using python3.9
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2022-11-16 14:15:02 -08:00
Frank Ch. Eigler
1225279614 ansible-playbook-check-diff: rewrite as find|xargs one-liner
Taking advantage of xargs's -P option to limit concurrency
while executing all the ansible-playbook --check jobs ensures
that batcave01 is not overstressed during these checks.
2022-09-14 18:18:40 +00:00
Aurélien Bompard
82bead6642 Allow specifiying the username in scripts/generate-oidc-token
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2022-07-15 19:12:17 +02:00
Pedro Moura
9c8f04057f Add tahrir to the public-db-copy script
Signed-off-by: Pedro Moura <pmoura@redhat.com>
2022-06-11 18:46:58 +00:00
Kevin Fenzi
c679788f00 logview: 2to3 it and make sure it is using python3.8
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2022-05-23 13:04:17 -07:00
Kevin Fenzi
b77fdc9637 inventory / staging: switch staging default to mtu of 9000
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2022-05-15 13:14:03 -07:00
Andrew Heath
4e1394f7b2 Updated script per 10509 to remove fas-clientsetc 2022-05-04 18:12:06 +00:00
Kevin Fenzi
40f6b8fef9 list-vms-per-host: switch to python3.8 to aline with ansible-core
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2022-04-04 17:20:01 -07:00
Francois Andrieu
0bfc8b728d logview: add header, extract play run date from path for easier filtering with -d option 2021-01-05 23:34:01 +01:00
Francois Andrieu
5e91005e93 logview: migrate optparse to argparse, add additional date filtering capabilities, and some pep8 fixes 2021-01-05 23:34:01 +01:00
Francois Andrieu
80f3f3b574 logview: playbooks stats, tabular display, improve date filtering and some more
Signed-off-by: Francois Andrieu <darknao@fedoraproject.org>
2021-01-05 23:34:01 +01:00
Francois Andrieu
6d1d72ee20 logview: reformat output
Signed-off-by: Francois Andrieu <darknao@fedoraproject.org>
2021-01-05 23:34:01 +01:00
Francois Andrieu
71c8cedc00 logview: add an option to list all playbook ever run
Signed-off-by: Francois Andrieu <darknao@fedoraproject.org>
2021-01-05 23:34:01 +01:00
Francois Andrieu
84f9b4aed3 logview: hosts filtering
Signed-off-by: Francois Andrieu <darknao@fedoraproject.org>
2021-01-05 23:34:01 +01:00
Francois Andrieu
aca152fe74 logview: add log_path parameter
Signed-off-by: Francois Andrieu <darknao@fedoraproject.org>
2021-01-05 23:34:01 +01:00
Francois Andrieu
a221e0db50 logview: add gzip compression on logfiles
Signed-off-by: Francois Andrieu <darknao@fedoraproject.org>
2021-01-05 23:34:01 +01:00
Bernhard M. Wiedemann
d0ea0551a9 Port generate-oidc-token to python3
because python2 is already end-of-life

Signed-off-by: Bernhard M. Wiedemann <bwiedemann@suse.de>
2020-08-05 13:02:26 +00:00
Francois Andrieu
777637f7a6 logview: minor pep8 fixups
Signed-off-by: Francois Andrieu <naolwen@gmail.com>
2020-07-16 18:29:34 +00:00
Francois Andrieu
3696752d08 logview: use dateutil for date parsing
Signed-off-by: Francois Andrieu <naolwen@gmail.com>
2020-07-16 18:29:34 +00:00
Kevin Fenzi
b7786f17ed scripts / auth-keys-from-fas: run 2to3 and move to python3
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-07-12 14:17:54 -07:00
Francois Andrieu
84b859b342 scripts/logview: Few fixups for python3 compatibility
Signed-off-by: Francois Andrieu <naolwen@gmail.com>
2020-07-09 17:28:42 +02:00
Kevin Fenzi
d5babb1721 scripts/logview: 2to3 port to python3
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-07-01 18:34:59 -07:00
Kevin Fenzi
7984b46eb7 The great phx2 pruning run (1st cut).
Since we no longer have any machines in phx2, I have tried to remove
them from ansible. Note that there are still some places where we need
to remove them still: nagios, dhcp, named were not touched, and in cases
where it wasn't pretty clear what a conditional was doing I left it to
be cleaned up later.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-06-14 14:14:31 -07:00
Pierre-Yves Chibon
e83dcc26fa scripts/users-from-fas: import the print_function from __future__ for when we need to be py2 compatible
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2020-06-09 23:19:08 +02:00
Pierre-Yves Chibon
491ee01d35 First pass at porting scripts/users-from-fas to python3
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2020-06-09 23:17:38 +02:00
Pierre-Yves Chibon
af81ba7546 vhost-info: run black over the code to make it more consistent and modern
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2020-06-08 21:54:38 +02:00