• 0
Tanvir

Add the tags from VMs and add to the device as a custom property

Question

Hi All

I am running a PowerShell script in a vCentre which tags the VMs based on the parent folder. I want to run a PowerShell a script in LM portal to add those values as a custom property to the devices.

Anyone have any idea.

Regards

Tanvir

Share this post


Link to post
Share on other sites

3 answers to this question

Recommended Posts

  • 0

Tried esx.tags=true? https://www.logicmonitor.com/support/monitoring/os-virtualization/esx-servers-vsphere/#tag . Doesn't use device-level properties though.

You can use PropertySources to run a powershell script to add the tags as device autoproperties. Your script will need to provide especially formatted output and that is covered in the documentation and you can look at existing PropertySources for examples.

Share this post


Link to post
Share on other sites
  • 0

Thanks, Mike

vCentre has a custom property esx.tags=true. Also esx.user have read permission to get tags. I am running VMware ESXi 6.5. 

Based on the document https://www.logicmonitor.com/support/monitoring/os-virtualization/esx-servers-vsphere/#tag in LM, it should work. I can run a PowerShell script but I do not want to unless I have to. 

Any Idea?

 

Regards

Tanvir

Share this post


Link to post
Share on other sites
  • 0

Sorry, I'm not setup to test this to verify how it works exactly. I would suggest reaching out to LogicMonitor Support so they can review your particular situation and settings.

 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now