Question

Plugin-Pack VMware ESX - discovery filter by Tag / Custom Attribute

  • 7 September 2022
  • 5 replies
  • 58 views

Badge +3

Hello,

 

Our question is about the plugin-pack Vmware ESX.

We want to known if it is possible to use use Vmware Tag / Custom Attribute in a discovery rule to filter on différents objetcs (virtual machine, hosts, datastore, ...).

 

Thank you for your answers.

Best regards

Vincent,


5 replies

Userlevel 6
Badge +16

Hi, 


You can already use custom attributes to filter on objects, create or assign dimensions (groups,..).

 

Tags should come this month, we are finishing some tests. 

 

It’s supported at ESX and VM level. 

 

Best

Badge +3

Hello,

Thank you for the answer.

 

I created a service discovery rule based on the Virt-VMWare2-Vcenter-Datastores-Discover command.

When I edit the rule, in the tab Inclusions/Exclusions & Macros, for the filter I only have the choices

$name$   $accessible$   $type$ for the selection filter.

 

Can you tell me where to find the information for implementing the custom attributes on the discovery rule.

 

May be, do you have an example of a configuration for this point.

 

Thank you for your answers.

Best regards

Vincent,

Userlevel 6
Badge +16

Sorry, my mistake, I was on the host discovery part, not on the service one. 

 

We don’t manage tags at service discovery level, could you elaborate a bit about the use case please?

Badge +3

Whe use this discovery rule to monitor datastores usage. This discovery allows automatic addition of new datastore in Centreon and disable those that no longer exist.

Actually, in the rule, the filter allows us to select the datastores by criteria (type, name, accessibility).

 

In our Vmware environnement whe use Custom Attributes to categorize objets.

 

For example, we want to use Vmware Custom Attribute to identify datastore we won’t to monitor.

So, it would be easy to filter on this custom attribute in the discovery rule in Centreon.

Userlevel 6
Badge +16

Ok I see, give me some time to check this with the developer and I’ll come back to you. 

 

 

Reply