Open B4DschK4Pp opened 2 years ago
Message passed by PRTG: 'Warning caused by lookup value 'Unable to check revocation status' in channel 'Revoked' - -119 # (Days to Expiration) is below the error limit of 7 # in Days to Expiration. Certificate will expire in less than 7 days. (OK. Certificate Common Name: note-srv01.note.dev - Certificate Thumbprint: AA2FA080D931F6F890EB65DBDD7475F63E646E3A)'
Test showed that it will work when you pass the %message with double quotes (“) instead of single quotes (‘). Should be investigated more on how to pass correctly and escape correctly.
This seems to be a known issue and others have requested to access the placeholders via environment variables aswell, as this would make it possible to access the placeholders from within the script directly and deal with them internally, instead of passing them as parameters.
For now it seems we cannot include the text of %message placeholder as it may break the notification script. We have to get rid of the parameter so the script works more reliable.
When PRTG will provide a fix or solution on how to proceed with this issue we could use it again.
This error appears sometimes. Maybe because the strings passed are not escaped properly (see screenshot)