What is this?

This knowledgebase contains questions and answers about PRTG Network Monitor and network monitoring in general. You are invited to get involved by asking and answering questions!

Learn more

PRTG Network Monitor

Intuitive to Use. Easy to manage.
300.000 administrators have chosen PRTG to monitor their network. Find out how you can reduce cost, increase QoS and ease planning, as well.

Free Download

Top Tags


View all Tags

Dynamic LimitMaxError in custom script

Votes:

0

Your Vote:

Up

Down

Hi, I am using a custom sensor to monitor snapshots in our VCenter. On the first scan I am getting the right error message with the names of the VMs, but the other messages do not update with the updated ones.

Please advise.

custom-sensor prtg ps1 snapshot

Created on Jan 19, 2021 10:22:12 AM by  Michaelmo (0) 1



5 Replies

Votes:

0

Your Vote:

Up

Down

Hello Michael,

Thank you for your message.

Regarding what you are trying to achieve, I'm afraid that it's not possible to update the limits of a sensor after its creation via the custom script. Indeed, the limits are only applied during the creation of the channels and ignored afterwards.

Therefore, to modify the limits of the sensors, I invite you to use the API of PRTG. Here is the corresponding manual: https://www.paessler.com/manuals/prtg/object_manipulation#channel_properties.

If you have questions, let us know.

Regards.

Created on Jan 20, 2021 6:59:46 AM by  Florian Lesage [Paessler Support]

Last change on Jan 20, 2021 7:00:13 AM by  Florian Lesage [Paessler Support]



Votes:

0

Your Vote:

Up

Down

Hi,

Ok , thanks!

Created on Jan 20, 2021 7:11:44 AM by  Michaelmo (0) 1



Votes:

0

Your Vote:

Up

Down

Could you please suggest a script to check VMware snapshots? I found a sensor in the Sensor Hub, but it does not appear to work.

Created on Jan 20, 2021 7:32:49 AM by  Michaelmo (0) 1



Votes:

0

Your Vote:

Up

Down

What sensor do you use to execute the script? Are all the requirements mentioned in the script fulfilled ? What error message do you get in PRTG? Can you please execute the script manually on the PRTG server and check what is the output.

I also found a KB article regarding VMware snapshots monitoring, here it is: https://kb.paessler.com/en/topic/29313-vmware-snapshots

Regards.

Created on Jan 20, 2021 8:41:29 AM by  Florian Lesage [Paessler Support]



Votes:

0

Your Vote:

Up

Down

Script works on local VM , but on PRTG logs it gives "(invalid json.). (code pe231)" error. I will try the one in the article later.

Thanks

Created on Jan 20, 2021 8:48:46 AM by  Michaelmo (0) 1



Please log in or register to enter your reply.


Disclaimer: The information in the Paessler Knowledge Base comes without warranty of any kind. Use at your own risk. Before applying any instructions please exercise proper system administrator housekeeping. You must make sure that a proper backup of all your data is available.