On Mon, 3 Jun 2013, Eric wrote:

Maybe a health check from a load balancer? I know I had to set specific discard 
rules for the host (F5) that was executing the health check, otherwise I'd get 
random spam like this.

Eric

On Jun 3, 2013, at 2:23 PM, Josh Bitto <[email protected]> wrote:

I am trying to run a debug to track down an issue that I'm having, and it isn't 
creating the file.

This is the line that I have in my config.

*.* /var/log/debugformat;RSYSLOG_DebugFormat


The reason why I'm trying to do a debug is I'm getting a directory that has no 
real host name. I have my config setup on templates and based on Hosts that 
come in they get assigned to a specific directory.

So that being said I get a directory (which is supposed to be legit host names 
that I have on my network.

Example:
/hosts/host1
/hosts/host2
/hosts/host3...etc.

But I am picking up one that I have no idea what it is
/hosts/last

And the contents of the folder is a file named success and the contents of the file is 
"last message repeated 3 times"
They have time stamps and it just repeats over and over. I don't believe I have 
an error in my config, but I could be wrong. Any suggestions?

you have some system on your network that is set to collapse duplicate messages into 'last message repeated X times' logs, and when it's sending that out, it doesn't bother to put it's hostname in the message, so when the central box gets it, it follows the parsing rule and can't tell that 'last' is not a hostname.

Since you are loggign in debug format, you should be able to see the fromhost or fromhost-ip, which will tell you which box is doing this.

David Lang
_______________________________________________
rsyslog mailing list
http://lists.adiscon.net/mailman/listinfo/rsyslog
http://www.rsyslog.com/professional-services/
What's up with rsyslog? Follow https://twitter.com/rgerhards
NOTE WELL: This is a PUBLIC mailing list, posts are ARCHIVED by a myriad of 
sites beyond our control. PLEASE UNSUBSCRIBE and DO NOT POST if you DON'T LIKE 
THAT.

Reply via email to