Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

AIX threshold configuration for hardware, do we have?

Status
Not open for further replies.

bonsky

MIS
Apr 23, 2001
280
US
Anyone can tell me, can i configure any hardware threshold for machines like p690? lets say i want to know if fan reaches 90% of full throttle or heat becomes 90%, it will send some email?

thanks!
 
Code:
/usr/lpp/diagnostics/bin/uesensor -l >>/tmp/temp.out

temp=`grep Degrees /tmp/temp.out`
count=`grep Degrees /tmp/temp.out |cut -c11-13`

 if [ "$count" -ge 35 ]; then

 /usr/bin/mail -c "other@yourcompany.com"  you@yourcompany.com < /tmp/temp.out 

 fi

Mike

"A foolproof method for sculpting an elephant: first, get a huge block of marble, then you chip away everything that doesn't look like an elephant."

[URL unfurl="true"]http://www.airport-parking-site.co.uk/[/URL]
 
Code:
/usr/lpp/diagnostics/bin/uesensor -l >>/tmp/temp.out

temp=`grep Degrees /tmp/temp.out`
count=`grep Degrees /tmp/temp.out |cut -c11-13`

 if [ "$count" -ge 35 ]; then

 /usr/bin/mail -c "other@yourcompany.com"  you@yourcompany.com < /tmp/temp.out 

 fi

Mike

"A foolproof method for sculpting an elephant: first, get a huge block of marble, then you chip away everything that doesn't look like an elephant."

 
I tried this command and i got this

Code:
# /usr/lpp/diagnostics/bin/uesensor -l
This function is not supported on this system.

Why is that?

Regards,
Khalid
 
Because your system type doesn't have these type of sensors? Or their values are not viewable with this command...


HTH,

p5wizard
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top