Skip to content
Snippets Groups Projects
  • Jari Sukanen's avatar
    6828fc48
    exec plugin: allow using glob pattern in command list · 6828fc48
    Jari Sukanen authored
    Allow using glob pattern in the command list in configuration. This enables for
    example placing all commands in a single directory and using /path/to/dir/*.sh
    as one of the commands to run all shell scripts in that directory.
    
    Glob patterns are applied on every run of the commands, so matching commands can
    be added without restarting telegraf.
    
    closes #1142
    6828fc48
    History
    exec plugin: allow using glob pattern in command list
    Jari Sukanen authored
    Allow using glob pattern in the command list in configuration. This enables for
    example placing all commands in a single directory and using /path/to/dir/*.sh
    as one of the commands to run all shell scripts in that directory.
    
    Glob patterns are applied on every run of the commands, so matching commands can
    be added without restarting telegraf.
    
    closes #1142