[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
temperature.sh I am almost their. PROBLEM connect to bbd failed.
- To: <hobbit (at) hswn.dk>
- Subject: temperature.sh I am almost their. PROBLEM connect to bbd failed.
- From: "McGraw, Robert P." <rmcgraw (at) purdue.edu>
- Date: Thu, 26 Jan 2006 14:46:04 -0500
- Thread-index: AcYimp50TbAQIKeuSRuVVgmmypX+NAAFNDxA
- Thread-topic: temperature.sh I am almost their. PROBLEM connect to bbd failed.
I have installed temperature.sh in ext and made a few fixes.
1) temperature.sh seems to need nawk and not awk so I had to set the in the
.sh file.
2) It has to pass the name temperature and not temp. This took me a little
time to figure out.
On the client I entered the following in the clientlaunch.cfg file
[temperature]
ENVFILE $HOBBITCLIENTHOME/etc/hobbitclient.cfg
CMD $HOBBITCLIENTHOME/ext/temperature.sh
LOGFILE $HOBBITCLIENTHOME/logs/temperature.log
INTERVAL 5m
This seems to be work just fine. I get the temperatue column and trends.
Now on the server I modified the server hobbitlaunch.cfg with the following
##
# run dead-cat temperature.sh
#
[temperature]
ENVFILE $HOBBITCLIENTHOME/etc/hobbitclient.cfg
CMD $HOBBITCLIENTHOME/ext/temperature.sh
LOGFILE $HOBBITCLIENTHOME/logs/temperature.log
INTERVAL 5m
In my client directory temperature.logs I get the following when I start
hobbit.
*****Sun-Fire-280R***********
2006-01-26 14:29:43 connect to bbd failed - Connection refused
2006-01-26 14:29:43 Whoops ! bb failed to send message - Connection failed
*****Sun-Fire-280R***********
*****Sun-Fire-280R***********
Maybe this happens at the beginning of the start when temperature.sh cannot
contact bbd because it is not up yet.
_____________________________________________________________________
Robert P. McGraw, Jr.
Manager, Computer System EMAIL: rmcgraw (at) purdue.edu
Purdue University ROOM: MATH-807
Department of Mathematics PHONE: (765) 494-6055
150 N. University Street FAX: (419) 821-0540
West Lafayette, IN 47907-2067