- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Configure syslogd to send messages by mail.
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
12-13-2000 07:58 AM
12-13-2000 07:58 AM
I?d like to know if is possible to configure syslogd to send "alert" and "emerg" messages by e-mail.
Thanks
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-13-2000 08:15 AM
12-13-2000 08:15 AM
Re: Configure syslogd to send messages by mail.
An untested solution :
configure aliases on mail and syslogd.conf
syslogd.conf
*.alert root,eric,kridle,alerts
aliases:
alerts: mymail@maycompany
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-13-2000 08:17 AM
12-13-2000 08:17 AM
SolutionThe syslogd daamon can direct messages to a file, terminals, or another host's syslogd. You could write your own script to read the syslog file of interest and mail you the notification of the events of your choice.
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-13-2000 08:22 AM
12-13-2000 08:22 AM
Re: Configure syslogd to send messages by mail.
You then need to stop the syslogd and restart it.
/usr/sbin/syslogd stop ~.../syslogd /start
You may want to read up on this at the syslogd manpage.
/rcw
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-13-2000 08:26 AM
12-13-2000 08:26 AM
Re: Configure syslogd to send messages by mail.
However, I would recommend using something like swatch:
http://www.stanford.edu/~atkins/swatch/
which monitors log files and carries out an action ( such as mail you, or page you etc.)
BTW: if something is an *.emerg - is it not possible that mail does not even get out?
good luck
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-13-2000 01:50 PM
12-13-2000 01:50 PM
Re: Configure syslogd to send messages by mail.
Regards,
Nabeel