Xymon Mailing List Archive search

No data in files or msgs

3 messages in this thread

list Lars Ebeling · Thu, 6 Jul 2006 07:53:33 +0200 ·
Todays (6/7) snapshot does not report any data in files or msgs


Regards
Lars Ebeling
Hobbithobbyist
http://leopg9.no-ip.org

¤ "The trouble with the world is that the stupid are cocksure and the intelligent are full of doubt."
--Bertrand Russell
list Henrik Størner · Thu, 6 Jul 2006 11:31:53 +0200 ·
quoted from Lars Ebeling
On Thu, Jul 06, 2006 at 07:53:33AM +0200, lars ebeling wrote:
Todays (6/7) snapshot does not report any data in files or msgs
You're right - I moved the log/file collection from the individual
os-specific modules into the main module in the client, but forgot
to add a redirect of the output to the client message.

Fixed now, if you want to test it - patch is attached.

Henrik

-------------- next part --------------
--- client/hobbitclient.sh	2006/07/05 05:52:53	1.16
+++ client/hobbitclient.sh	2006/07/06 09:07:50
@@ -12,7 +12,7 @@
 #                                                                            #
 #----------------------------------------------------------------------------#
 #
-# $Id: hobbitclient.sh,v 1.16 2006/07/05 05:52:53 henrik Exp $
+# $Id: hobbitclient.sh,v 1.17 2006/07/06 09:07:53 henrik Exp $
 
 # Must make sure the commands return standard (english) texts.
 LANG=C
@@ -53,7 +53,7 @@
 # logfiles
 if test -f $LOGFETCHCFG
 then
-    $BBHOME/bin/logfetch $LOGFETCHCFG $LOGFETCHSTATUS
+    $BBHOME/bin/logfetch $LOGFETCHCFG $LOGFETCHSTATUS >>$MSGTMPFILE
 fi
 # Client version
 echo "[clientversion]"  >>$MSGTMPFILE
list Lars Ebeling · Thu, 6 Jul 2006 13:34:10 +0200 ·
From: "Henrik Stoerner" <user-ce4a2c883f75@xymon.invalid>
Fixed now, if you want to test it - patch is attached.
Patch applied and works

Lars