[hobbit] bb-prtdiag.sh - Sun SPARC Enterprise M9000 Server
Ralph Mitchell
ralphmitchell at gmail.com
Wed Sep 9 21:01:00 CEST 2009
Try using bbcmd to execute bb-prtdiag.sh
server/bin/bbcmd /path/to/bb-prtdiag.sh
bbcmd sets up the environment properly for the script. You need more than
just BBHOME.
Ralph Mitchell
On Wed, Sep 9, 2009 at 1:52 PM, Shaun Phillips <
tainted.soul69 at googlemail.com> wrote:
> 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 <
> Vernon.Everett at woodside.com.au> 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:Craig.Cook at carquest.com]
>> Sent: Monday, 31 August 2009 9:14 PM
>> To: hobbit at hswn.dk
>> 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
>>
>> To unsubscribe from the hobbit list, send an e-mail to
>> hobbit-unsubscribe at hswn.dk
>>
>>
>>
>> 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.
>>
>>
>> To unsubscribe from the hobbit list, send an e-mail to
>> hobbit-unsubscribe at hswn.dk
>>
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20090909/9124dc37/attachment.html>
More information about the Xymon
mailing list