LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 01-05-2007, 12:23 PM   #1
jackpal
Member
 
Registered: Oct 2003
Location: Florida USA
Distribution: Fedora, RHEL
Posts: 57

Rep: Reputation: 15
Strange Syslog behavior


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.
 
Old 01-05-2007, 01:29 PM   #2
chort
Senior Member
 
Registered: Jul 2003
Location: Silicon Valley, USA
Distribution: OpenBSD 4.6, OS X 10.6.2, CentOS 4 & 5
Posts: 3,660

Rep: Reputation: 76
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.
 
Old 01-05-2007, 01:33 PM   #3
jackpal
Member
 
Registered: Oct 2003
Location: Florida USA
Distribution: Fedora, RHEL
Posts: 57

Original Poster
Rep: Reputation: 15
LOL too funny. I *just* figured that out a second ago. I think I need a break. I'm almost crosseyed from setting up nagios.

BTW my DNS c-name is jumpjet and the a-record is orla27dx.

Thanks for pointing that out. mistake
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
XMMS strange behavior jskalsi Linux - Software 1 05-03-2006 06:23 PM
Very Strange Behavior raysr Mandriva 4 08-31-2004 02:06 PM
Strange re-login behavior NickC Mandriva 9 07-19-2004 11:20 PM
Strange Behavior andrewb758 Linux - Hardware 5 08-31-2003 02:42 PM
strange behavior abhijit Linux - General 3 07-09-2003 11:25 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 08:56 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration