ok,
So I edited the script and add -vvv to the interpreter line.
And now see egrep and bb errors.
if [ -s "$REDLINE" ]; then
COLOR="red"
fi
# NOW USE THE BB COMMAND TO SEND THE DATA ACROSS
$BB $BBDISP "status $MACHINE.$TEST $COLOR `$DATE` `$CAT $REDLINE` `$CAT
$YELLOWLINE` `$CAT $BBTMP/$MACHINE.$TEST` "
fi
*egrep: syntax error
./bb-prtdiag.sh: /bin/bb: not found*
if [ "$DEBUG" != "Y" ]; then
clean_up_our_mess
fi
I have logged in, su'd to hobbit on the clinet, set my BBHOME variable and
then proceed to ( ./bb-prtdiag.sh ) run the script.
Any thoughts?
On Tue, Sep 1, 2009 at 3:14 AM, Everett, Vernon <
user-9da1a1882f49@xymon.invalid> wrote:
You are right.
I was thinking of sunhw.sh on deadcat.
Apologies for muddying the water.
Should have my coffee *before* I post to the list. :-)
Cheers
V
-----Original Message-----
From: Craig Cook [mailto:user-850f03189cf7@xymon.invalid]
Sent: Monday, 31 August 2009 9:14 PM
To: user-ae9b8668bcde@xymon.invalid
Subject: RE: [hobbit] bb-prtdiag.sh - Sun SPARC Enterprise M9000 Server
I am having truble with the bb-prtdiag script on "Sun SPARC Enterprise
M9000 Server " and also "SUNW,UltraAX-i2" hardware. Always saying
something is wrong when I cant see anything wrong?
The M9000 has not explicitly been added for support.
Check the readme with the bb-prtdiag tar file for how to run the built in
debug.
There is also information in the comment section at the top of the script.
Support for UltraAX-i2 has been added, run debug to find out why/where it
is complaining.
bb-prtdiag is a very simple test. It looks at the return code of the
prtdiag command.
No. bb-prtdiag does not look at the return code from running prtdiag. If
you want a simple prtdiag check there is another one on deadcat.
Craig
NOTICE: This email and any attachments are confidential.
They may contain legally privileged information or
copyright material. You must not read, copy, use or
disclose them without authorisation. If you are not an
intended recipient, please contact us at once by return
email and then delete both messages and all attachments.