[hobbit] Log messages
Henrik Stoerner
henrik at hswn.dk
Wed Aug 15 16:35:38 CEST 2007
On Wed, Aug 15, 2007 at 09:09:47AM -0400, shea_greg at emc.com wrote:
> > sh-3.2$ ./temperature.sh
> > Unknown OS linux
> >
> > sh-3.2$ echo $?
> > 1
>
> Exactly, temperature.sh checks the $BBOSTYPE variable for known OS types
> It should match on the linux|redhat) line but doesn't
No, because "linux<newline>" doesn't match "linux". You need to figure
out where that extra newline comes from; the Hobbit client
"runclient.sh" script picks it up from the "uname -s" output, and that
should not (normally) include a newline. So either uname is broken on
these boxes, or BBOSTYPE is being set somewhere else.
Regards,
Henrik
More information about the Xymon
mailing list