- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Remote syslog logging (Primary and Secondary)
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
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
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-23-2003 01:03 AM
тАО06-23-2003 01:03 AM
Remote syslog logging (Primary and Secondary)
In solaris, we can use
mail.debug ifdef('LOGHOST', /var/log/authlog, @loghost)
Please help. Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-23-2003 01:15 AM
тАО06-23-2003 01:15 AM
Re: Remote syslog logging (Primary and Secondary)
- To send messages from host A to /var/adm/syslog/syslog.log on host B, the syslog.conf file on host A would look like this:
*.info @B
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-23-2003 01:18 AM
тАО06-23-2003 01:18 AM
Re: Remote syslog logging (Primary and Secondary)
I think you can setup /etc/syslog.conf to redirect the log(s) to another server. I haven't setup this function before. Please use:
#man syslogd
to get more help.
Good luck!
-ux
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-23-2003 01:24 AM
тАО06-23-2003 01:24 AM
Re: Remote syslog logging (Primary and Secondary)
# @(#) $Revision: 74.1 $
#
# syslogd configuration file.
#
# See syslogd(1M) for information about the format of this file.
#
mail.debug /var/adm/syslog/mail.log
*.info;mail.none /var/adm/syslog/syslog.log
*.alert /dev/console
*.alert root
*.emerg *
*.emerg;*.alert;*.crit;*.err;*.warning;*.notice;*.info @192.9.200.79
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-23-2003 01:26 AM
тАО06-23-2003 01:26 AM
Re: Remote syslog logging (Primary and Secondary)
Whilst it can be done I would not recommend it as if a server had problems and during those problems it lost contact with the syslog server you will then loose the syslog info during this stage.
This info could be very important in pining down the problem.
Paula
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-23-2003 01:30 AM
тАО06-23-2003 01:30 AM
Re: Remote syslog logging (Primary and Secondary)
I would set up a copy routine so that the syslog is copied to the syslog server.
There are many ways to do this - ftp, rcp and nfs to name but three.
Paula
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-23-2003 01:40 AM
тАО06-23-2003 01:40 AM
Re: Remote syslog logging (Primary and Secondary)
I don't believe you can make syslogd conditionally write to other servers, however it's possible to write to 2 servers:
ie in syslog.conf:
mail.debug @loghost1
mail.debug @loghost2
You'd then need to compare the syslog entries on the 2 loghosts to ensure you see everything.
regards,
Darren.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-23-2003 02:00 AM
тАО06-23-2003 02:00 AM
Re: Remote syslog logging (Primary and Secondary)
Thanks for all the prompt reply. Appreciate it a lot. I think I should make my question clearer next time :) My question was answered by Darren. All my unix workstation are already writing its syslog to server A. I wanted to know whether can I configure all the workstation to write to server B if server A is down.