David,

Thanks but that won't work. I want to enforce the hostname that rsyslog is 
started with in case the hostname changes at some point.

-Joe



On Dec 13, 2010, at 1:20 PM, [email protected] wrote:

> On Mon, 13 Dec 2010, Rainer Gerhards wrote:
> 
>> Unfortunately, this is not possible...
> 
> however, what you can do is to change the template to put any string you want 
> instead of %hostname%, that will have the same effect.
> 
> David Lang
> 
>> Rainer
>> 
>>> -----Original Message-----
>>> From: [email protected] [mailto:rsyslog-
>>> [email protected]] On Behalf Of Joe Williams
>>> Sent: Monday, December 13, 2010 9:04 PM
>>> To: rsyslog-users
>>> Subject: [rsyslog] setting the hostname
>>> 
>>> 
>>> List,
>>> 
>>> I would like to statically set the hostname (don't use the actual
>>> hostname of the system) that rsyslogd uses for a node in the
>>> configuration or as an argument to the rsyslogd command on that node. I
>>> didn't immediately see a way to do this in the docs, is this possible?
>>> 
>>> Thanks.
>>> 
>>> -Joe
>>> 
>>> 
>>> 
>>> Name: Joseph A. Williams
>>> Email: [email protected]
>>> Blog: http://www.joeandmotorboat.com/
>>> Twitter: http://twitter.com/williamsjoe
>>> 
>>> _______________________________________________
>>> rsyslog mailing list
>>> http://lists.adiscon.net/mailman/listinfo/rsyslog
>>> http://www.rsyslog.com
>> _______________________________________________
>> rsyslog mailing list
>> http://lists.adiscon.net/mailman/listinfo/rsyslog
>> http://www.rsyslog.com
>> 
> _______________________________________________
> rsyslog mailing list
> http://lists.adiscon.net/mailman/listinfo/rsyslog
> http://www.rsyslog.com

Name: Joseph A. Williams
Email: [email protected]
Blog: http://www.joeandmotorboat.com/
Twitter: http://twitter.com/williamsjoe

_______________________________________________
rsyslog mailing list
http://lists.adiscon.net/mailman/listinfo/rsyslog
http://www.rsyslog.com

Reply via email to