Comment 16 for bug 759725

Chris Jeker (chjeker) wrote :

I changed the following under Ubuntu 14.10:
File /usr/lib/xymon/client/ext/libs
69c69
< my $kernel_image_read_command = "strings '$newest_kernel_image'";
---
> my $kernel_image_read_command = "$SUDO strings '$newest_kernel_image'";

ext$ ./libs
strings: /boot/vmlinuz-3.16.0-23-generic: Permission denied
status unknown.libs yellow Tue Oct 28 09:30:03 2014 - libs NOT ok
&yellow Kernel image /boot/vmlinuz-3.16.0-23-generic unreadable. Can't check kernel version!

ext$ ./libs_patched
BFD: /boot/vmlinuz-3.16.0-23-generic: Warning: Ignoring section flag IMAGE_SCN_MEM_NOT_PAGED in section .bss
status unknown.libs yellow Tue Oct 28 09:30:09 2014 - libs NOT ok
&green Newest kernel is running: 3.16.0-23-generic, version #31-Ubuntu SMP Tue Oct 21 17:56:17 UTC 2014