HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Message from UPS
Operating System - HP-UX
1829162
Members
2539
Online
109986
Solutions
Forums
Categories
Company
Local Language
back
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
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- 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
04-18-2001 04:53 PM
04-18-2001 04:53 PM
Message from UPS
Hi,
The UPS that come with the K-class and N-class machine display a message on the console when it takes over from the AC power supply.
Is there a configuration file for the UPS so that it can be configured to send an SMTP mail out?
Thanks in advance,
YC
The UPS that come with the K-class and N-class machine display a message on the console when it takes over from the AC power supply.
Is there a configuration file for the UPS so that it can be configured to send an SMTP mail out?
Thanks in advance,
YC
1 REPLY 1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-18-2001 05:09 PM
04-18-2001 05:09 PM
Re: Message from UPS
Hi,
It is flagged on the console due to the way the /etc/syslog.conf has been configured. Check your /etc/syslog.conf for the lines containing /dev/console. Usually, the level alert of all facilities are sent to /dev/console.
Unfortunately, there is no configuration setting available in /etc/syslog.conf for an email to be sent.
However, upsmond usually logs its alerts to both the console and /var/adm/syslog/syslog.log. You can configure it to log elsewhere by modifying /etc/syslog.conf (eg. in /etc/ups.log).
Write a cron script that checks the /etc/ups.log for any new entries (by comparing previous and current logs) and if so, send an email to the respective administrator (or you can configure it to send a different form of alert such as a page).
Hope this helps. Regards.
Steven Sim Kok Leong
Brainbench MVP for Unix Admin
http://www.brainbench.com
It is flagged on the console due to the way the /etc/syslog.conf has been configured. Check your /etc/syslog.conf for the lines containing /dev/console. Usually, the level alert of all facilities are sent to /dev/console.
Unfortunately, there is no configuration setting available in /etc/syslog.conf for an email to be sent.
However, upsmond usually logs its alerts to both the console and /var/adm/syslog/syslog.log. You can configure it to log elsewhere by modifying /etc/syslog.conf (eg. in /etc/ups.log).
Write a cron script that checks the /etc/ups.log for any new entries (by comparing previous and current logs) and if so, send an email to the respective administrator (or you can configure it to send a different form of alert such as a page).
Hope this helps. Regards.
Steven Sim Kok Leong
Brainbench MVP for Unix Admin
http://www.brainbench.com
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP