Hi,
We have a lot of sensors running in our environment and i was wondering if it is possible that sensors discovered with auto-discovery are deleted automaticly when they are already removed. For example, if a vm is sensored in a vcenter and i delete the vm in the vcenter, is it possible prtg deletes the sensor of the vm automaticly?
Greetings,
Killaars
(PS. Sorry for my bad English.)
Article Comments
Attention: This article is a record of a conversation with the Paessler support team. The information in this conversation is not updated to preserve the historical record. As a result, some of the information or recommendations in this conversation might be out of date.
Hi Felix,
Thanks for the quick reaction. I will have a look into it and hope it's gonna work.
Best regards,
Killaars
Oct, 2015 - Permalink
Has the feature to remove deleted VMs, from a sensor list in a vCenter auto-discovered device without the API call?
Thank You, Richard
Dec, 2020 - Permalink
Hello,
I'm afraid that there is no such feature in PRTG to automatically remove a device when it doesn't exist anymore in vCenter. The API call remains the only option to automate this task.
Kind regards.
Dec, 2020 - Permalink
Hi Killaars,
This will not be possible I'm afraid. The vCenter would need to send an HTTP request to trigger the deletion via the API as soon as a virtual machine has been removed. This would be possible with this call:
Please use this API call with care, this cannot be undone afterwards!
Additionally, you might want to acknowledge particular alarms by following this article.
Best regards, Felix
Oct, 2015 - Permalink