- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: System shutdown alert email.
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
тАО02-23-2004 02:40 PM
тАО02-23-2004 02:40 PM
System shutdown alert email.
Can any one help me out with this.
Is there any other solution to archieve this?
I know through ups daemon it is possible.Any other option
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-23-2004 03:13 PM
тАО02-23-2004 03:13 PM
Re: System shutdown alert email.
my SuSE Linux has a /etc/rc.d/halt.local to put in all the local shutdown stuff. If Redhat does not have this you would need to plug a K(ill) script in one of the individual rcx.d directories.
Greetings, Martin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-23-2004 04:49 PM
тАО02-23-2004 04:49 PM
Re: System shutdown alert email.
put a standard startup script in /etc/init.d
In the stop section, have it use sendmail to send you an email. Use the fullpath of all commands.
cd to the shutdown directory and use ln -s to make a soft link to your script. Make sure the new file starts with a capital K
It will email you unless someon yanks the plug out of the UPS or pulls the NIC cable or turns off the switch.
There are always circumstances that will cause you a problem. Thats why computer rooms have operators.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-23-2004 05:59 PM
тАО02-23-2004 05:59 PM
Re: System shutdown alert email.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-24-2004 06:22 PM
тАО02-24-2004 06:22 PM
Re: System shutdown alert email.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-25-2004 01:35 AM
тАО02-25-2004 01:35 AM
Re: System shutdown alert email.
You can try nagios (www.nagios.org) to monitor your sites from a central server. This will sound an alarm or send an email when one of your servers goes down.
HTH,
Robert