Can I monitor vCenter tags and create an alert if a computer doesn't have one?
Hi, We use vCenter to manage our VMs. We have the hosts in LM. We currently have a process where we get an email every morning that has VMs that don’t have any tags. We use Tags to manage backup schedules and things so not having any tags is bad. Anyway, I’m wondering if that’s something that we could use LM to monitor. I don’t need to confirm what the tag is, I just need to know if any VM doesn’t have any tags at all. Is that something we can do with the build-in checks LM does or is that something that would have to be created by hand? Thanks.Solved325Views28likes5CommentsVM creation date info from Vsphere
Hi, I am trying to add an attribute forVM creation date on datasource:VMware_vSphere_VirtualMachinePerformance I tried to add below line in the Active Discovery script: 'auto.config.create_Date' : vmConfig?.createDate, But getting an error. Has anyone else already tried getting this property of the VM or knows a solution?192Views8likes0CommentsNOC widget to show only devices that have alerting enabled
Hello LM Team, It would be great if the NOC widget in the Dashboards have the possibility to filter out inactive devices and show only the ones that actually have alerting enabled. For example we have VCenter that have 1500 virtual machines, but only about 10% of them are to be monitored at all times, so by default alerting is disabled for all VM machines from VCenter but these we actually need. Unfortunately the NOC widget will show us everything from that Datasource and it's problematic. Thank you.11Views2likes1CommentDatasource 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!320Views1like1Comment