- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- syslog.conf syntax for 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
Forums
Discussions
Discussions
Forums
Discussions
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
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
01-03-2002 10:32 AM
01-03-2002 10:32 AM
I would like to setup my syslog.conf to email me when there are any critical errors (like one of the mirrored disks dies, etc). I am just not sure of the syntax.
Thank you,
Sally
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-03-2002 10:38 AM
01-03-2002 10:38 AM
Re: syslog.conf syntax for email...
You cand configure a cron job to grep a error message in the log file. If it finds that it will email a notification to the user/admin.
Hope this helps.
Regds
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-03-2002 10:41 AM
01-03-2002 10:41 AM
Re: syslog.conf syntax for email...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-03-2002 10:41 AM
01-03-2002 10:41 AM
Solution*.crit root,user1,user2
where user1 and user2 are login ID's you want the e-mail to go to. You can add as many or few as you want. You may be able to reference an alias that has been setup for a remote e-mail address in /etc/mail/aliases (i.e., your outlook or groupwise e-mail address), but I've not tried this on HP-UX so I cannot say for sure if it will work.
HTH
mark
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-03-2002 10:43 AM
01-03-2002 10:43 AM
Re: syslog.conf syntax for email...
Have a look at the man pages (1M) for 'syslogd'. Use the tab key (character) to separate the fields in /etc/syslog.conf below:
*.crit root
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-03-2002 10:51 AM
01-03-2002 10:51 AM
Re: syslog.conf syntax for email...
You can also modify the /etc/syslog.conf file to forward the type of alert you want to moify to a userid / alias on the system and then configure the /etc/mail/aliases to forward the mail for the user/alias on the system to your email address. Also do a "man syslogd" to find more info on how to configure the /etc/syslog.conf file.
Hope this helps.
Regds