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.


Article Comments

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.


Jan, 2021 - Permalink

Hi,

Ok , thanks!


Jan, 2021 - Permalink

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.


Jan, 2021 - Permalink

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://helpdesk.paessler.com/en/support/solutions/articles/29313-vmware-snapshots

Regards.


Jan, 2021 - Permalink

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


Jan, 2021 - Permalink