ContributionsMost RecentMost LikesSolutionsVMware vSphere VirtualMachineSnapshots issue Every day the VMware_vSphere_VirtualMachineSnapshots LogicModule will run its Active Discovery and pickup templates in one of our vCenters. I have setup Tags on this vCenter and have the esx.tags property on the vCenter resource set to true. The LogicModule will pickup the templates as having a snapshot even though they are templates. The vCenter these templates are on is version 8.0.2. There are a few more templates across the same vCenter instances and these are all tagged identically but do not show up. Editing the LogicModule, running Active Discovery and they show up without their vCenter tags. Close and reopen the LogicModule edit window and re-run the Active Discovery and the templates show up but are excluded by their tags. What is going on here? Why do they appear and disappear on a whim. Why only these templates? Any help would be appreciated! Cheers SolvedAppliesTo Function grabbing SDT value/property/status I am trying to write an AppliesTo function to filter out Resources that are in SDT from populating a dynamic folder. Is this possible?? Re: Logic.Monitor (PowerShell) module I didn’t even have time to write up an issue! Thanks Steve. I will test this out tomorrow! Re: Logic.Monitor (PowerShell) module Hi Steve, is there a way to update the static threshold at the resource/instance level using one of the already available modules? Cheers Re: Logic.Monitor (PowerShell) module @Steve Villardi Awesome - thanks so much for the super quick turn around. Really appreciate it. My only other gentle suggestion is to use Write-Output instead of Write-Host for Write-LMHost as commands can then have their output sent to $null resulting in no output to the host/console. Happy to create a pul request on the repo. Thanks again! _Loz Re: Logic.Monitor (PowerShell) module Fantastic Module, but adding #Requires -Version 7 to 4.5.6 in Build-LMDataModel.ps1 & Submit-LMDataModel.ps1 has effectively killed the module for me in a corporate setting. Some backwards compatibility or reduction in function while still allowing other modules to work would be excellent. Re: glob expression excluding resources not working Scratch that, the filter seems to work in the filter ‘Resource Group (with Subgroups)’ but doesn’t work in the filter ‘Resource Group’, which is also the only filter I can use in an Alert. It seems that once you add an exclamation mark the filter goes completely empty. If I wrap a word in asterisks the drop down returns just words that match what’s wrapped. but if I type an exclamation mark at the start it doesn’t invert the filter and remove those entries, it just goes blank. I think there is a bug in the glob expression Back to the drawing board :( Re: glob expression excluding resources not working This seems to work. Weird that the double parenthesis’ isn’t mentioned on the page I linked. Appreciate the help! glob expression excluding resources not working The example: Include all servers under the group Production and child groups under production, except any servers under Production/Network/Servers: Production/!(Network/Servers) from: https://www.logicmonitor.com/support/terminology-syntax/glob-expressions does not work. If I do something like !(Vmware) in pretty much any field doesn’t seem to work, whatever I’m trying to filter (in the Alerts pane in this eg) anything with VMware still turns up, in my case I’m trying to filter the Resource Groups heading. If I type (Vmware) in the Resource Group filter only Vmware alerts are returned . Any idea why this glob expression doesn’t seem to work??? SolvedDatasource to get Uptime of VMWare vCenter Appliance I cannot find a DataSource to build off to grab the uptime of our vCenter appliances. I am able to get ESXi hosts uptimes with: import com.vmware.vim25.mo.*; import com.santaba.agent.groovyapi.esx.ESX; def host = hostProps.get("system.hostname"); def user = hostProps.get("esx.user"); def pass = hostProps.get("esx.pass"); def addr = hostProps.get("esx.url") ?: "https://${host}/sdk"; def svc = new ESX(); svc.open(addr, user, pass, 10 * 1000); // Timeout in 10 seconds def rootFolder = svc.getServiceInstance().getRootFolder(); def hosts = new InventoryNavigator(rootFolder).searchManagedEntities("HostSystem"); hosts.each { esx -> def uptimeinSeconds = esx.summary.quickStats; println "UpTimeInSeconds=${uptimeinSeconds.uptime}"; } return 0; but cannot seem to adapt this for vCenter Appliances. Any help would be appreciated!
Top ContributionsAppliesTo Function grabbing SDT value/property/statusglob expression excluding resources not workingSolvedVMware vSphere VirtualMachineSnapshots issueSolvedRe: Logic.Monitor (PowerShell) moduleRe: Logic.Monitor (PowerShell) moduleDatasource to get Uptime of VMWare vCenter ApplianceRemove NaN from Dynamic Table WidgetMSSQL Instances Auto Property OverrideRe: glob expression excluding resources not workingRe: glob expression excluding resources not working