ideri / IDERInote

Various tools for IDERI note.
1 stars 0 forks source link

PRTG notify - Error handling when excludes not specified #4

Closed B4DschK4Pp closed 2 years ago

B4DschK4Pp commented 2 years ago

Error sending "EXE": Error1. Exception calling "AddRange" with "1" argument(s): "Failed to lookup SID for given principal string ''." At C:\Program Files (x86)\PRTG Network Monitor\Notifications\exe\notify-via-IDERInote.ps1:336 char:5 + $message.Exclude.AddRange($excludesArr) [...] (Sensor ID: 2080 | Trigger Source ID: 2080 | Trigger ID: 3)

Before adding excludes, check if any are specified.

B4DschK4Pp commented 2 years ago

fixed