Xymon Mailing List Archive search

bb-prtdiag.sh - Sun SPARC Enterprise M9000 Server

list Shaun Phillips
Thu, 17 Sep 2009 00:37:42 +0100
Message-Id: <user-2b5d64a6141d@xymon.invalid>

Still getting problems with this.

I've tried /usr/bin/awk and /usr/bin/nawk and still coming up with errors on
the v120's?

On Wed, Sep 16, 2009 at 12:26 PM, Shaun Phillips <
user-176e7038266c@xymon.invalid> wrote:
Craig,

I've set them to 5m already.

 [prtdiag]
        ENVFILE $HOBBITCLIENTHOME/etc/hobbitclient.cfg
        CMD $HOBBITCLIENTHOME/ext/bb-prtdiag.sh
        LOGFILE $HOBBITCLIENTHOME/logs/hobbitclient.log
        INTERVAL 5m

Thanks for the AWK/NAWK update I'll update the script myside.

Regards
Shaun

  On Tue, Sep 15, 2009 at 3:01 PM, Craig Cook <user-850f03189cf7@xymon.invalid>wrote:
 Oh, you will want to correct this as well.


# Step 3 - Add this:

#

#          [prtdiag]

#                  ENVFILE $HOBBITCLIENTHOME/etc/hobbitclient.cfg

#                  CMD $HOBBITCLIENTHOME/ext/bb-prtdiag.sh

#                  LOGFILE $HOBBITCLIENTHOME/logs/bb-prtdiag.log

#                  INTERVAL 5


Should be:

#                  INTERVAL 5m


The previous “  INTERVAL 5 “ actually means run the script every 5
seconds, not 5 minutes like I wanted.


Craig