- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- fan failed notification via envd.conf
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-18-2004 04:55 PM
01-18-2004 04:55 PM
fan failed notification via envd.conf
I have these set in /etc/envd.conf and restarted the envd daemon using kill -HUP but when i test it by pulling out one of the FAN it didn't send email to me. The server are cfg to be able to send email and test ok for that function. Does anyone know why it doesn't send email when one of the fan is pulled out. The GSP console shows one of the fan fail.
OVERTEMP_CRIT:y
/usr/bin/su - root -c /usr/local/m1/overtemp/svr_overtemp.sh
OVERTEMP_EMERG:y
/usr/sbin/reboot -qh
FANFAIL_CRIT:y
/usr/bin/su - root -c /usr/local/m1/overtemp/svr_fanfail.sh
FANFAIL_EMERG:y
/usr/sbin/reboot -qh
----------
#!/bin/ksh
#
ADMIN_LIST=`cat /usr/local/m1/ADMIN_LIST/admin_email_failfan.lst`
MSG_DIR=/usr/local/m1/overtemp/fanfail.msg
echo " " > $MSG_DIR
echo "The `hostname` server have one of its FAN failed and it is in CRITICAL range." >> $MSG_DIR
echo "" >> $MSG_DIR
echo "One or more chassis fans have failed, but the system has enough redundant fans" >> $MSG_DIR
echo "to allow continued operation while the failed fans are replaced." >> $MSG_DIR
echo "The server will go down when FAN failed level hit EMERGENCY level." >> $MSG_DIR
echo "" >> $MSG_DIR
echo "Please investigate immediately!" >> $MSG_DIR
echo "" >> $MSG_DIR
echo "1. Login to GSP console and check the last entries of the chassis logs." >> $MSG_DIR
echo "2. Use GSP console to check the FAN status." >> $MSG_DIR
echo "3. Check also envd entries in /var/adm/syslog/syslog.log" >> $MSG_DIR
/usr/bin/mailx -s "`hostname` server FAN failed (Critical)" $ADMIN_LIST < $MSG_DIR
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-18-2004 06:52 PM
01-18-2004 06:52 PM
Re: fan failed notification via envd.conf
/sbin/init.d/envd stop
/sbin/init.d/envd start
Regards,
Peter
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-18-2004 08:07 PM
01-18-2004 08:07 PM
Re: fan failed notification via envd.conf
in the envd.conf file it said
# envd reads its configuration information when the envd daemon
# starts, and when it receives a SIGHUP signal to restart itself.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-18-2004 08:29 PM
01-18-2004 08:29 PM
Re: fan failed notification via envd.conf
Do you need to do a su - root in this file. The envd is running as root?
Regards,
Peter
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-18-2004 09:45 PM
01-18-2004 09:45 PM
Re: fan failed notification via envd.conf
i tried stop/start envd from /sbin but still doesn't work.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-18-2004 09:50 PM
01-18-2004 09:50 PM
Re: fan failed notification via envd.conf
When the manual run sends the mail, then that part is OK.
You can also try to simply replace your string in the conf-file with an "echo fan-failed" >/dev/console to see if the envd is picking this up.
Regards,
Peter