Page MenuHomeDevCentral

Compare install and running kernel on FreeBSD
ClosedPublic

Authored by dereckson on Apr 2 2022, 00:56.
Tags
None
Referenced Files
F6936940: D2648.diff
Thu, Apr 17, 16:36
F6934532: D2648.diff
Thu, Apr 17, 15:27
Unknown Object (File)
Thu, Apr 17, 09:51
Unknown Object (File)
Wed, Apr 16, 17:44
Unknown Object (File)
Wed, Apr 16, 12:35
Unknown Object (File)
Sun, Apr 13, 13:54
Unknown Object (File)
Sat, Apr 12, 14:44
Unknown Object (File)
Sat, Apr 12, 14:36
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