[hobbit] bb-prtdiag.sh

Ward, Martin Martin.Ward at colt.net
Tue Jan 8 11:17:43 CET 2008


Josh,

Mike is correct, it sounds like you need to edit the
client/etc/hobbitclient.cfg file and put:
UNAME="/opt/sfw/bin/uname"
in there, changing the path to the location of your uname program.

Mind you, I don't have the UNAME variable defined in my Hobbit client,
which is from Hobbit v4.2.0.

|\/|artin

-- 



> -----Original Message-----
> From: Mike Rowell [mailto:Mike.Rowell at Rightmove.co.uk] 
> Sent: 07 January 2008 22:28
> To: hobbit at hswn.dk
> Subject: RE: [hobbit] bb-prtdiag.sh
> 
> 
> Josh,
>  
> I believe there is a read me or maybe it's in the comments of 
> the file but there are some entries that need to be added to 
> I believe hobbitclient.cfg which are some of the bits that 
> are saying not defined in etc/bbsys.local, I'm at home at the 
> moment, but I'll take a look at our bb-prtdiag.sh script 
> tommorow and see what we reset to get it working properly in hobbit.
>  
> regards,
>  
> Mike
> 
> ________________________________
> 
> From: Joshua Krause [mailto:forums at triadbiz.rr.com]
> Sent: Mon 07/01/2008 22:08
> To: hobbit at hswn.dk
> Subject: [hobbit] bb-prtdiag.sh
> 
> 
> 
> I am trying to get the bb-prtdiag.sh script to work on a 
> couple of Solaris boxes and didn't know if I could get some 
> help from someone in the forum that has it up and running.  
> Currently I am trying to get it to run on a V880 and I am 
> getting this error in the log file:
> 
>  
> 
> -bash-3.00$ more bb-prtdiag.log
> 
> awk: syntax error near line 1
> 
> awk: bailing out near line 1
> 
>  
> 
> and on the hobbit page I am seeing this:
> 
>  
> 
> UNAME command is not defined in etc/bbsys.local - using 
> default: /sbin/uname
> 
>  
> 
>  
> yellow<https://lo-mail.rightmove.com/exchange/mike.rawell/Draf
> ts/RE:%20[hobbit]%20bb-prtdiag.sh.EML/1_multipart/image001.gif
> >  PLATFORM_SPEC command is not defined in etc/bbsys.local - 
> using default: SUNW,Sun-Fire-880
> 
>  
> 
>  
> yellow<https://lo-mail.rightmove.com/exchange/mike.rawell/Draf
> ts/RE:%20[hobbit]%20bb-prtdiag.sh.EML/1_multipart/image001.gif
> >  PRTDIAG_COMMAND command is not defined in etc/bbsys.local 
> - using default: /usr/platform/SUNW,Sun-Fire-880/sbin/prtdiag
> 
>  
> 
>  
> yellow<https://lo-mail.rightmove.com/exchange/mike.rawell/Draf
> ts/RE:%20[hobbit]%20bb-prtdiag.sh.EML/1_multipart/image001.gif
> >  PRTDIAG_OPT command is not defined in etc/bbsys.local - 
> using default: -v
> 
>  
> 
>  
> yellow<https://lo-mail.rightmove.com/exchange/mike.rawell/Draf
> ts/RE:%20[hobbit]%20bb-prtdiag.sh.EML/1_multipart/image001.gif
> >  EXCLUDE_SYSTEMS command is not defined in etc/bbsys.local 
> - using default: Ultra-1 Ultra-2 Ultra-5_10 Ultra-30 Ultra-60 
> Ultra-80 UltraAX-i2 UltraSPARC-IIi-cEngine Sun-Fire Netra-T4 
> UltraAX-e2 Ultra-Enterprise-10000
> 
>  
> 
>  
> yellow<https://lo-mail.rightmove.com/exchange/mike.rawell/Draf
> ts/RE:%20[hobbit]%20bb-prtdiag.sh.EML/1_multipart/image001.gif
> >  PRTDIAG_IGNORE_ERRORS variable is not defined in 
> etc/bbsys.local - using default: No failures|Most recent AC 
> Power Failure|Minimum Available|CS Fail|No Hardware 
> failures|^===|currently no Boards|Fault     Fan
> 
>  
> 
>  
> yellow<https://lo-mail.rightmove.com/exchange/mike.rawell/Draf
> ts/RE:%20[hobbit]%20bb-prtdiag.sh.EML/1_multipart/image001.gif
> >  PRTDIAG_IGNORE_FAULTS variable is not defined in 
> etc/bbsys.local - using default: No Recent System Faults 
> found|No System Faults found|Fault Value|Fault 
> LED|NO_FAULT|Power  Fault|Status        Fault|Fault           off
> 
>  
> 
>  
> 
> And I don't believe I have a program called "fjprtdiag"  and 
> it looks to be a necessary component.
> 
>  
> 
> Thanks,
> 
>  
> 
> Josh
> 
> 
> ______________________________________________________________
> __________
> This email has been scanned for all viruses by the 
> MessageLabs service.
> 
> 
> ______________________________________________________________
> __________
> This email has been scanned for all viruses by the 
> MessageLabs service. 
> ______________________________________________________________
> __________
> 


*************************************************************************************
The message is intended for the named addressee only and may not be disclosed to or used by anyone else, nor may it be copied in any way. 

The contents of this message and its attachments are confidential and may also be subject to legal privilege.  If you are not the named addressee and/or have received this message in error, please advise us by e-mailing security at colt.net and delete the message and any attachments without retaining any copies. 

Internet communications are not secure and COLT does not accept responsibility for this message, its contents nor responsibility for any viruses. 

No contracts can be created or varied on behalf of COLT Telecommunications, its subsidiaries or affiliates ("COLT") and any other party by email Communications unless expressly agreed in writing with such other party.  

Please note that incoming emails will be automatically scanned to eliminate potential viruses and unsolicited promotional emails. For more information refer to www.colt.net or contact us on +44(0)20 7390 3900.




More information about the Xymon mailing list