Xymon Mailing List Archive search

Log messages

list Henrik Størner
Wed, 15 Aug 2007 16:35:38 +0200
Message-Id: <user-705d579af1e8@xymon.invalid>

On Wed, Aug 15, 2007 at 09:09:47AM -0400, user-762ee872a5a4@xymon.invalid 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