Re: temperature (OUTPUT)
- From: Bill Verzal <bjverzal@xxxxxxxxx>
- Date: Thu, 10 Aug 2006 08:36:26 -0700
37 degrees is about normal human body temperature (roughly 99 degrees). I
don't know what the acceptable ranges are for components.
BV
--- Dave Zarnoch <zarnocd@xxxxxxxxxxxxxxxxxxxxxxx> wrote:
Damir and Bill,=== message truncated ===
Thank you very much for the info!!!
When I run the script, I see a temperature of 37 degrees on hdisk0
U1.1-P1 22 U0.1-L1 28 U0.1-P1 37 U0.1-P1 34
When I run /usr/lpp/diagnostics/bin/uesensor -l
the value for hdisk0 is:
Sensor = thermal sensor
Status = Normal
Value = 37 Degrees Celsius
Physical Location Code = U0.1-P1
So I assume that 37 degrees is normal and the error messages
that are being generated are just informational?
Thanks!
Dave Zarnoch
Nationwide Provident
zarnocd@xxxxxxxxxxxxxxxxxxxxxxx
W 302-452-4197
C 302-462-8703
Damir Delija
<ddelija@xxxxxxxx To: aix-l@xxxxxxxxxxxxx
RCE.HR> cc:
Sent by: IBM AIX Subject: Re: temperature
Discussion List
<aix-l@Princeton.
EDU>
08/10/2006 01:04
AM
Please respond to
IBM AIX
Discussion List
On Wed, Aug 09, 2006 at 01:27:42PM -0700, Bill Verzal wrote:
Run /usr/lpp/diagnostics/bin/uesensor -lsensors.
If it is supported on your system, it will show you environmental
BV
you can start temp monitoring
to see what is going on
there is no uesensor class in RMC but
you can use my old script published in sysadmin magazine
#!/usr/bin/ksh
#############################################################
#Sri 20 Stu 2002 13:37:24
#PBZ HR
#temp monitoring script
#version 0.0.1-D
#
#Author: Damir Delija ddelija@xxxxxx
#############################################################
# FILE NAME: temperature
# FILE DESCRIPTION: crontab tester based on bb-scripts
#
# RETURN VALUE DESCRIPTION:
# 0 sucess
# 1 failure
#
# EXTERNAL PROCEDURES CALLED:
#
# OPERATIONS
#
# this is based on standard df-k monitors from various sources
# script just control if there is limit violation
#
# CONTROL
# there is no control
#
# USAGE add into crontab and configure parameters
#
# QUIRCS
# if machine is in LPAR mode this not works
#
############################################################
#Revison history
#0.0.1-D just working with usensors
############################################################
export PATH=/bin:/usr/local/bin:/usr/bin:/etc:/usr/sbin:/usr/ucb:/sbin
BASEDIR=/rootop
CONFDIR=$BASEDIR
LOGDIR=$BASEDIR/logs
##########################################################
# testing and creating directories nesecarry
# for script operation
##########################################################
for d in $CONFDIR $LOGDIR
do
if test ! -d "$d"
then
mkdir -p $d || exit 1
fi
done
#############################################################
#work files
#############################################################
HOST=$(hostname)
#############################################################
#logs and event data
#in DF last df-k data is stored
#############################################################
DF=$LOGDIR/temp
#############################################################
#event, or two last messages cretaed
#############################################################
EV=$LOGDIR/event.temp
EVO=$LOGDIR/event.temp.old
#############################################################
#Notification info
#############################################################
#if LOGFILE exists message is automatically added to it
LOGFILE=$LOGDIR/$HOST.temp.log
#email where report is sent
DFADMIN=root
#logger syslog level to log message
SYSLOG="notice"
#to dump message on stdout
ECHO="echo"
#to send snmptrap -just for future use
SNMPTRAP=""
#BigBrother
BB="echo"
BBDISP=" ..."
######################################################
#sennsor control command on AIX
#f there is no capability exit
######################################################
SENS="/usr/lpp/diagnostics/bin/uesensor"
test -x $SENS || exit 2
######################################################
# MAXTEMP - value for alarm
######################################################
MAXTEMP=36
######################################################
#set the message and global action variable
#if ACTION is > 0 it means do action
######################################################
MESSAGE="$HOST :"
ACTION=0
MM="$MESSAGE"
#real data collection
$DF#snashot of the status ... just FS and data percentage,
################################################
#walk trough df and test conditions
#FS loop
################################################
$SENS -a| while read token index status val lcode
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
- References:
- Re: temperature (OUTPUT)
- From: Dave Zarnoch
- Re: temperature (OUTPUT)
- Prev by Date: Re: temperature (OUTPUT)
- Next by Date: Re: temperature (OUTPUT)
- Previous by thread: Re: temperature (OUTPUT)
- Next by thread: FTP /performance issue question
- Index(es):
Relevant Pages
|
|