Decent plugin, needed to truncate.

This was just what I needed, although bear in mind that NRPE can only handle 1024b of data in the return (unless custom compile), so the script causes an error if you have a lot of updates.

Easy work around was the addition of a length check, and truncation if needed:

If intImportant > 0 Then

If Len(importantNames) > 970 Then

importantNames = Left(importantNames, 970) & “…”

End If