System Administration
cancel
Showing results for 
Search instead for 
Did you mean: 

configure syslog logs to forward to remote server.

 
Highlighted
Occasional Advisor

configure syslog logs to forward to remote server.

I would like to configure syslog to forward to remote server with the port 517 on HP ux 11.31, can you please help on this ?

5 REPLIES 5
Highlighted
Acclaimed Contributor
Highlighted
Respected Contributor

Re: configure syslog logs to forward to remote server.

Hi Dennis,

 

Can we forward to 2 syslog servers at a time ?

Highlighted
Acclaimed Contributor

Re: configure syslog logs to forward to remote server.

>Can we forward to 2 syslog servers at a time?

 

From syslogd(1m) examples it appears you copy the entry:

http://h20565.www2.hp.com/hpsc/doc/public/display?docId=emr_na-c02271738

*.emerg @Admin1

*.emerg @admin2

 

Highlighted
Respected Contributor

Re: configure syslog logs to forward to remote server.

Thanks Dennis .

Highlighted
Honored Contributor

Re: configure syslog logs to forward to remote server.

The syslog daemon reads each line in syslog.conf and applies that rule to the incoming message. You can create multiple actions for the same facility and priority such as saving the message in several logfiles or sending to multiple remote syslog servers. Just duplicate the line and change the destination server name. REMEMBER: no spaces allowed for rules, only tabs may be used for white space.



Bill Hassell, sysadmin