Operating System - Linux
1829101 Members
2719 Online
109986 Solutions
New Discussion

Re: how to set the syslogd to record the other host 's forwarding message ?

 
tigerjaz
Occasional Advisor

how to set the syslogd to record the other host 's forwarding message ?

how to set the syslogd to record the other host 's forwarding message ?
i man syslogd. it tell me to set the internet domain socket in /etc/services.
i don't know how to do it.pls help me.
laomao
3 REPLIES 3
U.SivaKumar_2
Honored Contributor

Re: how to set the syslogd to record the other host 's forwarding message ?

Hi,
In /etc/services ensure you have this line.
syslog 514/udp
Now all you have to do is on the cisco router side.
city-cisco(config)#logging x.x.x.x
where x.x.x.x is the HP-UX server ip address where you want to collect cisco log messages.
Now you can collect the cisco log messages in
/var/adm/syslog/syslog.log file.

regards,
U.SivaKumar
Innovations are made when conventions are broken
Patrick Preuss
Trusted Contributor

Re: how to set the syslogd to record the other host 's forwarding message ?

hi,
also add the -r parameter to the startup parms, if syslog is running under linux

-PP
Goodbye Douglas! Whereever you are now, keep your towel and don't panic.
Jonathan Sharp_1
New Member

Re: how to set the syslogd to record the other host 's forwarding message ?

You might also want to look at syslog-ng. It's a syslogd replacement that handles forwarding quite nicely as well as tunneling over SSH if you're forwarding anywhere over the 'net. Homepage: http://www.balabit.hu/en/downloads/syslog-ng/