[hobbit] bb-prtdiag.sh - Sun SPARC Enterprise M9000 Server

Shaun Phillips tainted.soul69 at googlemail.com
Tue Sep 15 13:22:50 CEST 2009


Hi Craig,

I have seen the link referencing the awk or nawk but not sure how it's using
either?

AIs the only reference in the file to awk is the following?

cat bb-prtdiag.sh  | grep awk
#                 You may also need to use /usr/xpg4/bin/awk or
/usr/bin/nawk

Am I being stupid here?

And when is the next version coming out?  Is it planned or only when needed?



On Mon, Sep 14, 2009 at 4:33 PM, Craig Cook <Craig.Cook at carquest.com> wrote:

>  Did you review the instructions in the top of the script?  Including the
> tip you may need to run nawk?
>
>
>
> I thought these were in the readme.txt but it is missing.  They have been
> in the script since version 4.11.
>
> I thought hobbitmon/xymon debug instructions were also included.  I’ll add
> them in the next release.
>
>
>
> # INSTALLATION - Hobbitmon
>
> #
>
> # Step 1 - Copy this script to $HOBBITCLIENT/ext/bb-prtdiag.sh
>
> #          Ensure your hobbit user owns the script and is executable
> (chown)
>
> #
>
> # Step 2 - Add the lines mentioned in the bbsys.local section to
>
> #             $HOBBITCLIENT/etc/hobbitclient.cfg
>
> #           Note: You may have to hard code the
>
> #                 PLATFORM_SPEC & PRTDIAG_COMMAND variables, or
>
> #                 do not enter it in hobbitclient.cfg
>
> #                 You may also need to use /usr/xpg4/bin/awk or
> /usr/bin/nawk
>
> #
>
> # Step 3 - Add this:
>
> #
>
> #          [prtdiag]
>
> #                  ENVFILE $HOBBITCLIENTHOME/etc/hobbitclient.cfg
>
> #                  CMD $HOBBITCLIENTHOME/ext/bb-prtdiag.sh
>
> #                  LOGFILE $HOBBITCLIENTHOME/logs/bb-prtdiag.log
>
> #                  INTERVAL 5
>
> #
>
> #          to $HOBBITCLIENT/etc/clientlaunch.cfg
>
> #
>
> # You do not need to restart hobbit to activate
>
>
>
>
>
> Craig
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20090915/58d52aa2/attachment.html>


More information about the Xymon mailing list