- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: query temperature status (envd, 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
Discussions
Discussions
Forums
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
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
тАО03-25-2009 07:51 AM
тАО03-25-2009 07:51 AM
ok, I may configure envd.conf like this...
OVERTEMP_CRIT:y
date | mailx -s "temperature is CRIT" admins@mydom.tld
but there is (afak) no event definded "back to normal" eg:
NORMAL:y
date | mailx -s "temperature is NORMAL" admins@mydom.tld
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-25-2009 07:54 AM
тАО03-25-2009 07:54 AM
Re: query temperature status (envd, envd.conf)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-26-2009 02:09 AM
тАО03-26-2009 02:09 AM
Re: query temperature status (envd, envd.conf)
man envd
rgs,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-27-2009 01:24 AM
тАО03-27-2009 01:24 AM
Re: query temperature status (envd, envd.conf)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-27-2009 01:34 AM
тАО03-27-2009 01:34 AM
Re: query temperature status (envd, envd.conf)
Whenever an environmental state changes from one level to another (such as from NORMAL to OVERTEMP_CRIT or from FANFAIL_CRIT to FANFAIL_EMERG), the warning message, if specified, is logged, and the corresponding action is executed once, and only once, per state change.
Regards,
rariasn
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-27-2009 01:38 AM
тАО03-27-2009 01:38 AM
Re: query temperature status (envd, envd.conf)
aborted, no event line specified in /etc/envd.conf for line 32 "NORMAL:y"
ERROR CODE 22
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-27-2009 01:44 AM
тАО03-27-2009 01:44 AM
SolutionSample /etc/envd.conf file:
# to preserve data integrity.
OVERTEMP_CRIT:y
/system/script/envd_overtemp_critical.sh
OVERTEMP_EMERG:y
/usr/sbin/reboot -qh
NORMAL:y
/system/script/envd_overtemp_normal.sh
FANFAIL_CRIT:y
FANFAIL_EMERG:y
/usr/sbin/reboot -qh
# more /system/script/envd_overtemp_normal.sh
/usr/bin/logger -p local3.info -t envd "***** OVERTEMP_NORMAL NORMAL *****"
# /sbin/init.d/envd stop
# /sbin/init.d/envd start
# grep envd /var/adm/syslog/syslog.log
Mar 27 10:31:46 minerva /usr/sbin/envd[2578]: terminated by signal 15
Mar 27 10:31:50 minerva /usr/sbin/envd[16087]: restart, and read the configuration file
rgs,
Rariasn
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-28-2009 12:19 AM
тАО03-28-2009 12:19 AM
Re: query temperature status (envd, envd.conf)
I replaced my commands by a single line script, as it is in your sample. Now it works fine.
Thank you very much!
Franz