Xymon Mailing List Archive search

No LSB modules are available

list Henrik Størner
Thu, 22 Aug 2013 06:46:39 +0200
Message-Id: <user-92cf405b7dde@xymon.invalid>

On 21-08-2013 23:48, Galen Johnson wrote:
I was looking at my logs and noticed this message.

No LSB modules are available.

While googling, I came across this thread from last september:

http://lists.xymon.com/pipermail/xymon/2012-September/035481.html

Any chance we can get this done?  While the message appears to be
harmless, I hate seeing anything un-useful in my logs.  Note, this is on
a Ubuntu system.
Fixed in 4.3.13 and 5.0:

Index: client/xymonclient-linux.sh
===================================================================
--- client/xymonclient-linux.sh (revision 7286)
+++ client/xymonclient-linux.sh (working copy)
@@ -18,10 +18,10 @@
  echo "[osversion]"
  if [ -x /bin/lsb_release ]; then
         /bin/lsb_release -r -i -s | xargs echo
-       /bin/lsb_release -a
+       /bin/lsb_release -a 2>/dev/null
  elif [ -x /usr/bin/lsb_release ]; then
         /usr/bin/lsb_release -r -i -s | xargs echo
-       /usr/bin/lsb_release -a
+       /usr/bin/lsb_release -a 2>/dev/null
  elif [ -f /etc/redhat-release ]; then
         cat /etc/redhat-release
  elif [ -f /etc/gentoo-release ]; then


Regards,
Henrik