1847086 Members
5596 Online
110262 Solutions
New Discussion

Re: syslog server

 
SOLVED
Go to solution
Ricky_4
Frequent Advisor

syslog server

Hi All,

How do I configure my HPUX server to be my syslog server? I mean my cisco router will dump its logs to particular file of the syslog server. That particular log file is exclusive for cisco log.

4 REPLIES 4
Chris Wilshaw
Honored Contributor
Solution

Re: syslog server

The server will automatically act as a syslog server if you add

logging ip_address

into your router config, where ip_address is the address of your server

All messages from the router will default to syslog.log

If you wish to set these messages to an alternate log eg: /var/adm/syslog/router.log

add the line below to /etc/syslog.conf
(on cisco equipment, router messages seem to default to the local7 variable for syslog)

local7.* /var/adm/syslog/router.log

then restart syslogd

HTH

Chris
Ricky_4
Frequent Advisor

Re: syslog server

What does the local7.* mean?
Chris Wilshaw
Honored Contributor

Re: syslog server

categorised as "local7" will be sent to that log file.

severities include
emerg, crit, warning,info

A full list of categories and severities can be found using

man 3c syslog
Chris Wilshaw
Honored Contributor

Re: syslog server

oops.

Missed re-pasting the first line.

It should have read

This means that any severity of alert
categorised as local7..............