When you call an external command like custom_plugin.sh -v, then this prints verbose output of the snclient itself.
Code is here:
https://github.com/ConSol-Monitoring/snclient/blob/main/pkg/snclient/commands/root.go#L142-L159
./snclient -c snclient.ini run custom_plugin.sh -v
[09:51:19.517][D] reading config: ...
UNKNOWN - unexpected end of condition after ''
When executing this remotely, you just get the last line as a result.
Expected behaviour:
All args after the command name should only be only used for the script, not snclient itself.