Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I'm running Fedora Core 6 on a workstation. I want to use it as a syslog server and a nagios server. Everything seems to work fine but the syslogging. When I recieve logs from other machines they all are prepended with the machine name of the server not the machine it is coming from. For example:
Jan 5 12:23:39 orla2cwx dhclient: bound to xxx.xxx.xxx.xxx -- renewal in 1713 seconds.
Jan 5 12:51:39 orla27dx cups: cupsd shutdown succeeded
Jan 5 12:51:39 orla27dx cups: cupsd startup succeeded
Jan 5 12:52:10 orla2cwx nagios: Auto-save of retention data completed successfully.
orla2cwx is the syslog server set up to recieve. The first event is the syslog server. the second and third event are both from another machine on the network where I've restarted CUPS to get an event generated. From my experience it should look like this.
Jan 5 12:23:39 orla2cwx dhclient: bound to xxx.xxx.xxx.xxx -- renewal in 1713 seconds.
Jan 5 12:51:39 jumpjet cups: cupsd shutdown succeeded
Jan 5 12:51:39 jumpjet cups: cupsd startup succeeded
Jan 5 12:52:10 orla2cwx nagios: Auto-save of retention data completed successfully.
Where jumpjet is the name of my workstation. This is exactly the case on all my other syslogging boxes. The only difference is that they are Solaris. I've done a bit of searching today but I don't see anything about a bug in syslog in the latest Fedora release. I'm running a yum update now to see what happens.
Distribution: OpenBSD 4.6, OS X 10.6.2, CentOS 4 & 5
Posts: 3,660
Rep:
orla2cwx is not the same as orla27dx. It's not syslog misbehaving. Somewhere in your name resolution the machine that you think is called "jumpjet" is actually called "orla27dx". Check the /etc/hosts file on your syslog server.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.