What is the correct way to exclude VMWare folders from the new script netscan?
I am trying to use the netscan to discover VM/ESXi hosts within my vCenter applicances. I want to exclude a few specific folders when viewing from "VM and Templates" view. It looks like it supports excluding folders based on the doc, VMware vSphere Monitoring | LogicMonitor I have added this filter attribute 'vcenter.folder' and in the scan it looks like this. This doesnt seem to work though. Ive tried both 'contain' and 'notcontain' and neither are excluding these folders. Any ideas?35Views0likes1CommentVMWare Check Datastores for unusual files/file extensions.
I am looking to implement a some form of monitoring for when files on a datastore become renamed or appear with file extensions that are not part of a predefined list(.vmdk, .vmx, etc...). The 2 ways I am considering are via a config source or just a regular datasource and I am trying to weigh out the pros and cons of each. I don't think using SSH with a config source will work because our monitoring accounts are all read only and I'm not sure if that level of permissions includes SSH access. On the other hand a config source can check quickly and effectively where as using a datasource with Active Discovery is limited to 15 minutes if it were in fact wanting to discover new instances of files with abnormal file extensions. Can you implement a config source that uses the SDK like the legacy VMWare modules in lieu of SSH? Looks like you can. That might be the way to go. Looks like I would want to use "HostDatastoreBrowser" from the SDK. What would you guys do?34Views4likes0CommentsNew VMware modules dropped
Did anybody else notice the ~44 new and ~5 updated modules around VMware dropping in the last hour or so? Does anyone know how to implement these new modules? Since there was talk of making the instances into resources I don’t want to just bring them in without knowing how it’s going to mess with my device list (which is tightly bound to billing for us).851Views30likes41CommentsExcluding VMware VMs from instance discovery
When we add a vCenter into Logic Monitor, the VMs in it’s managed clusters are discovered as instances of underneath datasources applied to the vCenter, like: VMware VM Status VMware VM Snapshots VMware VM Performance Sometimes there are VMs that we have no interest in monitoring, so we don’t want them to be picked up by these datasources. At the moment, we’re manually adding an Instance Group, putting those VMs in the group and then disabling alerts, which is quite a manual process. Ideally we’d like LM to not discover VMs that have had a specific tag/value applied to them in vCenter. I think we should be able to do this by modifying the Groovy script used for Active Discovery on these data sources, but I’m not sure how to go about that. Has anyone managed to do something similar? DaveSolved422Views29likes16CommentsVM 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?192Views8likes0CommentsDatasource 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!320Views1like1CommentMemory Count just for active VMs
Hello I count the overall memory for all of our vms. Now I try to find out how to configure the monitoring to just count the memory of all vms which are in power-On status. I saw the datapointsMemoryConsumed,MemoryGranted andMemoryActive. What is the difference between this datapoints and is one of this point the right one to count just RAM for active VMs (VMs which are not powered off)? looking forward for your feedback Enrico31Views1like1Comment