I have a batch script used to get users connected to a RDS server. I use this command to talk with PRTG, but it does not suite.
ECHO "2:%COUNT%:Critical! Number of active sessions = %COUNT%" EXIT
On my sensor the first parameter "2" is not taken into account, it should set the sensor in error.
And the message displays the following:
2:Error Number of active sessions = 2
The message is correct but why does it displays "2:"
Thanks for the answer.