I am using the vCenter monitoring for VMs. I was wondering if there was a way to dynamically monitor a vCenter folder of VMs. For instance, we have a folder with our production VMs in it. Can I have PRTG dynamically add/remove sensors for the VMs as they are created?
vCenter monitoring of VMs
Modified on 2025-06-10 12:12:04 +0200
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.
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.
Hello,
thank you for the KB-Post. PRTG does not automatically delete objects. This is actually a distinct decision from us, we don't want PRTG to have the capabilities to automatically remove objects. Deleting objects should always be a user action (with confirmation then).
To accommodate "power users" though, there is an API call to PRTG to delete objects:
Deleting Objects API calls to the delete function immediately delete the referenced object including all subobjects, if there are any. For example, deleting a group deletes all its devices and sensors! There is no way to undo a deletion so use this function with care.
Delete an object: /api/deleteobject.htm?id=objectid&approve=1
(see the API documentation "Setup"->"PRTG API"->"Object Manipulation")
for this you'd need to know the ID of the object though, which should be deleted. It's not possible for example then to delete all sensors (or devices with sensors) in a certain error state I'm afraid.
best regards.
Mar, 2019 - Permalink