[PR #291] [MERGED] scripts, doc, nrpe probes #379

Closed
opened 2026-05-07 00:20:37 +02:00 by BreizhHardware · 0 comments

📋 Pull Request Information

Original PR: https://github.com/ovh/the-bastion/pull/291
Author: @speed47
Created: 2/2/2022
Status: Merged
Merged: 2/9/2022
Merged by: @speed47

Base: masterHead: dev/slesimpl/scripts


📝 Commits (10+)

  • b4a1538 remove compress-old-logs script, as osh-encrypt-rsync will do the job instead
  • 4104340 feat: osh-encrypt-rsync: handle sqlite and user logs along with ttyrec files
  • bae2183 enh: cron scripts: factorize common code and standardize logging
  • fe56d0f chore: fix typos
  • 266a1ed enh: osh-encrypt-rsync: catch warnings emitted by GetOptions
  • 1bc3037 fix: piv-grace-reaper: don't use hash values (had no impact)
  • 20b2085 fix: get_group_list() returned invalid members list (was not used anywhere)
  • 6c3bd24 enh: osh-piv-grace-reaper: run only on master, standardize config reading
  • 1b09246 enh: osh-lingering-sessions-reaper: make it configurable
  • 9089ee5 feat: add osh-cleanup-guest-key-access.pl script

📊 Changes

81 files changed (+2241 additions, -687 deletions)

View changed files

📝 bin/admin/fixrights.sh (+2 -0)
📝 bin/admin/install (+5 -0)
📝 bin/admin/osh-sync-watcher.sh (+18 -6)
📝 bin/cron/osh-backup-acl-keys.sh (+4 -35)
bin/cron/osh-cleanup-guest-key-access.pl (+163 -0)
bin/cron/osh-compress-old-logs.sh (+0 -39)
📝 bin/cron/osh-encrypt-rsync.pl (+229 -123)
📝 bin/cron/osh-lingering-sessions-reaper.sh (+7 -6)
📝 bin/cron/osh-orphaned-homedir.sh (+10 -11)
📝 bin/cron/osh-piv-grace-reaper.pl (+30 -15)
📝 bin/cron/osh-remove-empty-folders.sh (+4 -38)
📝 bin/cron/osh-rotate-ttyrec.sh (+6 -4)
📝 bin/proxy/osh-http-proxy-daemon (+2 -3)
contrib/nrpe/README.md (+15 -0)
contrib/nrpe/etc/nagios/nrpe.d/check_bastion_healthcheck.cfg (+1 -0)
contrib/nrpe/etc/nagios/nrpe.d/check_bastion_http_proxy.cfg (+1 -0)
contrib/nrpe/etc/nagios/nrpe.d/check_bastion_locked.cfg (+1 -0)
contrib/nrpe/etc/nagios/nrpe.d/check_bastion_root_connected_too_long.cfg (+1 -0)
contrib/nrpe/etc/nagios/nrpe.d/check_bastion_sync_daemon.cfg (+1 -0)
contrib/nrpe/etc/nagios/nrpe.d/check_bastion_version.cfg (+1 -0)

...and 61 more files

📄 Description

No description provided


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/ovh/the-bastion/pull/291 **Author:** [@speed47](https://github.com/speed47) **Created:** 2/2/2022 **Status:** ✅ Merged **Merged:** 2/9/2022 **Merged by:** [@speed47](https://github.com/speed47) **Base:** `master` ← **Head:** `dev/slesimpl/scripts` --- ### 📝 Commits (10+) - [`b4a1538`](https://github.com/ovh/the-bastion/commit/b4a1538803f00ee11a4c8efde9fbdcb37d9cc195) remove compress-old-logs script, as osh-encrypt-rsync will do the job instead - [`4104340`](https://github.com/ovh/the-bastion/commit/4104340f93b2280325fed6af4d857812da99d788) feat: osh-encrypt-rsync: handle sqlite and user logs along with ttyrec files - [`bae2183`](https://github.com/ovh/the-bastion/commit/bae2183ad182e8cb2985d14149b4b41ce9e5361b) enh: cron scripts: factorize common code and standardize logging - [`fe56d0f`](https://github.com/ovh/the-bastion/commit/fe56d0f4005ebd3380b0f8ecc07d37fbe8dcb436) chore: fix typos - [`266a1ed`](https://github.com/ovh/the-bastion/commit/266a1ed6e4d759c0f8fdca1f4740db8dc5a0f95b) enh: osh-encrypt-rsync: catch warnings emitted by GetOptions - [`1bc3037`](https://github.com/ovh/the-bastion/commit/1bc3037f1df0dc64934938273e12a0a4ebfd18b1) fix: piv-grace-reaper: don't use hash values (had no impact) - [`20b2085`](https://github.com/ovh/the-bastion/commit/20b20850f8d394a1738ebe033446f51d71c43322) fix: get_group_list() returned invalid members list (was not used anywhere) - [`6c3bd24`](https://github.com/ovh/the-bastion/commit/6c3bd24d7843d408de5ef1330fff0cd337255d6c) enh: osh-piv-grace-reaper: run only on master, standardize config reading - [`1b09246`](https://github.com/ovh/the-bastion/commit/1b092468c3c8b8f8de4a5f56f16d16da9da3ebdf) enh: osh-lingering-sessions-reaper: make it configurable - [`9089ee5`](https://github.com/ovh/the-bastion/commit/9089ee5bb6951ce62cf8a316d4896fd078ce986f) feat: add osh-cleanup-guest-key-access.pl script ### 📊 Changes **81 files changed** (+2241 additions, -687 deletions) <details> <summary>View changed files</summary> 📝 `bin/admin/fixrights.sh` (+2 -0) 📝 `bin/admin/install` (+5 -0) 📝 `bin/admin/osh-sync-watcher.sh` (+18 -6) 📝 `bin/cron/osh-backup-acl-keys.sh` (+4 -35) ➕ `bin/cron/osh-cleanup-guest-key-access.pl` (+163 -0) ➖ `bin/cron/osh-compress-old-logs.sh` (+0 -39) 📝 `bin/cron/osh-encrypt-rsync.pl` (+229 -123) 📝 `bin/cron/osh-lingering-sessions-reaper.sh` (+7 -6) 📝 `bin/cron/osh-orphaned-homedir.sh` (+10 -11) 📝 `bin/cron/osh-piv-grace-reaper.pl` (+30 -15) 📝 `bin/cron/osh-remove-empty-folders.sh` (+4 -38) 📝 `bin/cron/osh-rotate-ttyrec.sh` (+6 -4) 📝 `bin/proxy/osh-http-proxy-daemon` (+2 -3) ➕ `contrib/nrpe/README.md` (+15 -0) ➕ `contrib/nrpe/etc/nagios/nrpe.d/check_bastion_healthcheck.cfg` (+1 -0) ➕ `contrib/nrpe/etc/nagios/nrpe.d/check_bastion_http_proxy.cfg` (+1 -0) ➕ `contrib/nrpe/etc/nagios/nrpe.d/check_bastion_locked.cfg` (+1 -0) ➕ `contrib/nrpe/etc/nagios/nrpe.d/check_bastion_root_connected_too_long.cfg` (+1 -0) ➕ `contrib/nrpe/etc/nagios/nrpe.d/check_bastion_sync_daemon.cfg` (+1 -0) ➕ `contrib/nrpe/etc/nagios/nrpe.d/check_bastion_version.cfg` (+1 -0) _...and 61 more files_ </details> ### 📄 Description _No description provided_ --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
BreizhHardware 2026-05-07 00:20:37 +02:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/the-bastion#379
No description provided.