Some initial BSD support in dsa-check-running-kernel
authorStephen Gran <steve@lobefin.net>
Wed, 21 Jul 2010 00:32:35 +0000 (01:32 +0100)
committerStephen Gran <steve@lobefin.net>
Wed, 21 Jul 2010 00:32:35 +0000 (01:32 +0100)
commit613399c86318513df151824248f7e3a6d8b66cc7
treef9ba1ae954ff9c6805eaf237d39a4860106c5037
parent8e88ef201ab051fdc530a04a572417da44c5305e
Some initial BSD support in dsa-check-running-kernel

Still to do:

Write a new function or abstract the apt bit to also look at BSD version
strings correctly, currently far too linux specific.

Figure out how to extract the current running kernel image version from
a BSD kernel.  They seem to lie and just list a made up linux version,
presumably for $stupid_app compatibility.

Signed-off-by: Stephen Gran <steve@lobefin.net>
dsa-nagios-checks/checks/dsa-check-running-kernel