Actually, I forward to two seperate machines, and want the ability to
stop forwarding whenever I want. So I thought, that if I put the ip's of
the receivers into files, and want to stop one, I just change the ip in
the file without changing the config file itself.
Am 20.02.20 um 21:28 schrieb dgermanrsysl--- via rsyslog:
What are you trying to overcome/achieve.
Perhaps using a hostname rather than IP address would help you.
You could define the hostname and IP in /etc/hosts. This would not
require restarting rsyslog when it changes.
You might otherwise consider using a DynamicDNS server to resolve the
address.
On 2/20/20 2:04 PM, David Lang via rsyslog wrote:
no, the target cannot be a variable.
David Lang
Date: Thu, 20 Feb 2020 09:41:27 -0700 (MST)
From: Arp via rsyslog <[email protected]>
Cc: Arp <[email protected]>
I am trying to have config that does not have the target ip for omfwd
hardcoded (although I probably need to restart the service everytime
I want
it to send to a new ip).
...
_______________________________________________
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.
_______________________________________________
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.