cmdfile¶
Defines the absolute path to the command file that omsendertrack reads when rsyslog receives a HUP signal.
This parameter applies to omsendertrack: Sender Tracking Output Module.
- Name:
cmdfile
- Scope:
input
- Type:
string
- Default:
input=none
- Required?:
no
- Introduced:
8.2506.0 (Proof-of-Concept)
Description¶
This optional parameter allows you to specify the absolute path to a command
file. This file is designed to be processed when rsyslog receives a HUP
signal (for example via systemctl reload rsyslog).
Note: Command file support is currently not implemented in this proof-of-concept version of the module. When implemented, this feature is intended to allow dynamic control over the module’s behavior, such as resetting statistics for specific senders, without requiring an rsyslog restart.
Input usage¶
module(load="omsendertrack")
action(type="omsendertrack"
senderId="%hostname%"
stateFile="/var/lib/rsyslog/senderstats.json"
cmdFile="/var/lib/rsyslog/sendercommands.txt")
See also¶
See also omsendertrack: Sender Tracking Output Module.
Support: rsyslog Assistant | GitHub Discussions | GitHub Issues: rsyslog source project
Contributing: Source & docs: rsyslog source project
© 2008–2025 Rainer Gerhards and others. Licensed under the Apache License 2.0.