Public bug reported: If there's no kernel image installed, e.g. in an LXC environment, then the following output gets generated. This didn't happen in 14.04 LTS.
Thu Jan 14 16:00:37 2016 - libs NOT ok yellow Warning: Use of uninitialized value $newest_kernel_image in pattern match (m//) at /usr/lib/xymon/client/ext/libs line 66. yellow Warning: Use of uninitialized value $newest_kernel_image in concatenation (.) or string at /usr/lib/xymon/client/ext/libs line 69. yellow Warning: Use of uninitialized value $kernel_image_release in concatenation (.) or string at /usr/lib/xymon/client/ext/libs line 74. yellow Warning: Use of uninitialized value $newest_kernel_image in -r at /usr/lib/xymon/client/ext/libs line 86. yellow Warning: Use of uninitialized value $newest_kernel_image in concatenation (.) or string at /usr/lib/xymon/client/ext/libs line 87. yellow Kernel image unreadable. Can't check kernel version! See comment #3 on https://bugs.launchpad.net/bugs/759725 for details and a permanent workaround. In a container environment, testing the kernel version doesn't make sense anyway, as the host kernel will always be in use. Maybe you could disable the test if you detect a container? There are many ways to do this, e.g.: 1.) Manually Detect Libvirt-LXC: # grep -z '^LIBVIRT_LXC_NAME=' /proc/1/environ LIBVIRT_LXC_NAME=xyz Detect LXC: # grep -z '^container=' /proc/1/environ container=lxc Detect Linux-Vserver (VxID > 0): # grep -E '^VxID:\s+[1-9]' /proc/self/status VxID: 40010 (See /etc/init/container-detect.conf on 14.04 for more examples) 2.) With upstart (14.04 LTS) # cat /run/container_type lxc-libvirt 3.) With systemd (16.04 Development) # systemd-detect-virt -c lxc-libvirt --- # ls -la /boot/ total 8 drwxr-xr-x 2 root root 4096 Apr 11 2014 . drwxr-xr-x 22 root root 4096 Jan 7 23:15 .. # lsb_release -rd Description: Ubuntu Xenial Xerus (development branch) Release: 16.04 # apt-cache policy hobbit-plugins hobbit-plugins: Installiert: 20151005 Installationskandidat: 20151005 Versionstabelle: *** 20151005 500 500 http://de.archive.ubuntu.com/ubuntu xenial/universe amd64 Packages 100 /var/lib/dpkg/status ** Affects: hobbit-plugins (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1534220 Title: libs check turns yellow if no kernel image exists To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/hobbit-plugins/+bug/1534220/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs