[hobbit] No data in files or msgs

Henrik Stoerner henrik at hswn.dk
Thu Jul 6 11:31:53 CEST 2006


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


More information about the Xymon mailing list