On this time window, I think you can not get around issuing a restart-type HUP. As this needs to be synchronised in any case, you'll probably need a script, so you could also write a file that contains the new IP in question. I suggest one extra file that then is included via $IncludeConfig from the main rsyslog.conf.
Rainer > -----Original Message----- > From: [email protected] > [mailto:[email protected]] On Behalf Of Jules > Pagna Disso > Sent: Wednesday, February 11, 2009 10:15 PM > To: rsyslog-users > Subject: Re: [rsyslog] rsyslog.conf > > well, > > I am not trying to point to multiple addresses at the same > time, but i am in > an environment where the IP could change every 10min or 15 min. > > 2009/2/11 RB <[email protected]> > > > On Wed, Feb 11, 2009 at 11:53, Jules Pagna Disso > <[email protected]> > > wrote: > > > Giving that one can change the IP in the rsconfig.conf to > send a log > > > remotely, would they be an easy way, or what would be the > best approach > > to > > > change the config file programatically so that IP can be > update whenever > > > wanted. > > > > Use DNS. There are nearly infinite of ways to programmatically > > replace FOO with BAR in a text file, but changing the file > requires a > > HUP or restart for an already-running instance of rsyslog, which is > > inelegant. If you're trying to point to multiple hosts, > either float > > a virtual IP among them or point at a DNS record you can move among > > hosts. > > _______________________________________________ > > 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

