Xymon Mailing List Archive search

prtdiag.sh and Soalris 10 x86 fix

list TJ Yang
Tue, 20 Apr 2010 14:44:36 -0500
Message-Id: <user-533099065a81@xymon.invalid>

Hi, Craig

Thanks for the quick fix.
1.  $EGREP -e "[F|f]ail" is a better fix.
2. also I found prtdiag on opensolaris (snv_134,in my case) has been
moved fixed place as /usr/sbin/prtdiag, you may want to prepare a
PRTDIAG_COMMAND line in your code for opensolaris machine.

3. Another loose coding is " $GREP ault ", hope it can be changed to
$EGREP -e "[F|f]ault" also.
4. I don't how prtdiag got implemented for VMWare session either, but
it does report list of components.

On Tue, Apr 20, 2010 at 11:10 AM, Craig Cook <user-850f03189cf7@xymon.invalid> wrote:
New version released to deadcat.

Also corrected a comment from:
#                  INTERVAL 5

To

#                  INTERVAL 5m

The previous line actually means run the script every 5 seconds, not 5 minutes.

Btw, I don't understand how virtual hardware can fail in vmware.

Craig

-- 
T.J. Yang