Operating System - HP-UX
1751960 Members
4545 Online
108783 Solutions
New Discussion юеВ

Re: configure syslog logs to forward to remote server.

 
billa07
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
Dennis Handly
Acclaimed Contributor
chindi
Respected Contributor

Re: configure syslog logs to forward to remote server.

Hi Dennis,

 

Can we forward to 2 syslog servers at a time ?

Dennis Handly
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

 

chindi
Respected Contributor

Re: configure syslog logs to forward to remote server.

Thanks Dennis .

Bill Hassell
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