Skip to content

support multiline external commands and check_multi config - #474

Merged
lgmu merged 4 commits into
ConSol-Monitoring:mainfrom
lgmu:multiline-ini
Oct 20, 2026
Merged

lgmu merged 4 commits into
ConSol-Monitoring:mainfrom
lgmu:multiline-ini

Conversation

@lgmu

@lgmu lgmu commented Oct 20, 2026 •

Copy link
Copy Markdown
Contributor

Currently commands like

[/settings/external scripts/scripts]
check_ext=/path/to/test.sh \
          $ARGS$

[/settings/check/multi/testing]
command[Files]=check_files \
          "path=/path/to/media.zip" \
          "detail-syntax=%(fullname) - %(total_size) - %(creation:date)" \
          "show-all"

are not valid in the snclient_local.ini etc.

This change PR supports this syntax.

@sni

sni commented Oct 20, 2026

Copy link
Copy Markdown
Contributor

would be worth mentioning this in the docs and changelog

@lgmu
lgmu requested a review from sni October 20, 2026 15:50
@lgmu
lgmu merged commit 1d2a57c into ConSol-Monitoring:main Oct 20, 2026
67 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants