Max Parameter Length?
-
I'm trying to use Service.Check(*) to check a URL. Unfortunately, the URL I need to check is really long and looks like this:
The URL above doesn't work and results in a "Cannot get current parameter value: Requested data collection item is not supported by agent" error.
If I shorten the URL slightly, the error goes away and it actually makes the call (but then obviously I have the wrong URL!)... works. If I add one more character, it stops working.
Is there a length limit to what's passed to Service.Check? If so, what's the limit?
Thanks!Peter
-
On further investigation, this doesn't seem to be limited to just Service.Check(*). Unless I'm looking at this wrong, all checks and DCIs seem to break after the parameters reach a certain length.
-
Hi,
It is cut to 255 characters. Some time ago it was the limit on parameter name in DCI definition. When DCI name length limit was increased, limit on agent side was forgotten. I just fix it.
Best regards,
Victor
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login