Page MenuHomeDevCentral

Compare install and running kernel on FreeBSD
ClosedPublic

Authored by dereckson on Apr 2 2022, 00:56.
Tags
None
Referenced Files
F12244590: D2648.id.diff
Fri, Oct 10, 19:18
F12244589: D2648.id.diff
Fri, Oct 10, 19:18
F12244274: D2648.diff
Fri, Oct 10, 17:32
F12244223: D2648.diff
Fri, Oct 10, 17:19
F12244219: D2648.diff
Fri, Oct 10, 17:18
Unknown Object (File)
Mon, Oct 6, 02:28
Unknown Object (File)
Sat, Oct 4, 05:48
Unknown Object (File)
Fri, Oct 3, 07:31
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 Not Applicable
Unit
Tests Not Applicable