Open johanthoren opened 2 years ago
Write-Output "OK: All is well|'FOO'=10;4:5;6:9;"
# /opt/plugins/check_nrpe -s -H <IP> -c "check_colon" OK: All is well|'FOO'=10;4;6
I expected the output to be: OK: All is well|'FOO'=10;4:5;6:9
OK: All is well|'FOO'=10;4:5;6:9
Instead, the colons and the number following the colons were removed. OK: All is well|'FOO'=10;4;6
OK: All is well|'FOO'=10;4;6
NSClient++ log:
2021-09-16 11:22:48: debug:c:\source\master\modules\CheckExternalScripts\CheckExternalScripts.cpp:371: Command line: cmd /c echo scripts\custom\check_colon.ps1; exit($lastexitcode) | powershell.exe -command -
ITRS reference ticket: 240089
Issue and Steps to Reproduce
Expected Behavior
I expected the output to be:
OK: All is well|'FOO'=10;4:5;6:9
Actual Behavior
Instead, the colons and the number following the colons were removed.
OK: All is well|'FOO'=10;4;6
Details
Additional Details
NSClient++ log:
ITRS reference ticket: 240089