Xymon Mailing List Archive search

Hobbit client data parsing

list Larry Barber
Tue, 25 Oct 2005 09:18:07 -0400 (EDT)
Message-Id: < "{73717E7A-FA8D-051025131743Z-266*/PRMD=USDA-OCIO/ADMD= /C=US/"@MHS>

I've noticed this happening a few times to my setup as well. It happens
when the [df] section in the clientdata is empty.

Thanks,
Larry Barber 
On Mon, 2005-10-24 at 16:31 -0500, user-714cc8ca2b55@xymon.invalid wrote:
I have just made a script which makes a copy of the clientdata file
when  an alert is seen. Now I just have to wait and see...

#!/bin/sh # CP="/bin/cp" BBHOME="/usr/local/hobbit" DATE=`/bin/date "+%Y%M%d.%H%M%S"` $CP $BBHOME/client/tmp/msg.txt $BBHOME/client/logs/clientdata.$DATE  
and added in hobbit-alerts.cfg: HOST=www.foobar.com       SCRIPT /usr/local/hobbit/server/bin/copy_clientdata.sh       
Grt, Arnoud


lars ebeling wrote:
On Mon, Oct 24, 2005 at 10:52:29AM +0200, Arnoud Post wrote: >> >>> I use Hobbit client and server, but the data was not parsed  >>> propperly. This >>> happend 2 times now. >>> >>> The disk check gives this error: >>>  - Filesystems NOT ok >>> red Expected string (Capacity and Mounted) not found in df
output  >>> header >>> > This happens me at least once a day at the hobbitserver. I have  > written abou this Aug 16. I think there are timing problems when
the  > client-script is running. This is what I got. > > > Tue Aug 16 13:56:37 METDST 2005 - Filesystems NOT ok > Expected string (Capacity and Mounted) not found in df output
header > > System: leopg9 Tue Aug 16 13:56:37 2005 >