[Bug 43146] New: Add Koha::Health::SFTP health check
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43146 Bug ID: 43146 Summary: Add Koha::Health::SFTP health check Initiative type: --- Sponsorship --- status: Product: Koha Version: Main Hardware: All OS: All Status: NEW Severity: enhancement Priority: P5 - low Component: Architecture, internals, and plumbing Assignee: koha-bugs@lists.koha-community.org Reporter: tomascohen@gmail.com QA Contact: testopia@bugs.koha-community.org Depends on: 43137 Target Milestone: --- Follow-up to Bug 43137 (system health monitoring framework). Adds a Koha::Health::SFTP class that checks the reachability of configured SFTP transport endpoints (used by EDI/acquisitions). Alert codes: - sftp_unreachable: { code => 'sftp_unreachable', params => { host => 'hostname', error => '...' } } Permission: { acquisition => 'edi_manage' } The check iterates Koha::File::Transport::SFTPs and attempts a connection test on each configured endpoint. Results should be cached appropriately since SFTP connections are expensive. Considerations: - Only check endpoints that are actively in use (have recent activity) - Connection timeout should be short (e.g., 5 seconds) to avoid blocking - Report each failing endpoint as a separate warning/critical entry Should include full test coverage (mocked, not DB-dependent). Referenced Bugs: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43137 [Bug 43137] Add system health monitoring with status indicators in the staff interface -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43146 Tomás Cohen Arazi (tcohen) <tomascohen@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |tomascohen@gmail.com Depends on| |42656 Referenced Bugs: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42656 [Bug 42656] File transport test responses can be unclear -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43146 --- Comment #1 from Tomás Cohen Arazi (tcohen) <tomascohen@gmail.com> --- Bug 42656 changes how problems are logged into the DB, so making it dependent. -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43146 Tomás Cohen Arazi (tcohen) <tomascohen@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |lisette@bywatersolutions.co | |m, | |martin.renvoize@openfifth.c | |o.uk, | |nick@bywatersolutions.com -- You are receiving this mail because: You are watching all bug changes.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org