Odd Value Coming back in %HOSTNAME%

This is the place for you, if you got rsyslog up and running but wonder how to make it do what you want.

Moderator: rgerhards

Odd Value Coming back in %HOSTNAME%

Postby speedfox » Mon Dec 22, 2008 4:19 pm

Hi Rainier

A Merry Xmas to you :)

We released our system into the live environment today using 4.1.2(dev4), and all well so far.
except for 2 small things.
1.) when i tested %HOSTNAME% on my WINDOWS test system it gave me my ip address eg 192.155.22.33, BUT when i run it on a live CENTOS system it just brings back the letters DEC
2.) Its HORRIBLE slow if i include a gateway address on the ETH card. if i remove it its fine. but we need the gateway to gain access to the net.


Please assist

Cheers
Stuart
speedfox
Frequent Poster
 
Posts: 70
Joined: Wed Oct 01, 2008 2:07 pm

Professional Services Information

  • Custom written rsyslog.conf?
  • Maintenance Contract?
  • Installation support?

Re: Odd Value Coming back in %HOSTNAME%

Postby speedfox » Tue Dec 23, 2008 7:22 am

anyone?
speedfox
Frequent Poster
 
Posts: 70
Joined: Wed Oct 01, 2008 2:07 pm

Re: Odd Value Coming back in %HOSTNAME%

Postby speedfox » Tue Dec 23, 2008 8:33 am

ive got further feedback
it says when i run rsyslog in debug
imudp.c: Host name for your address (192.155.22.33) unknown.

This is the value that i need to put into the HOSTNAME field.
how would i set rsyslog or Linux up to do this?
speedfox
Frequent Poster
 
Posts: 70
Joined: Wed Oct 01, 2008 2:07 pm

Re: Odd Value Coming back in %HOSTNAME%

Postby speedfox » Tue Dec 23, 2008 10:36 am

ok i found the fix. it turns out that windows and linux run the log messages slightly differetly for cisco(weird)
on windows the property replacer %HOSTNAME% works fine
but in linux i have to use fromhost...
anyway. it works.
speedfox
Frequent Poster
 
Posts: 70
Joined: Wed Oct 01, 2008 2:07 pm

Re: Odd Value Coming back in %HOSTNAME%

Postby rgerhards » Tue Dec 23, 2008 11:13 am

sorry, I am quite busy in front of the holiday... HOSTNAME always depends on what the remote sender puts in. There are various anomalies. In the latest devel version, I know that I did some parser enhancements for Cisco. so if you don't run the latest, that may be worth trying.

On the IPv6 issue: there is one IPv6 fix in 4.1.2, other than that I can not think of anything that affects performance.
User avatar
rgerhards
Site Admin
 
Posts: 2647
Joined: Thu Feb 13, 2003 11:57 am

Google Ads



Return to Configuration

Who is online

Users browsing this forum: No registered users and 0 guests

cron