Operating System - HP-UX
1833304 Members
2810 Online
110051 Solutions
New Discussion

syslogd reporting ip address when reporting remotely

 
SOLVED
Go to solution
Kevin_31
Regular Advisor

syslogd reporting ip address when reporting remotely

Hello, I'm setting up my machines to dump all the syslogd entries to a
central server. It's working okay, but the remotely logged entries
are all prefaced with the ip address of the machine it comes from.
I'd prefer it to resolve that to the machine's hostname. Is there
something wrong with my DNS/NIS or, in other words can I/how can I fix
this?

cheers,
Kevin
3 REPLIES 3
melvyn burnard
Honored Contributor
Solution

Re: syslogd reporting ip address when reporting remotely

on th esystem you are doing the logging, use nslookup to check whether it can resolve the hostname/ip address.
nslookup hostname
nslookup ip_address.
My house is the bank's, my money the wife's, But my opinions belong to me, not HP!
Christopher McCray_1
Honored Contributor

Re: syslogd reporting ip address when reporting remotely

do you have a sample of the output? I don't need the IP, just the message including it. Does it say inetd[some #]connetction from (ip_address)? If so this means you have logging enabled with your inetd, which in this case is normal. You will see this message when it is pretty much idle. Please put a sample out here so we can see it.

Thanks
Chris
It wasn't me!!!!
Kevin_31
Regular Advisor

Re: syslogd reporting ip address when reporting remotely

ahhh, it was the first (DNS resolution problem).

cheers for the speedy replies guys.

sorted by adding syslog 'client' hostname to DNS (magic!)