Package: hobbit-plugins
Version: 20170628
Severity: wishlist
Control: submitter -1 "FARRIOR, Andy" <andy.farr...@victoriacollege.edu>

Received the following suggestion by e-mail and got the OK to publish
it as proper (wishlist) bug report:

----- Forwarded message from "FARRIOR, Andy" <andy.farr...@victoriacollege.edu> 
-----
Date: Wed, 12 Jul 2017 18:43:03 +0000
From: "FARRIOR, Andy" <andy.farr...@victoriacollege.edu>
Subject: Xymon apt - minor addtion

On your debian xymon distribution, would you consider adding the
equivalent to this in the apt test:

#!/bin/sh
if [ -f /var/run/reboot-required ]; then
  echo " "
  echo "------------- "
  cat /var/run/reboot-required
  echo "------------- "
  echo "-- Required by ---"
  cat /var/run/reboot-required.pkgs
fi

Thx,
andy
----- End forwarded message -----

A first discussion also suggested that there might be other tests
where this fits:

* The libs check already has a test for an updated kernel
* It could be very easily implmenetend as a "misc" subcheck.
* Or maybe we should strip the "kernel" test out of the libs check and
  add it together with the /var/run/reboot-required test into its own
  "reboot" check.

                Regards, Axel

Reply via email to