HPE GreenLake Administration
Operating System - HP-UX
1836383
Members
3705
Online
110100
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
06-07-2005 05:07 AM
06-07-2005 05:07 AM
UPS_MOND
Hello everyone,
I have a hpux system connected to a PowerTrust UPS, and I want to instruct to the ups_mond daemon to do something diferent but /sbin/shutdown, in fact, I want it to run a shell script instead. I have read the documentation and ups_conf doesn't appear to have a field to do something like this, not even the daemon options (t or s) are able to do it.
Thanks in advance,
Carlos.
I have a hpux system connected to a PowerTrust UPS, and I want to instruct to the ups_mond daemon to do something diferent but /sbin/shutdown, in fact, I want it to run a shell script instead. I have read the documentation and ups_conf doesn't appear to have a field to do something like this, not even the daemon options (t or s) are able to do it.
Thanks in advance,
Carlos.
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-07-2005 08:21 PM
06-07-2005 08:21 PM
Re: UPS_MOND
Hi Carlos,
I'm afraid that what ups_mond does is shut down the system when it gets the signal that the power has gone. Generally, I don't think there is much time to do anything else.
I guess there may be a third-party app. to do something like this.
Andrew
I'm afraid that what ups_mond does is shut down the system when it gets the signal that the power has gone. Generally, I don't think there is much time to do anything else.
I guess there may be a third-party app. to do something like this.
Andrew
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-07-2005 08:28 PM
06-07-2005 08:28 PM
Re: UPS_MOND
You can instruct ups_mond to log messages without actually shutting down. You could in theory have a script that periodically checks for these log messages and takes whatever action you feel is necessary when they appear. The only problem with that is ups_mond is locked into memory (i.e. won't be paged out) whereas your script would be. thus there might be a delay between the power outage and your script being run. Plus your script would have to sleep for a finite time between each check for messages, otherwise it would consume a lot of CPU.
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