Operating System - HP-UX
1847030 Members
4142 Online
110259 Solutions
New Discussion

set facility number on outgoing syslog

 
JEAN TAYLOR
Occasional Advisor

set facility number on outgoing syslog

Our routers and DNS machines (HPUX 10.20 & 11.00) are sending to a linux syslog server. The syslog facility number is set on the routers so the syslog server can file the messages away in a particular file....
core routers have "logging facility local5"
distribution have "logging facility local4".
the syslog server has..
# log incoming dist routers to this file
local5.* /var/syslog/syslog.dist
#log incoming pix messages to this file
local4.* /var/syslog/syslog.pix
#log incoming unix messages to this file
local3.* /var/syslog/syslog.hpux

I would like to have 36(+) DNS machines to do the same as the core and distribution with a facility of LOCAL3. I've been through the man pages but nothing has clicked so far. Any help is greatly appreciated.
3 REPLIES 3
Mark Greene_1
Honored Contributor

Re: set facility number on outgoing syslog

What are the DNS boxes running? Windows, Linux, or something else?

mark
the future will be a lot like now, only later
JEAN TAYLOR
Occasional Advisor

Re: set facility number on outgoing syslog

DNS machines (HPUX 10.20 & 11.00)
Bind 8.2.5
Mark Greene_1
Honored Contributor

Re: set facility number on outgoing syslog

In the syslog.conf file of each of the systems running DNS, you can add one or the other of the following:

*.daemon @systemname

or

*.info;mail.none @systemname

where "systemname" is the hostname of the Linux system you want all the messages to go to. The first option will send only the daemon messages over; the second will send everything. Given that DNS messages come from the named process, you only have the option to route these via "daemon" in the syslog.conf file.

HTH
mark
the future will be a lot like now, only later