- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: syslog.conf
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
- 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
06-18-2002 06:12 AM
06-18-2002 06:12 AM
I want to config syslogd to send messages to an email address.
My syslog.conf file is like this:
mail.debug /var/adm/syslog/mail.log
*.info;mail.none /var/adm/syslog/syslog.log
*.alert /dev/console
*.alert root
*.emerg *
What I should change to do this ?.
Thanks.
Juanma.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-18-2002 06:29 AM
06-18-2002 06:29 AM
Re: syslog.conf
For any and/or all entries, just append it with a comma and email address.
Hope this helps
Chris
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-18-2002 06:31 AM
06-18-2002 06:31 AM
Re: syslog.conf
Thanks.
Juanma.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-18-2002 06:31 AM
06-18-2002 06:31 AM
Re: syslog.conf
....
*.alert root,skchan,jimb
....
After the changes are made restart syslogd.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-18-2002 06:35 AM
06-18-2002 06:35 AM
Re: syslog.conf
Facilities:
kern, mail, lpr, daemon, auth, local0...local7, mark
Levels:
debug, info, notice, warning, err, alert, emerg, crit, none
Destinations:
pathname/file: (such as /var/adm/mylogfile)
device: (such as /dev/console)
user1,user2,... (logged in users)
* (every user)
There could be dozens of messages per minute under some conditions. It's much easier to scan syslog with a script on a periodic basis and grep for error, failures, warnings, critical etc. Something like this:
grep -i -e err -e fail -e warn -e crit /var/adm/syslog/syslog.log
Do this before you trim your syslog file and mail the result.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-18-2002 06:41 AM
06-18-2002 06:41 AM
Re: syslog.conf
You can also set up a .forward file to forward your *.alert and *.emerg to an email address.
Hoe this helps
Chris
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-18-2002 06:46 AM
06-18-2002 06:46 AM
Re: syslog.conf
Marty
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-18-2002 06:55 AM
06-18-2002 06:55 AM
Re: syslog.conf
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-18-2002 06:59 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-18-2002 07:14 AM
06-18-2002 07:14 AM
Re: syslog.conf
Juanma.