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.