Page MenuHomeDevCentral

Compare install and running kernel on FreeBSD
ClosedPublic

Authored by dereckson on Apr 2 2022, 00:56.
Tags
None
Referenced Files
F53583641: D2648.diff
Sun, Oct 11, 00:24
F53576299: D2648.diff
Sat, Oct 10, 23:22
Unknown Object (File)
Wed, Oct 7, 17:28
Unknown Object (File)
Tue, Oct 6, 13:31
Unknown Object (File)
Tue, Oct 6, 12:55
Unknown Object (File)
Mon, Oct 5, 09:45
Unknown Object (File)
Mon, Oct 5, 05:50
Unknown Object (File)
Mon, Oct 5, 01:56
Subscribers
None

Details

Summary

When running freebsd-update, a new kernel can be installed.

Add a monitoring check to reboot the server in such case.

Thanks to #gcu members for code review.

Test Plan
  • apply unit roles/core/monitoring
  • /usr/local/share/monitoring/checks/nrpe/check-kernel.sh

Diff Detail

Repository
rOPS Nasqueron Operations
Lint
Lint Passed
Unit
No Test Coverage
Branch
main
Build Status
Buildable 4151
Build 4403: arc lint + arc unit