- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- How to redirect syslog.log messages to another hos...
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
03-21-2007 06:05 AM
03-21-2007 06:05 AM
I have entered *.* in syslog.conf redirected to @hostname, but still cannot log any messages in the remote host.
Also I have restarted the syslogd in the local server but still cannot see the syslog messages in remote host.
Any ideas?
TIA
NMory
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-21-2007 06:10 AM
03-21-2007 06:10 AM
Re: How to redirect syslog.log messages to another host?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-21-2007 06:24 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-21-2007 06:26 AM
03-21-2007 06:26 AM
Re: How to redirect syslog.log messages to another host?
*.* @hostname
You need to specify a priority
*.emerg @hostname
or
*.debug @hostname
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-21-2007 05:11 PM
03-21-2007 05:11 PM
Re: How to redirect syslog.log messages to another host?
like
10.10.10.1 system1
10.10.10.2 system2 loghost
System1 is your machine and system2 is the machine you want to send log.
in /etc/syslog.conf add
*.info;mail.none @loghost
restart syslog daemon. Log should be going to the second server.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-21-2007 05:49 PM
03-21-2007 05:49 PM
Re: How to redirect syslog.log messages to another host?
u need to configure two files.
/etc/syslog.conf
*.info;mail.none /var/adm/syslog/syslog.log
*.emerg @loghost
*.alert @loghost
*.info @loghost
/etc/hosts
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-22-2007 01:07 AM
03-22-2007 01:07 AM
Re: How to redirect syslog.log messages to another host?
check also if it's open UDP port 514 from host to destination host.
If the destination is a LINUX, syslogd needs to be started with "-r" option (/etc/sysconfig/syslog).
Pablo
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-22-2007 01:29 AM
03-22-2007 01:29 AM
Re: How to redirect syslog.log messages to another host?
Any other ideas?
Thanks,
NMory
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-22-2007 11:37 AM
03-22-2007 11:37 AM
Re: How to redirect syslog.log messages to another host?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-23-2007 12:34 AM
03-23-2007 12:34 AM
Re: How to redirect syslog.log messages to another host?
-Have restarted the syslogd in both servers
-Have used tabs instead of spaces in syslog.conf
-Have used the hostname and ipaddress in syslog.conf
-Have used entered the hostname and ipaddress in both /etc/hosts
-Have checked the ports and services in /etc/services.
-Have used *.* or other priorities.
Have tried all of that with no luck...Have you guys hadd this issue before? Don't kno w what else to check.
Thanks,
NM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-23-2007 08:00 AM
03-23-2007 08:00 AM
Re: How to redirect syslog.log messages to another host?
/sbin/init.d/syslog stop
syslog -D -d -N
Can you post the output?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-01-2007 02:38 AM
05-01-2007 02:38 AM