• 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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.