You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
1007 lines
86 KiB
1007 lines
86 KiB
[UpdateFullHierarchyAndEntity]
|
|
disabled = 1
|
|
is_visible = false
|
|
action.email.inline = 1
|
|
cron_schedule = */15 * * * *
|
|
dispatch.earliest_time = -5hr
|
|
dispatch.latest_time = now
|
|
enableSched = 1
|
|
description = Used to update the FullHierarchy lookup and the EntityLookup
|
|
search = `vmwareinv-index` sourcetype=vmware_inframon:inv:hierarchy | spath changeSet.runtime.host.moid output=vmhost | spath moid output=moid | spath type output=type | spath changeSet.resourcePool.moid output=rp | spath changeSet.parent.moid output=parent | spath changeSet.parent.type output=parentType | spath changeSet.name output=name | spath rootFolder.moid output=rootFolderMoid | eval parent=if(type="VirtualMachine", vmhost, parent) | eval parentType=if(type="VirtualMachine", "HostSystem", if(parent=rootFolderMoid, "RootFolder", parentType)) | eval rp=if(isnull(rp), "N/A", rp) | table _time, moid, type, name, parent, parentType, host, rp, rootFolderMoid | inputlookup FullHierarchy append=t | sort 0 host, moid, _time | streamstats latest(name) AS lastseenname latest(rp) AS lastseenrp BY host, moid | eval name=if(isnull(name),lastseenname,name) | eval rp=if(isnull(rp), if(isnull(lastseenrp), "N/A", lastseenrp), rp) | fields - lastseenname, lastseenrp | dedup consecutive=t host, moid, parent, name, rp | sort 0 -_time | outputlookup FullHierarchy | dedup moid, type, name, host | table moid, type, name, host | eval lowername=lower(name) | sort 0 -moid | outputlookup Entity
|
|
|
|
[TimeClusterServicesAvailability]
|
|
disabled = 1
|
|
is_visible = false
|
|
action.email.inline = 1
|
|
cron_schedule = */15 * * * *
|
|
dispatch.earliest_time = -4hr
|
|
dispatch.latest_time = now
|
|
enableSched = 1
|
|
description = Used to update the TimeClusterServicesAvailability lookup
|
|
search = | mstats span=5m latest(_value) as latestVal where (metric_name="vsphere.cluster.clusterServices.effectivecpu" OR metric_name="vsphere.cluster.clusterServices.effectivemem") AND `vmwareperf-metrics-index` AND sourcetype="vmware_inframon:perf:clusterServices" AND vmware_metric_aggregation="average" by metric_name host moid unit | eval avg_effectivecpu_megaHertz=if(metric_name="vsphere.cluster.clusterServices.effectivecpu",latestVal,NULL) | eval avg_effectivemem_megaBytes=if(metric_name="vsphere.cluster.clusterServices.effectivemem",latestVal,NULL) | stats values(avg_effectivecpu_megaHertz) as p_average_clusterServices_effectivecpu_megaHertz, values(avg_effectivemem_megaBytes) as p_average_clusterServices_effectivemem_megaBytes by moid, host ,_time | inputlookup TimeClusterServicesAvailability append=t | sort 0 host, moid, _time | dedup consecutive=t host, moid, p_average_clusterServices_effectivecpu_megaHertz, p_average_clusterServices_effectivemem_megaBytes | table _time, host, moid, p_average_clusterServices_effectivecpu_megaHertz, p_average_clusterServices_effectivemem_megaBytes | outputlookup TimeClusterServicesAvailability
|
|
|
|
[CurrentHierarchy]
|
|
disabled = 1
|
|
is_visible = false
|
|
action.email.inline = 1
|
|
cron_schedule = 5,20,35,50 * * * *
|
|
description = This search gives the current state of the hierarchy for TreeNav's. Note that it should be run on a time window of hierarchyinv_interval + hierarchyinv_expiration + [duration_of_hierarchyinv_collection]
|
|
dispatch.earliest_time = -8h
|
|
dispatch.latest_time = now
|
|
enableSched = 1
|
|
search = `vmwareinv-index` sourcetype=vmware_inframon:inv:hierarchy | spath changeSet.runtime.host.moid output=vmhost | spath moid output=moid | spath type output=type | spath changeSet.name output=name | search (type!="Datastore" type!="VirtualApp" type!="ResourcePool" type!="Folder" type!="ComputeResource") OR (name!="host" type="Folder" name!="vm" name!="datastore" name!="network" name!="Local Storage" name!="Discovered virtual machine") | spath changeSet.parent.moid output=parent | spath changeSet.parent.type output=parentType | spath rootFolder.moid output=rootFolderMoid | eval parent=if(type="VirtualMachine", vmhost, parent) | eval parentType=if(type="VirtualMachine", "HostSystem", if(parent=rootFolderMoid, "RootFolder", parentType)) | stats first(_time) as _time first(name) as name first(type) as type first(parent) as parent first(parentType) as parentType first(rootFolderMoid) as rootFolderMoid by host, moid | search name!="" |lookup FullHierarchy host, moid as parent OUTPUT parent as grandparent parentType as grandparentType | eval parent=if(parentType=="ComputeResource", grandparent, parent) | eval parentType=if(parentType=="ComputeResource", grandparentType, parentType) | lookup FullHierarchy host, moid as parent OUTPUT parent as grandparent parentType as grandparentType name as parentName | eval parent=if(parentName=="host",grandparent,parent) | eval parentType=if(parentName=="host",grandparentType,parentType) | rename parent as uiparent parentType as uiparentType | table host moid name type uiparent uiparentType rootFolderMoid
|
|
|
|
[TimeDatastoreSummary]
|
|
disabled = 1
|
|
is_visible = false
|
|
action.email.inline = 1
|
|
cron_schedule = */15 * * * *
|
|
dispatch.earliest_time = -4h
|
|
dispatch.latest_time = now
|
|
enableSched = 1
|
|
description = Used to update the TimeDatastoreSummary lookup
|
|
search = `vmwareinv-index` sourcetype=vmware_inframon:inv:datastore | spath "moid" output="moid" | spath "changeSet.info.freeSpace" output="freeSpace" | spath "changeSet.summary.uncommitted" output="uncommitted" | spath "changeSet.info.maxFileSize" output="maxFileSize" | spath "changeSet.info.name" output="name" | spath "changeSet.info.url" output="url" | spath "changeSet.info.vmfs.blockSizeMb" output="blockSizeMb" | spath "changeSet.info.vmfs.extent{}.diskName" output="path" | spath "changeSet.info.vmfs.extent{}.partition" output="pathPartition" | spath "changeSet.info.vmfs.maxBlocks" output="maxBlocks" | spath "changeSet.info.vmfs.uuid" output="uuid"| spath "changeSet.info.vmfs.version" output="version"| spath "changeSet.info.vmfs.vmfsUpgradable" output="vmfsUpgradable"| spath "changeSet.summary.accessible" output="accessible"| spath "changeSet.summary.capacity" output="capacity" | spath "changeSet.summary.multipleHostAccess" output="multipleHostAccess" | spath "changeSet.summary.type" output="type" | spath "changeSet.info.nas.remotePath" output="remotePath" | spath "collectionVersion" output="collectionVersion" | table _time, moid, host, freeSpace, uncommitted, maxFileSize, name, url, blockSizeMb, path, pathPartition, maxBlocks, uuid, version, vmfsUpgradable, accessible, capacity, multipleHostAccess, type, remotePath, collectionVersion | search (freeSpace=* AND collectionVersion=1) OR maxFileSize=* OR name=* OR url=* OR blockSizeMb=* OR path=* OR pathPartition=* OR maxBlocks=* OR uuid=* OR version=* OR vmfsUpgradable=* OR accessible=* OR capacity=* OR multipleHostAccess=* OR type=* OR remotePath=* | eval path=coalesce(remotePath, path) | fields - remotePath, collectionVersion | fillnull value="0" freeSpace, capacity, maxFileSize | fillnull value="N/A" | eval freeSpace=`format_bytes(freeSpace)` | eval maxFileSize=`format_bytes(maxFileSize)` | eval uncommitted=`format_bytes(uncommitted)` | eval capacity=`format_bytes(capacity)` | inputlookup TimeDatastoreSummary append=t | sort 0 host, moid, _time | dedup consecutive=t freeSpace maxFileSize name url blockSizeMb path pathPartition maxBlocks uuid version vmfsUpgradable accessible capacity multipleHostAccess type | sort - _time | outputlookup TimeDatastoreSummary
|
|
|
|
[TimeAboutHost]
|
|
disabled = 1
|
|
is_visible = false
|
|
action.email.inline = 1
|
|
cron_schedule = */15 * * * *
|
|
dispatch.earliest_time = -45m
|
|
dispatch.latest_time = -15m
|
|
enableSched = 0
|
|
description = Used to update the TimeAboutHost lookup
|
|
search = `vmwareinv-index` sourcetype=vmware_inframon:inv source=AboutInfo subpath="summary/config/product" | dedup meid | table _time, meid, name, version, build, osType | inputlookup TimeAboutHost append=t | sort 0 meid _time | dedup meid, name, version, build, osType consecutive=t | sort 0 -_time | outputlookup TimeAboutHost
|
|
|
|
[TimeInvHostHardwareAndLicense]
|
|
disabled = 1
|
|
is_visible = false
|
|
action.email.inline = 1
|
|
cron_schedule = */15 * * * *
|
|
dispatch.earliest_time = -45m
|
|
dispatch.latest_time = -15m
|
|
enableSched = 0
|
|
description = Used to update the TimeInvHostHardwareAndLicense lookup
|
|
search = `vmwareinv-index` sourcetype=vmware_inframon:inv ( source="HostHardwareSummary" OR source="HostHyperThreadScheduleInfo") | dedup source,meid | eval cores_per_socket=numCpuCores/numCpuPkgs | eval logical_processors=numCpuThreads | eval hyperthreading=if(active="True", "Active", "Inactive") | fields _time hyperthreading meid moname vendor model numNics numCpuCores cpuModel numCpuPkgs cores_per_socket logical_processors host | stats first(_time) as _time first(*) as * by meid | join type=outer host [search `vmwareinv-index` sourcetype=vmware_inframon:inv source="LicenseManagerLicenseInfo" | rename name as license | fields license host] | eval license=if(isnull(license),"UNKNOWN",license) |inputlookup TimeInvHostHardwareAndLicense append=t | sort 0 meid _time | dedup license hyperthreading meid moname vendor model numNics numCpuCores cpuModel numCpuPkgs cores_per_socket logical_processors consecutive=t | sort 0 -_time | outputlookup TimeInvHostHardwareAndLicense
|
|
|
|
[CurrentHostDetail]
|
|
disabled = 1
|
|
is_visible = false
|
|
action.email.inline = 1
|
|
cron_schedule = 5,20,35,50 * * * *
|
|
description = This search gives the current state of all host systems. Note that it should be run on a time window of hierarchyinv_interval + hierarchyinv_expiration + [duration_of_hierarchyinv_collection]
|
|
dispatch.earliest_time = -12h
|
|
dispatch.latest_time = now
|
|
enableSched = 1
|
|
search = `vmwareinv-index` sourcetype="vmware_inframon:inv:hostsystem" | spath moid output=moid | spath changeSet.name output=name | spath collectionVersion output=collectionVersion | spath changeSet.summary.overallStatus output=overallStatus | spath changeSet.summary.quickStats.overallCpuUsage output=overallCpuUsage | spath changeSet.summary.quickStats.overallMemoryUsage output=overallMemoryUsage | spath changeSet.summary.hardware.cpuMhz output=cpuMhz | spath changeSet.summary.hardware.memorySize output=memorySize | spath changeSet.summary.hardware.numCpuCores output=CPUCores | spath changeSet.summary.hardware.vendor output=manufacturer | spath changeSet.summary.hardware.model output=model | spath changeSet.summary.hardware.numNics output=numNics | spath changeSet.summary.hardware.model output=processorType | spath changeSet.summary.hardware.numCpuPkgs output=numCpuPkgs | spath changeSet.summary.hardware.numCpuThreads output=logicalProcessor | spath changeSet.config.hyperThread.active output=active | spath changeSet.summary.host.moid output=HostSystem | spath changeSet.parent.moid output=HostSystemParent | spath changeSet.parent.type output=HostSystemParentType | spath changeSet.vm.ManagedObjectReference{}.moid output=vms | eval num_vms=mvcount(vms) | eval vms=mvjoin(vms,";") | stats first(overallStatus) As overallStatus first(manufacturer) As Manufacturer first(model) As Model first(numNics) As NumberofNICs first(logicalProcessor) As LogicalProcessors first(processorType) As ProcessorType first(numCpuPkgs) As ProcessorSockets first(overallMemoryUsage) AS MemUsg first(overallCpuUsage) AS CpuUsg first(cpuMhz) AS MhzPerCore first(memorySize) AS Mem first(CPUCores) as CPUCores first(name) As Host first(HostSystem) AS HostSystem first(HostSystemParent) As HostSystemParent first(HostSystemParentType) As HostSystemParentType first(vms) as vms first(num_vms) as num_vms by moid, host| eval MaxCpuMhz=MhzPerCore*CPUCores | eval MaxMemMB=((Mem/1024)/1024) | eval FreeMem=MaxMemMB-MemUsg | eval FreeCpu=MaxCpuMhz-CpuUsg | eval CoresperSocket=CPUCores/ProcessorSockets | eval Hyperthreading=if(active="True", "Active", "Inactive") | eval ClusterMoid=if(HostSystemParentType="ClusterComputeResource", HostSystemParent, "N/A") | addinfo | eval _time=info_max_time | lookup FullHierarchy host, moid AS ClusterMoid OUTPUT name AS Cluster
|
|
|
|
[UniqueNameLookupUpdate]
|
|
disabled = 1
|
|
is_visible = false
|
|
action.email.inline = 1
|
|
cron_schedule = */15 * * * *
|
|
description = Updates the UniqueNameLookup, used to sort by name for virtual machines when duplicate names exist
|
|
dispatch.earliest_time = -1hr
|
|
dispatch.latest_time = now
|
|
enableSched = 0
|
|
search = `vmwareinv-index` OR `vmwaretaskevent-index` source=EntityViews (type=HostSystem OR type=VirtualMachine) (isvc=true OR NOT vc=*) | inputlookup UniqueNameLookup append=t| dedup meid | streamstats count as rank by name | eval new_name = if(rank>1,name . "_" .rank,name) | table meid, new_name, name | outputlookup UniqueNameLookup
|
|
|
|
[DatastoreListLookupUpdate]
|
|
disabled = 1
|
|
is_visible = false
|
|
action.email.inline = 1
|
|
cron_schedule = */15 * * * *
|
|
description = Updates the DatastoreList, used to show all datastores existant in an environment
|
|
dispatch.earliest_time = -1hr
|
|
dispatch.latest_time = now
|
|
enableSched = 0
|
|
search = `vmwareinv-index` sourcetype="vmware_inframon:inv" source="datastore" | table meid moname MOR vc | inputlookup append=t DatastoreList | dedup meid | outputlookup DatastoreList
|
|
|
|
[vProb errors in logs]
|
|
disabled = 1
|
|
search = `vmwareesxilog-index` OR `vmwarevclog-index` sourcetype="vmware:*log*" error "vProb*"
|
|
dispatch.earliest_time = -4h
|
|
dispatch.latest_time = now
|
|
|
|
[vmfs volume locked]
|
|
disabled = 1
|
|
search = `vmwareesxilog-index` OR `vmwarevclog-index` sourcetype="vmware:*log*" vmfs volume locked
|
|
dispatch.earliest_time = -4h
|
|
dispatch.latest_time = now
|
|
|
|
[All paths are dead]
|
|
disabled = 1
|
|
search = `vmwareesxilog-index` OR `vmwarevclog-index` sourcetype="vmware:*log*" "APD"
|
|
dispatch.earliest_time = -4h
|
|
dispatch.latest_time = now
|
|
|
|
[Duplicate IPs]
|
|
disabled = 1
|
|
search = `vmwareesxilog-index` sourcetype=vmware:esx*:* "duplicate IP"
|
|
dispatch.earliest_time = -4h
|
|
dispatch.latest_time = now
|
|
|
|
[SCSI reservation error - i/o failed]
|
|
disabled = 1
|
|
search = `vmwareesxilog-index` OR `vmwarevclog-index` sourcetype="vmware:*log*" "SCSI reservation error - i/o failed"
|
|
dispatch.earliest_time = -4h
|
|
dispatch.latest_time = now
|
|
|
|
[Lost connectivity]
|
|
disabled = 1
|
|
search = `vmwareesxilog-index` OR `vmwarevclog-index` sourcetype="vmware:*log*" "Lost connectivity"
|
|
dispatch.earliest_time = -4h
|
|
dispatch.latest_time = now
|
|
|
|
[vCenter starts]
|
|
disabled = 1
|
|
search = `VcLogSourcetypes` "Starting * VirtualCenter"
|
|
dispatch.earliest_time = -7d
|
|
dispatch.latest_time = now
|
|
|
|
[d_host_detail_row1_InvInfo]
|
|
disabled = true
|
|
is_visible = false
|
|
search = `vmwareinv-index` sourcetype="vmware_inframon:inv:hostsystem" earliest=1 | spath moid output=moid | spath changeSet.name output=name | search (moid=$selectedHostSystem.moid$ AND host=$selectedHostSystem.host$) | spath collectionVersion output=collectionVersion | spath changeSet.summary.overallStatus output=overallStatus | spath changeSet.summary.quickStats.overallCpuUsage output=overallCpuUsage | spath changeSet.summary.quickStats.overallMemoryUsage output=overallMemoryUsage | spath changeSet.summary.hardware.cpuMhz output=cpuMhz | spath changeSet.summary.hardware.memorySize output=memorySize | spath changeSet.summary.hardware.numCpuCores output=CPUCores | spath changeSet.summary.hardware.vendor output=manufacturer | spath changeSet.summary.hardware.model output=model | spath changeSet.summary.hardware.numNics output=numNics | spath changeSet.summary.hardware.cpuModel output=processorType | spath changeSet.summary.hardware.numCpuPkgs output=numCpuPkgs | spath changeSet.summary.hardware.numCpuThreads output=logicalProcessor | spath changeSet.config.hyperThread.active output=active | spath changeSet.summary.host.moid output=HostSystem | spath changeSet.parent.moid output=HostSystemParent | spath changeSet.parent.type output=HostSystemParentType | head (collectionVersion!=1) keeplast=t | stats first(overallStatus) As overallStatus first(manufacturer) As Manufacturer first(model) As Model first(numNics) As NumberofNICs first(logicalProcessor) As LogicalProcessors first(processorType) As ProcessorType first(numCpuPkgs) As ProcessorSockets first(overallMemoryUsage) AS MemUsg first(overallCpuUsage) AS CpuUsg first(cpuMhz) AS MhzPerCore first(memorySize) AS Mem first(CPUCores) as CPUCores first(name) As Host first(HostSystem) AS HostSystem first(HostSystemParent) As HostSystemParent first(HostSystemParentType) As HostSystemParentType first(active) as active by moid, host| eval MaxCpuMhz=MhzPerCore*CPUCores | eval MaxMemMB=((Mem/1024)/1024) | eval FreeMem=MaxMemMB-MemUsg | eval FreeCpu=MaxCpuMhz-CpuUsg | eval CoresperSocket=CPUCores/ProcessorSockets | eval Hyperthreading=if(active="True", "Active", "Inactive") | eval ClusterMoid=if(HostSystemParentType="ClusterComputeResource", HostSystemParent, "N/A") | lookup Entity host, moid AS ClusterMoid OUTPUT name AS Cluster |fillnull value="N/A" overallStatus, Manufacturer, Model, NumberofNICs,LogicalProcessors,ProcessorType, ProcessorSockets, MemUsg, CpuUsg, MhzPerCore, Mem, CPUCores,Host,HostSystem,HostSystemParent, HostSystemParentType, Cluster, ClusterMoid, CoresperSocket, FreeCpu, FreeMem, Hyperthreading, MaxCpuMhz, MaxMemMB| fields - count
|
|
|
|
[d_host_detail_row1_InvInfo_null]
|
|
disabled = true
|
|
is_visible = false
|
|
search = | stats count | eval overallStatus="Not Available" | eval Manufacturer="Not Available" | eval Model="Not Available" | eval NumberofNICs="Not Available" | eval LogicalProcessors="Not Available" | eval ProcessorType="Not Available"| eval ProcessorSockets="Not Available" | eval MemUsg="Not Available" | eval CpuUsg="Not Available" | eval MhzPerCore="Not Available" | eval Mem="Not Available" | eval CPUCores="Not Available" | eval Host="Not Available" | eval HostSystem="Not Available" | eval HostSystemParent="Not Available" | eval HostSystemParentType="Not Available" | eval Cluster="Not Available" | eval ClusterMoid="Not Available" | eval ProcessorSockets="Not Available" | eval CoresperSocket="Not Available" | eval FreeCpu="Not Available" | eval FreeMem="Not Available" | eval Hyperthreading="Not Available" | eval MaxCpuMhz="Not Available" | eval MaxMemMB="Not Available" | fields - count
|
|
|
|
[d_host_detail_row1_InvStatusInfo]
|
|
disabled = true
|
|
is_visible = false
|
|
search = $selectedHost$ `vmwareinv-index` sourcetype="vmware_inframon:inv" overallStatus=* earliest=-2h | head 1 | fillnull value="Not Available" overallStatus | table overallStatus
|
|
|
|
[d_host_detail_row1_InvStatusInfo_null]
|
|
disabled = true
|
|
is_visible = false
|
|
search = | stats count | eval overallStatus="Not Available" | fields - count
|
|
|
|
[d_host_detail_row1_FreeCpuMem]
|
|
disabled = true
|
|
is_visible = false
|
|
search = $selectedHost$ `vmwareinv-index` (sourcetype="vmware_inframon:inv" source=HostHardwareSummary) OR (sourcetype="vmware_inframon:inv" source="HostListSummaryQuickStats") earliest=-2h | stats first(overallMemoryUsage) AS MemUsg first(overallCpuUsage) AS CpuUsg first(cpuMhz) AS MhzPerCore first(memorySize) AS Mem first(numCpuCores) as NumCores | eval MaxCpuMhz=MhzPerCore*NumCores | eval MaxMemMB=((Mem/1024)/1024) | eval FreeMem=MaxMemMB-MemUsg | eval FreeCpu=MaxCpuMhz-CpuUsg | fillnull value="Not Available" MemUsg, CpuUsg, MhzPerCore, Mem, NumCores, FreeCpu, FreeMem, MaxCpuMhz, MaxMemMB
|
|
|
|
[d_host_detail_row1_FreeCpuMem_null]
|
|
disabled = true
|
|
is_visible = false
|
|
search = | stats count | eval MemUsg="Not Available" | eval CpuUsg="Not Available" | eval MhzPerCore="Not Available" | eval Mem="Not Available" | eval NumCores="Not Available" | eval FreeCpu="Not Available" | eval FreeMem="Not Available" | eval MaxCpuMhz="Not Available" | eval MaxMemMB="Not Available" | fields - count
|
|
|
|
[d_host_detail_row1_DatastoreInfo]
|
|
disabled = true
|
|
is_visible = false
|
|
search = `vmwareinv-index` source="VMInv:HostSystem" earliest=1 | spath moid | spath collectionVersion | search host=$selectedHostSystem.host$ AND moid=$selectedHostSystem.moid$ | spath changeSet.datastore.ManagedObjectReference{}.moid output=dsmoid | spath changeSet.name output=moname | head (collectionVersion!=1) keeplast=t | mvexpand dsmoid | lookup TimeDatastoreSummary moid as dsmoid OUTPUT name | table dsmoid name host | rename name as Datastore dsmoid as HIDE-Datastore-moid host as HIDE-Datastore-host | sort Datastore
|
|
|
|
[d_host_detail_row2_VMPowerInfo_base]
|
|
disabled = true
|
|
is_visible = false
|
|
search= `vmwareinv-index` sourcetype="vmware_inframon:inv:vm" earliest=-6h | search host=$selectedHostSystem.host$ | spath moid | spath changeSet.summary.runtime.powerState output=powerState | spath changeSet.summary.runtime.host.moid output=hmoid | stats first(powerState) as PowerState, first(_time) as _time first(hmoid) as hmoid by moid, host | search hmoid=$selectedHostSystem.moid$ | lookup FullHierarchy moid AS moid, host AS host OUTPUT name AS VirtualMachine |rename moid as HIDE-VirtualMachine-moid, hmoid as HIDE-HostSystem-moid, host as HIDE-HostSystem | stats count as TotalVMs, count(eval(PowerState="poweredOn")) as PoweredOn, count(eval(PowerState="poweredOff")) as PoweredOff
|
|
|
|
[d_host_detail_row2_VMMigrationInfo_to_off]
|
|
disabled = true
|
|
is_visible = false
|
|
search= `vmwareinv-index` sourcetype=vmware_inframon:inv:hierarchy | spath moid | spath type | search type="VirtualMachine" | spath changeSet.runtime.host.moid output=hostsystemmoid | table _time, moid, host, hostsystemmoid | sort 0 + _time | streamstats first(hostsystemmoid) as prev_hostsystem window=1 global=f current=f by moid host | sort 0 - _time | lookup FullHierarchy moid AS moid, host AS host OUTPUT name AS VirtualMachine | lookup FullHierarchy moid AS hostsystemmoid, host AS host OUTPUT name AS HostSystem | lookup FullHierarchy moid AS prev_hostsystem, host AS host OUTPUT name AS FirstHostSystem | search host=$selectedHostSystem.host$ AND (hostsystemmoid=$selectedHostSystem.moid$ OR prev_hostsystem=$selectedHostSystem.moid$)| stats count(eval(hostsystemmoid="$selectedHostSystem.moid$" AND prev_hostsystem!="$selectedHostSystem.moid$")) As MigratedTo, count(eval(hostsystemmoid!="$selectedHostSystem.moid$" AND prev_hostsystem="$selectedHostSystem.moid$")) As MigratedOff |table MigratedTo MigratedOff
|
|
|
|
[d_host_detail_row2_TotalVM]
|
|
disabled = true
|
|
is_visible = false
|
|
search = `vmwareinv-index` sourcetype="vmware_inframon:inv:vm" earliest=-6h | search host=$selectedHostSystem.host$ | spath moid | spath changeSet.summary.runtime.powerState output=powerState | spath changeSet.summary.runtime.host.moid output=hmoid | stats first(powerState) as PowerState, first(_time) as _time first(hmoid) as hmoid by moid, host | search hmoid=$selectedHostSystem.moid$ | lookup FullHierarchy moid AS moid, host AS host OUTPUT name AS VirtualMachine | rename moid as HIDE-VirtualMachine-moid, hmoid as HIDE-HostSystem-moid, host as HIDE-HostSystem-host | fields _time *
|
|
|
|
[d_host_detail_row2_PoweredOnVM]
|
|
disabled = true
|
|
is_visible = false
|
|
search = `vmwareinv-index` sourcetype="vmware_inframon:inv:vm" earliest=-6h | search host=$selectedHostSystem.host$ | spath moid | spath changeSet.summary.runtime.powerState output=powerState | spath changeSet.summary.runtime.host.moid output=hmoid | stats first(powerState) as PowerState, first(_time) as _time first(hmoid) as hmoid by moid, host | search hmoid=$selectedHostSystem.moid$ | lookup FullHierarchy moid AS moid, host AS host OUTPUT name AS VirtualMachine | rename moid as HIDE-VirtualMachine-moid, hmoid as HIDE-HostSystem-moid, host as HIDE-HostSystem-host | search PowerState="poweredOn" | fields _time *
|
|
|
|
[d_host_detail_row2_PoweredOffVM]
|
|
disabled = true
|
|
is_visible = false
|
|
search =`vmwareinv-index` sourcetype="vmware_inframon:inv:vm" earliest=-6h | search host=$selectedHostSystem.host$ | spath moid | spath changeSet.summary.runtime.powerState output=powerState | spath changeSet.summary.runtime.host.moid output=hmoid | stats first(powerState) as PowerState, first(_time) as _time first(hmoid) as hmoid by moid, host | search hmoid=$selectedHostSystem.moid$ | lookup FullHierarchy moid AS moid, host AS host OUTPUT name AS VirtualMachine | rename moid as HIDE-VirtualMachine-moid, hmoid as HIDE-HostSystem-moid, host as HIDE-HostSystem-host | search PowerState="poweredOff" | fields _time *
|
|
|
|
[d_host_detail_row2_MigratedOffVM]
|
|
disabled = true
|
|
is_visible = false
|
|
search= `vmwareinv-index` sourcetype=vmware_inframon:inv:hierarchy | spath moid | spath type | search type="VirtualMachine" | spath changeSet.runtime.host.moid output=hostsystemmoid | table _time, moid, host, hostsystemmoid | sort 0 + _time | streamstats first(hostsystemmoid) as prev_hostsystem window=1 global=f current=f by moid host | sort 0 - _time | lookup FullHierarchy moid AS moid, host AS host OUTPUT name AS VirtualMachine | lookup FullHierarchy moid AS hostsystemmoid, host AS host OUTPUT name AS HostSystem | lookup FullHierarchy moid AS prev_hostsystem, host AS host OUTPUT name AS FirstHostSystem | search host=$selectedHostSystem.host$ AND (hostsystemmoid!=$selectedHostSystem.moid$ AND prev_hostsystem=$selectedHostSystem.moid$) | rename hostsystemmoid as HIDE-HostSystem-moid, host as HIDE-HostSystem-host, moid as HIDE-VirtualMachine-moid, prev_hostsystem as HIDE-FirstHostSystem-moid | fields _time *
|
|
|
|
[d_host_detail_row2_MigratedToVM]
|
|
disabled = true
|
|
is_visible = false
|
|
search= `vmwareinv-index` sourcetype=vmware_inframon:inv:hierarchy | spath moid | spath type | search type="VirtualMachine" | spath changeSet.runtime.host.moid output=hostsystemmoid | table _time, moid, host, hostsystemmoid | sort 0 + _time | streamstats first(hostsystemmoid) as prev_hostsystem window=1 global=f current=f by moid host | sort 0 - _time | lookup FullHierarchy moid AS moid, host AS host OUTPUT name AS VirtualMachine | lookup FullHierarchy moid AS hostsystemmoid, host AS host OUTPUT name AS HostSystem | lookup FullHierarchy moid AS prev_hostsystem, host AS host OUTPUT name AS FirstHostSystem | search host=$selectedHostSystem.host$ AND (hostsystemmoid=$selectedHostSystem.moid$ AND prev_hostsystem!=$selectedHostSystem.moid$) | rename hostsystemmoid as HIDE-HostSystem-moid, host as HIDE-HostSystem-host, moid as HIDE-VirtualMachine-moid, prev_hostsystem as HIDE-FirstHostSystem-moid | fields _time *
|
|
|
|
[d_host_detail_row3_RecentEvents]
|
|
disabled = true
|
|
is_visible = false
|
|
search = `vmwaretaskevent-index` (sourcetype="vmware_inframon:events" OR sourcetype="vmware_inframon:tasks") host=$selectedHostSystem.host$ | spath host.host.moid output=emoid | spath entity.moid output=tmoid | search (emoid=$selectedHostSystem.moid$ OR tmoid=$selectedHostSystem.moid$) | spath descriptionId | eval Message=if(isnull(tmoid), fullFormattedMessage, descriptionId ) | eval User=replace(source,"Username:","") | table _time, Message, User | sort 150 -_time
|
|
|
|
[d_host_detail_row3_RecentLogError]
|
|
disabled = true
|
|
is_visible = false
|
|
search = `vmwareesxilog-index` sourcetype="vmware:esxlog:*" [| loadjob savedsearch="nobody:DA-ITSI-CP-vmware-dashboards:CurrentHostDetail" | search (moid=$selectedHostSystem.moid$ AND host=$selectedHostSystem.host$)| eval host=Host + "*" | table host] | head 150 | eval Time=_time | convert ctime(Time) | table Time, host, Message
|
|
|
|
[d_vm_detail_row1_VMData]
|
|
disabled = true
|
|
is_visible = false
|
|
search = `vmwareinv-index` sourcetype="vmware_inframon:inv:vm" earliest=1 | spath moid output=moid | search (moid=$selectedVirtualMachine.moid$ AND host=$selectedVirtualMachine.host$) |spath collectionVersion output=collectionVersion | spath changeSet.name output=name | spath changeSet.summary.runtime.powerState output=powerState | spath changeSet.config.guestFullName output=guestFullName | spath changeSet.guest.toolsStatus output=toolsStatus | spath changeSet.config.hardware.numCPU output=numCPU | spath changeSet.config.hardware.numCoresPerSocket output=numCoresPerSocket | spath changeSet.config.hardware.memoryMB output=memorySizeMB | spath changeSet.resourceConfig.cpuAllocation.reservation output=cpuReservation | spath changeSet.resourceConfig.memoryAllocation.reservation output=memoryReservation | spath changeSet.resourceConfig.memoryAllocation.shares.level output=memSharesLevel | spath changeSet.resourceConfig.memoryAllocation.shares.shares output=memSharesShares | spath changeSet.resourceConfig.cpuAllocation.shares.level output=cpuSharesLevel | spath changeSet.resourceConfig.cpuAllocation.shares.shares output=cpuSharesShares | spath changeSet.summary.runtime.host.moid output=HostSystem | head (collectionVersion!=1) keeplast=t | stats first(name) AS name, first(powerState) AS powerState, first(numCPU) AS numCPU, first(guestFullName) AS guestFullName, first(toolsStatus) AS toolsStatus, first(numCoresPerSocket) AS numCoresPerSocket, first(memorySizeMB) AS memorySizeMB, first(cpuReservation) AS cpuReservation, first(memoryReservation) AS memoryReservation, first(memSharesLevel) AS memSharesLevel, first(memSharesShares) AS memSharesShares, first(cpuSharesLevel) AS cpuSharesLevel, first(cpuSharesShares) AS cpuSharesShares, first(HostSystem) AS HostSystem first(_time) AS _time by moid, host | lookup FullHierarchy moid as HostSystem, host as host OUTPUT name as HostSystemName, parent as HostSystemParent, parentType AS HostSystemParentType | eval ClusterMoid=if(HostSystemParentType="ClusterComputeResource", HostSystemParent, "N/A") | lookup FullHierarchy moid AS ClusterMoid, host as host OUTPUT name AS ClusterName | fillnull value="Not Available" name powerState numCoresPerSocket memorySizeMB ClusterName HostSystem | fillnull value="N/A" cpuSharesShares memSharesShares memoryReservation cpuReservation numCPU HostSystemName | eval cpuSharesLevel=if(isnull(cpuSharesLevel), "N/A", cpuSharesLevel) | eval memSharesLevel=if(isnull(memSharesLevel), "N/A", memSharesLevel) | eval guestFullName=if(isnull(guestFullName), "N/A", guestFullName) | eval toolsStatus=if(isnull(toolsStatus), "Not Available", toolsStatus)
|
|
|
|
[d_vm_detail_row1_VMData_null]
|
|
disabled = true
|
|
is_visible = false
|
|
search = | stats count | eval Cluster="Not Available" | eval Datacenter="Not Available" | eval HostSystem="Not Available" | eval MOR="Not Available" | eval alarmActionsEnabled="Not Available" | eval appHeartbeatStatus="Not Available" | eval bootTime="Not Available" | eval clustermeid="Not Available" | eval configStatus="Not Available" | eval connectionState="Not Available" | eval consolidationNeeded="Not Available" | eval cpuAllocation="Not Available" | eval cpuReservation="Not Available" | eval datacentermeid="Not Available" | eval faultToleranceState="Not Available" | eval guestFamily="Not Available" | eval guestFullName="Not Available" | eval guestHeartbeatStatus="Not Available" | eval guestId="Not Available" | eval guestOperationsReady="Not Available" | eval guestState="Not Available" | eval host="Not Available" | eval hostName="Not Available" | eval hostsystemmeid="Not Available" | eval installBootRequired="Not Available" | eval instanceUuid="Not Available" | eval interactiveGuestOperationsReady="Not Available" | eval isvc="Not Available" | eval maxCpuUsage="Not Available" | eval maxMemoryUsage="Not Available" | eval meid="Not Available" | eval memoryAllocation="Not Available" | eval memoryOverhead="Not Available" | eval memoryReservation="Not Available" | eval memorySizeMB="Not Available" | eval moname="Not Available" | eval name="Not Available" | eval numCPU="Not Available" | eval numCoresPerSocket="Not Available" | eval numCpu="Not Available" | eval numEthernetCards="Not Available" | eval numMksConnections="Not Available" | eval numVirtualDisks="Not Available" | eval overallStatus="Not Available" | eval powerState="Not Available" | eval recordReplayState="Not Available" | eval screen="Not Available" | eval suspendInterval="Not Available" | eval template="Not Available" | eval toolsInstallerMounted="Not Available" | eval toolsRunningStatus="Not Available" | eval toolsStatus="Not Available" | eval toolsVersion="Not Available" | eval toolsVersionStatus="Not Available" | eval toolsVersionStatus2="Not Available" | eval type="Not Available" | eval typeduipath="Not Available" | eval uuid="Not Available" | eval vc="Not Available" | eval vmPathName="Not Available" | eval name="Not Available" | eval powerState="Not Available" | eval numCoresPerSocket="Not Available" | eval memorySizeMB="N/A"| eval ClusterName="Not Available" | eval numCPU=if(isnull(numCPU), "Not Available", numCPU) | eval toolsStatus="Not Available" | eval memorySizeMB="N/A" | eval cpuReservation="N/A" | eval memoryReservation="N/A" | eval memSharesLevel="Not Available" | eval memSharesShares="N/A" | eval cpuSharesLevel="Not Available" | eval cpuSharesShares="N/A" | eval HostSystemName="Not Available" | fields - count
|
|
|
|
[d_vm_detail_row1_datastore_base]
|
|
disabled = true
|
|
is_visible = false
|
|
search = `vmwareinv-index` sourcetype="vmware_inframon:inv:vm" earliest=1 | spath collectionVersion | spath moid | search (moid=$selectedVirtualMachine.moid$ AND host=$selectedVirtualMachine.host$) | head (collectionVersion!=1) keeplast=t | spath changeSet.storage.perDatastoreUsage.VirtualMachineUsageOnDatastore{}.datastore.moid output=datastoremoid | search datastoremoid=* | spath changeSet.storage.perDatastoreUsage.VirtualMachineUsageOnDatastore{}.committed output=committed | spath changeSet.storage.perDatastoreUsage.VirtualMachineUsageOnDatastore{}.uncommitted output=uncommitted | spath changeSet.storage.perDatastoreUsage.VirtualMachineUsageOnDatastore{}.unshared output=unshared | eval datastore_provision=mvzip(mvzip(mvzip(uncommitted,committed),unshared),datastoremoid) | stats count by _time, moid, host, datastore_provision| eval datastoremoid=mvindex(split(datastore_provision,","),3), unshared=mvindex(split(datastore_provision,","),2), committed=mvindex(split(datastore_provision,","),1), uncommitted=mvindex(split(datastore_provision,","),0)| eval committed=`format_bytes(committed)` | eval uncommitted=`format_bytes(uncommitted)` | eval unshared=`format_bytes(unshared)`| lookup TimeDatastoreSummary moid AS datastoremoid, host AS host OUTPUT path, url, accessible, name AS Datastore | rename host as HIDE-host, datastoremoid AS HIDE-Datastore-moid, committed AS Committed, uncommitted AS Uncommitted, accessible AS Accessible, path AS Path, url AS URL, unshared AS Unshared | fields - _time, moid | dedup HIDE-Datastore-moid | eval "File Information"="[Click to Show]" | fields HIDE-host, HIDE-Datastore-moid, Datastore, Committed, Uncommitted, Unshared, Accessible, Path, URL, "File Information"
|
|
|
|
[d_vm_detail_row1_datastore_drill]
|
|
disabled = true
|
|
is_visible = false
|
|
search = `vmwareinv-index` sourcetype="vmware_inframon:inv:vm" earliest=1 | spath collectionVersion | spath moid | search (moid=$selectedVirtualMachine.moid$ AND host=$selectedVirtualMachine.host$) | head (collectionVersion!=1) keeplast=t | spath changeSet.datastore.ManagedObjectReference{}.moid output=datastoremoid | spath changeSet.layoutEx.file.VirtualMachineFileLayoutExFileInfo{}.key output=filekey | spath changeSet.layoutEx.file.VirtualMachineFileLayoutExFileInfo{}.name output=filename | spath changeSet.layoutEx.file.VirtualMachineFileLayoutExFileInfo{}.size output=filesize | spath changeSet.layoutEx.file.VirtualMachineFileLayoutExFileInfo{}.type output=filetype | eval combinedfileandsize=mvzip(filename,filesize) | eval combinedfileandsizeandtype=mvzip(combinedfileandsize, filetype) | mvexpand combinedfileandsizeandtype | rex field=combinedfileandsizeandtype "\[(?<filedatastore>.*)\] (?<filename>.*),(?<filesize>\d+),(?<filetype>\w+)" | dedup filedatastore, filename, host | search filedatastore="$click.Datastore$" | lookup TimeDatastoreSummary name AS filedatastore OUTPUT accessible, capacity, freeSpace, moid AS datastoremoid, path, uncommitted, url |table _time, host, datastoremoid, combinedfileandsizeandtype, accessible, capacity, freeSpace, path, type, uncommitted, url, filedatastore, filename, filesize, filetype
|
|
|
|
[d_cluster_detail_row3_TotalHosts]
|
|
disabled = 1
|
|
is_visible = false
|
|
search = | rename Host as HostSystem, moid as HIDE-HostSystem-moid, host as HIDE-host, overallStatus as Status, num_vms as "Number of VMs" | table HostSystem, HIDE-host, HIDE-HostSystem-moid, Status, "Number of VMs"
|
|
|
|
[d_cluster_detail_row3_GreenHosts]
|
|
disabled = 1
|
|
is_visible = false
|
|
search = | search overallStatus="green" | rename Host as HostSystem, moid as HIDE-HostSystem-moid, host as HIDE-host, overallStatus as Status, num_vms as "Number of VMs" | table HostSystem, HIDE-host, HIDE-HostSystem-moid, Status, "Number of VMs"
|
|
|
|
[d_cluster_detail_row3_YellowHosts]
|
|
disabled = 1
|
|
is_visible = false
|
|
search = | search overallStatus="yellow" | rename Host as HostSystem, moid as HIDE-HostSystem-moid, host as HIDE-host, overallStatus as Status, num_vms as "Number of VMs" | table HostSystem, HIDE-host, HIDE-HostSystem-moid, Status, "Number of VMs"
|
|
|
|
[d_cluster_detail_row3_RedHosts]
|
|
disabled = 1
|
|
is_visible = false
|
|
search = | search overallStatus="red" | rename Host as HostSystem, moid as HIDE-HostSystem-moid, host as HIDE-host, overallStatus as Status, num_vms as "Number of VMs" | table HostSystem, HIDE-host, HIDE-HostSystem-moid, Status, "Number of VMs"
|
|
|
|
[d_cluster_detail_AvgOvrhdMemPerVM_KB]
|
|
disabled = true
|
|
is_visible = false
|
|
search = | mstats span=20s $chartfun.chartfunval1$(_value) as memValue where metric_name=vsphere.vm.mem.overhead AND `vmwareperf-metrics-index` AND source="VMPerf:VirtualMachine" AND instance="aggregated" AND unit="kiloBytes" AND cluster=$selectedClusterComputeResource.moid$ AND host=$selectedClusterComputeResource.host$ by vmware_metric_aggregation cluster host\
|
|
| eval avg_overhead_kiloBytes=if(vmware_metric_aggregation="average",memValue,NULL) \
|
|
| eval max_overhead_kiloBytes=if(vmware_metric_aggregation="maximum",memValue,NULL) \
|
|
| eval min_overhead_kiloBytes=if(vmware_metric_aggregation="minimum",memValue,NULL) \
|
|
| eval none_overhead_kiloBytes=if(vmware_metric_aggregation="none",memValue,NULL) \
|
|
| timechart minspan=1m $chartfun.chartfunval$(avg_overhead_kiloBytes) as avg_overhead_kb, \
|
|
$chartfun.chartfunval$(max_overhead_kiloBytes) as max_overhead_kb, \
|
|
$chartfun.chartfunval$(min_overhead_kiloBytes) as min_overhead_kb, \
|
|
$chartfun.chartfunval$(none_overhead_kiloBytes) as none_overhead_kb \
|
|
| eval "$chartfun.chartfun$ $displaymetric.displaymetric$"=coalesce(avg_overhead_kb,max_overhead_kb,min_overhead_kb,none_overhead_kb) \
|
|
| fields _time "$chartfun.chartfun$ $displaymetric.displaymetric$" \
|
|
|
|
[d_cluster_detail_AvgConsumMemPerVM_KB]
|
|
disabled = true
|
|
is_visible = false
|
|
search = | mstats span=20s $chartfun.chartfunval1$(_value) as memValue where metric_name=vsphere.vm.mem.consumed AND `vmwareperf-metrics-index` AND source="VMPerf:VirtualMachine" AND instance="aggregated" AND unit="kiloBytes" AND cluster=$selectedClusterComputeResource.moid$ AND host=$selectedClusterComputeResource.host$ by vmware_metric_aggregation cluster host\
|
|
| eval avg_consumed_kiloBytes=if(vmware_metric_aggregation="average",memValue,NULL) \
|
|
| eval max_consumed_kiloBytes=if(vmware_metric_aggregation="maximum",memValue,NULL) \
|
|
| eval min_consumed_kiloBytes=if(vmware_metric_aggregation="minimum",memValue,NULL) \
|
|
| eval none_consumed_kiloBytes=if(vmware_metric_aggregation="none",memValue,NULL) \
|
|
| timechart minspan=1m $chartfun.chartfunval$(avg_consumed_kiloBytes) as avg_consumed_kb, \
|
|
$chartfun.chartfunval$(max_consumed_kiloBytes) as max_consumed_kb, \
|
|
$chartfun.chartfunval$(min_consumed_kiloBytes) as min_consumed_kb, \
|
|
$chartfun.chartfunval$(none_consumed_kiloBytes) as none_consumed_kb \
|
|
| eval "$chartfun.chartfun$ $displaymetric.displaymetric$"=coalesce(avg_consumed_kb,max_consumed_kb,min_consumed_kb,none_consumed_kb) \
|
|
| fields _time "$chartfun.chartfun$ $displaymetric.displaymetric$"
|
|
|
|
|
|
[d_cluster_detail_AvgCpuUsg_pct]
|
|
disabled = true
|
|
is_visible = false
|
|
search = | mstats span=20s $chartfun.chartfunval1$(_value) as cpuUsage where metric_name=vsphere.cluster.cpu.usage AND `vmwareperf-metrics-index` AND source="VMPerf:ClusterComputeResource" AND unit="percent" by vmware_metric_aggregation \
|
|
| eval avg_usage_percent=if(vmware_metric_aggregation="average",cpuUsage,NULL) \
|
|
| timechart span=1m $chartfun.chartfunval$(avg_usage_percent) as tmp \
|
|
| eval "$chartfun.chartfun$ $displaymetric.displaymetric$"=tmp \
|
|
| fields _time "$chartfun.chartfun$ $displaymetric.displaymetric$"
|
|
|
|
[d_cluster_detail_AvgCpuPerVM_mhz]
|
|
disabled = true
|
|
is_visible = false
|
|
search = | mstats span=20s $chartfun.chartfunval1$(_value) as cpuUsage where metric_name=vsphere.vm.cpu.usagemhz AND `vmwareperf-metrics-index` AND source="VMPerf:VirtualMachine" AND instance="aggregated" AND unit="megaHertz" AND cluster=$selectedClusterComputeResource.moid$ AND host=$selectedClusterComputeResource.host$ by vmware_metric_aggregation host cluster \
|
|
| eval avg_cpu_usagemhz_megaHertz=if(vmware_metric_aggregation="average",cpuUsage,NULL) \
|
|
| eval max_cpu_usagemhz_megaHertz=if(vmware_metric_aggregation="maximum",cpuUsage,NULL) \
|
|
| eval min_cpu_usagemhz_megaHertz=if(vmware_metric_aggregation="minimum",cpuUsage,NULL) \
|
|
| eval none_cpu_usagemhz_megaHertz=if(vmware_metric_aggregation="none",cpuUsage,NULL) \
|
|
| timechart minspan=1m \
|
|
$chartfun.chartfunval$(avg_cpu_usagemhz_megaHertz) as avg_usagemhz_megaHertz, \
|
|
$chartfun.chartfunval$(max_cpu_usagemhz_megaHertz) as max_usagemhz_megaHertz, \
|
|
$chartfun.chartfunval$(min_cpu_usagemhz_megaHertz) as min_usagemhz_megaHertz, \
|
|
$chartfun.chartfunval$(none_cpu_usagemhz_megaHertz) as none_usagemhz_megaHertz \
|
|
| eval "$chartfun.chartfun$ $displaymetric.displaymetric$"=coalesce(avg_usagemhz_megaHertz,max_usagemhz_megaHertz,min_usagemhz_megaHertz,none_usagemhz_megaHertz) \
|
|
| fields _time "$chartfun.chartfun$ $displaymetric.displaymetric$"
|
|
|
|
|
|
[d_cluster_detail_AvgMemUsg_pct]
|
|
disabled = true
|
|
is_visible = false
|
|
search = | mstats span=20s $chartfun.chartfunval1$(_value) as memValue where (metric_name=vsphere.vm.mem.consumed OR metric_name=vsphere.vm.mem.overhead) AND `vmwareperf-metrics-index` AND source="VMPerf:VirtualMachine" AND instance="aggregated" AND unit="kiloBytes" AND cluster=$selectedClusterComputeResource.moid$ AND host=$selectedClusterComputeResource.host$ by metric_name vmware_metric_aggregation cluster host moid \
|
|
| eval avg_mem_consumed_kiloBytes=if(vmware_metric_aggregation="average" AND metric_name="vsphere.vm.mem.consumed",memValue,NULL) \
|
|
| eval max_mem_consumed_kiloBytes=if(vmware_metric_aggregation="maximum" AND metric_name="vsphere.vm.mem.consumed",memValue,NULL) \
|
|
| eval min_mem_consumed_kiloBytes=if(vmware_metric_aggregation="minimum" AND metric_name="vsphere.vm.mem.consumed",memValue,NULL) \
|
|
| eval none_mem_consumed_kiloBytes=if(vmware_metric_aggregation="none" AND metric_name="vsphere.vm.mem.consumed",memValue,NULL) \
|
|
| eval avg_mem_overhead_kiloBytes=if(vmware_metric_aggregation="average" AND metric_name="vsphere.vm.mem.overhead",memValue,NULL) \
|
|
| eval max_mem_overhead_kiloBytes=if(vmware_metric_aggregation="maximum" AND metric_name="vsphere.vm.mem.overhead",memValue,NULL) \
|
|
| eval min_mem_overhead_kiloBytes=if(vmware_metric_aggregation="minimum" AND metric_name="vsphere.vm.mem.overhead",memValue,NULL) \
|
|
| eval none_mem_overhead_kiloBytes=if(vmware_metric_aggregation="none" AND metric_name="vsphere.vm.mem.overhead",memValue,NULL) \
|
|
| timechart minspan=1m \
|
|
$chartfun.chartfunval$(avg_mem_consumed_kiloBytes) as avg_consumed_kb, \
|
|
$chartfun.chartfunval$(max_mem_consumed_kiloBytes) as max_consumed_kb, \
|
|
$chartfun.chartfunval$(min_mem_consumed_kiloBytes) as min_consumed_kb, \
|
|
$chartfun.chartfunval$(none_mem_consumed_kiloBytes) as none_consumed_kb \
|
|
$chartfun.chartfunval$(avg_mem_overhead_kiloBytes) as avg_overhead_kb, \
|
|
$chartfun.chartfunval$(max_mem_overhead_kiloBytes) as max_overhead_kb, \
|
|
$chartfun.chartfunval$(min_mem_overhead_kiloBytes) as min_overhead_kb, \
|
|
$chartfun.chartfunval$(none_mem_overhead_kiloBytes) as none_overhead_kb \
|
|
dc(moid) as num_vms \
|
|
first(cluster) as moid \
|
|
first(host) as host \
|
|
| lookup TimeClusterServicesAvailability host, moid OUTPUT p_average_clusterServices_effectivemem_megaBytes \
|
|
| eval "$chartfun.chartfun$ $displaymetric.displaymetric$"=(coalesce(avg_overhead_kb,max_overhead_kb,min_overhead_kb,none_overhead_kb)*num_vms + coalesce(avg_consumed_kb,max_consumed_kb,min_consumed_kb,none_consumed_kb)*num_vms*100)/(p_average_clusterServices_effectivemem_megaBytes*1024) \
|
|
| fields _time "$chartfun.chartfun$ $displaymetric.displaymetric$"
|
|
|
|
[d_cluster_detail_TotOverhd_KB]
|
|
disabled = true
|
|
is_visible = false
|
|
search = | mstats span=20s $chartfun.chartfunval1$(_value) as memValue where metric_name=vsphere.vm.mem.overhead AND `vmwareperf-metrics-index` AND source="VMPerf:VirtualMachine" AND instance="aggregated" AND unit="kiloBytes" AND cluster=$selectedClusterComputeResource.moid$ AND host=$selectedClusterComputeResource.host$ by vmware_metric_aggregation host cluster moid \
|
|
| eval avg_mem_overhead_kiloBytes=if(vmware_metric_aggregation="average",memValue,NULL) \
|
|
| eval max_mem_overhead_kiloBytes=if(vmware_metric_aggregation="maximum",memValue,NULL) \
|
|
| eval min_mem_overhead_kiloBytes=if(vmware_metric_aggregation="minimum",memValue,NULL) \
|
|
| eval none_mem_overhead_kiloBytes=if(vmware_metric_aggregation="none",memValue,NULL) \
|
|
| timechart minspan=1m \
|
|
$chartfun.chartfunval$(avg_mem_overhead_kiloBytes) as avg_overhead_kb, \
|
|
$chartfun.chartfunval$(max_mem_overhead_kiloBytes) as max_overhead_kb, \
|
|
$chartfun.chartfunval$(min_mem_overhead_kiloBytes) as min_overhead_kb, \
|
|
$chartfun.chartfunval$(none_mem_overhead_kiloBytes) as none_overhead_kb \
|
|
dc(moid) as num_vms \
|
|
| eval "$chartfun.chartfun$ $displaymetric.displaymetric$"=coalesce(avg_overhead_kb,max_overhead_kb,min_overhead_kb,none_overhead_kb)*num_vms \
|
|
| fields _time "$chartfun.chartfun$ $displaymetric.displaymetric$"
|
|
|
|
[d_cluster_detail_TotConsum_KB]
|
|
disabled = true
|
|
is_visible = false
|
|
search = | mstats span=20s $chartfun.chartfunval1$(_value) as memValue where metric_name=vsphere.vm.mem.consumed AND `vmwareperf-metrics-index` AND source="VMPerf:VirtualMachine" AND instance="aggregated" AND unit="kiloBytes" AND cluster=$selectedClusterComputeResource.moid$ AND host=$selectedClusterComputeResource.host$ by vmware_metric_aggregation cluster host moid \
|
|
| eval avg_mem_consumed_kiloBytes=if(vmware_metric_aggregation="average",memValue,NULL) \
|
|
| eval max_mem_consumed_kiloBytes=if(vmware_metric_aggregation="maximum",memValue,NULL) \
|
|
| eval min_mem_consumed_kiloBytes=if(vmware_metric_aggregation="minimum",memValue,NULL) \
|
|
| eval none_mem_consumed_kiloBytes=if(vmware_metric_aggregation="none",memValue,NULL) \
|
|
| timechart minspan=1m \
|
|
$chartfun.chartfunval$(avg_mem_consumed_kiloBytes) as avg_consumed_kb, \
|
|
$chartfun.chartfunval$(max_mem_consumed_kiloBytes) as max_consumed_kb, \
|
|
$chartfun.chartfunval$(min_mem_consumed_kiloBytes) as min_consumed_kb, \
|
|
$chartfun.chartfunval$(none_mem_consumed_kiloBytes) as none_consumed_kb \
|
|
dc(moid) as num_vms \
|
|
| eval "$chartfun.chartfun$ $displaymetric.displaymetric$"=coalesce(avg_consumed_kb,max_consumed_kb,min_consumed_kb,none_consumed_kb)*num_vms \
|
|
| fields _time "$chartfun.chartfun$ $displaymetric.displaymetric$"
|
|
|
|
[d_cluster_detail_TotUsg_mhz]
|
|
disabled = true
|
|
is_visible = false
|
|
search = | mstats span=20s $chartfun.chartfunval1$(_value) as cpuUsage where metric_name=vsphere.vm.cpu.usagemhz AND `vmwareperf-metrics-index` AND source="VMPerf:VirtualMachine" AND instance="aggregated" AND unit="megaHertz" AND cluster=$selectedClusterComputeResource.moid$ AND host=$selectedClusterComputeResource.host$ by vmware_metric_aggregation cluster host moid \
|
|
| eval avg_cpu_usagemhz_megaHertz=if(vmware_metric_aggregation="average",cpuUsage,NULL) \
|
|
| eval max_cpu_usagemhz_megaHertz=if(vmware_metric_aggregation="maximum",cpuUsage,NULL) \
|
|
| eval min_cpu_usagemhz_megaHertz=if(vmware_metric_aggregation="minimum",cpuUsage,NULL) \
|
|
| eval none_cpu_usagemhz_megaHertz=if(vmware_metric_aggregation="none",cpuUsage,NULL) \
|
|
| timechart minspan=1m \
|
|
$chartfun.chartfunval$(avg_cpu_usagemhz_megaHertz) as avg_usagemhz_megaHertz, \
|
|
$chartfun.chartfunval$(max_cpu_usagemhz_megaHertz) as max_usagemhz_megaHertz, \
|
|
$chartfun.chartfunval$(min_cpu_usagemhz_megaHertz) as min_usagemhz_megaHertz, \
|
|
$chartfun.chartfunval$(none_cpu_usagemhz_megaHertz) as none_usagemhz_megaHertz dc(moid) as num_vms \
|
|
| eval "$chartfun.chartfun$ $displaymetric.displaymetric$"=coalesce(avg_usagemhz_megaHertz,max_usagemhz_megaHertz,min_usagemhz_megaHertz,none_usagemhz_megaHertz)*num_vms \
|
|
| fields _time "$chartfun.chartfun$ $displaymetric.displaymetric$"
|
|
|
|
[d_home_proactive_monitoring_row1_col1_gauge1]
|
|
disabled = 1
|
|
is_visible = false
|
|
search = | mstats avg(_value) as avgcpuUsage where metric_name=vsphere.vm.cpu.usage AND `vmwareperf-metrics-index` AND source="VMPerf:VirtualMachine" AND instance="aggregated" AND unit="percent" by host moid vmware_metric_aggregation \
|
|
| eval avg_usage_percent=if(vmware_metric_aggregation="average",avgcpuUsage,NULL) \
|
|
| stats avg(avg_usage_percent) as p_average_cpu_usage_percent by moid, host \
|
|
| thresholdlookup perftype=cpu, entitytype=VirtualMachine, metric=p_average_cpu_usage_percent, match=false \
|
|
| stats count(eval(threshold_severity!="unknown")) AS TotalVMs count(eval(threshold_severity="critical")) AS HighCPUVms \
|
|
| eval PercentHighCPUVm=(HighCPUVms/TotalVMs)*100 \
|
|
| thresholdlookup entitytype=VirtualMachine, perftype=inv, metric=PercentHighCPUVm, match=false \
|
|
| eval PercentHighCPUVm=ceil(PercentHighCPUVm)/100 | eval threshold_warnlevel=threshold_warnlevel/100 \
|
|
| eval threshold_critlevel=threshold_critlevel/100 \
|
|
| gauge PercentHighCPUVm 0,threshold_warnlevel,threshold_critlevel,1
|
|
|
|
[d_home_proactive_monitoring_gauge_null]
|
|
disabled = true
|
|
is_visible = false
|
|
search = | stats count | eval x=0 | eval y1=0 | eval y2=.5 | eval y3=.75 | eval y4=1 | fields - count
|
|
|
|
[d_home_proactive_monitoring_row1_col1_gauge2]
|
|
disabled = 1
|
|
is_visible = false
|
|
search = | mstats avg(_value) as avgmemUsage where metric_name=vsphere.vm.mem.usage AND `vmwareperf-metrics-index` AND source="VMPerf:VirtualMachine" AND unit="percent" by host moid vmware_metric_aggregation \
|
|
| eval avg_usage_percent=if(vmware_metric_aggregation="average",avgmemUsage,NULL) \
|
|
| stats avg(avg_usage_percent) as p_average_mem_usage_percent by moid, host \
|
|
| thresholdlookup perftype=mem, entitytype=VirtualMachine, metric=p_average_mem_usage_percent, match=false \
|
|
| stats count(eval(threshold_severity!="unknown")) AS TotalVMs count(eval(threshold_severity="critical")) AS HighMemVms \
|
|
| eval PercentHighMemVm=(HighMemVms/TotalVMs)*100 | thresholdlookup entitytype=VirtualMachine, perftype=inv, metric=PercentHighMemVm, match=false \
|
|
| eval PercentHighMemVm=ceil(PercentHighMemVm)/100 | eval threshold_warnlevel=threshold_warnlevel/100 \
|
|
| eval threshold_critlevel=threshold_critlevel/100 \
|
|
| gauge PercentHighMemVm 0,threshold_warnlevel,threshold_critlevel,1
|
|
|
|
[d_home_proactive_monitoring_row1_col1_gauge3]
|
|
disabled = 1
|
|
is_visible = false
|
|
search = | mstats avg(_value) as avgcpuReady where metric_name=vsphere.vm.cpu.ready AND `vmwareperf-metrics-index` AND source="VMPerf:VirtualMachine" AND instance="aggregated" AND unit="millisecond" by host moid vmware_metric_aggregation \
|
|
| eval sum_ready_millisecond=if(vmware_metric_aggregation="summation",avgcpuReady,NULL) \
|
|
| stats avg(sum_ready_millisecond) as p_summation_cpu_ready_millisecond by moid, host \
|
|
| thresholdlookup perftype=cpu, entitytype=VirtualMachine, metric=p_summation_cpu_ready_millisecond, match=false \
|
|
| stats count(eval(threshold_severity!="unknown")) AS TotalVMs count(eval(threshold_severity="critical")) AS HighSumRdyVms \
|
|
| eval PercentHighSumRdyVm=(HighSumRdyVms/TotalVMs)*100 \
|
|
| thresholdlookup entitytype=VirtualMachine, perftype=inv, metric=PercentHighSumRdyVm, match=false \
|
|
| eval PercentHighSumRdyVm=ceil(PercentHighSumRdyVm)/100 | eval threshold_warnlevel=threshold_warnlevel/100 \
|
|
| eval threshold_critlevel=threshold_critlevel/100 \
|
|
| gauge PercentHighSumRdyVm 0,threshold_warnlevel,threshold_critlevel,1
|
|
|
|
[d_home_proactive_monitoring_row1_col2_gauge1]
|
|
disabled = 1
|
|
is_visible = false
|
|
search = | mstats span=5m avg(_value) as entityValue where metric_name=vsphere.esxihost.mem.vmmemctl AND `vmwareperf-metrics-index` AND source="VMPerf:HostSystem" AND unit="kiloBytes" by host moid vmware_metric_aggregation \
|
|
| eval avg_vmmemctl_kiloBytes=if(vmware_metric_aggregation="average",entityValue,NULL) \
|
|
| stats avg(avg_vmmemctl_kiloBytes) as p_average_mem_vmmemctl_kiloBytes by _time,moid, host \
|
|
| table _time, p_average_mem_vmmemctl_kiloBytes, moid, host \
|
|
| thresholdlookup perftype=mem, entitytype=HostSystem, metric=p_average_mem_vmmemctl_kiloBytes, match=false \
|
|
| stats count(eval(threshold_severity!="unknown")) AS TotalHosts \
|
|
count(eval(threshold_severity="critical")) AS HighHosts \
|
|
by host, moid \
|
|
| stats count AS TotalHosts \
|
|
count(eval(HighHosts>0)) AS HighHosts \
|
|
| eval PercentHighSwapHosts=(HighHosts/TotalHosts)*100 \
|
|
| thresholdlookup entitytype=HostSystem, perftype=inv, metric=PercentHighSwapHosts, match=false \
|
|
| eval PercentHighSwapHosts=ceil(PercentHighSwapHosts)/100 \
|
|
| eval threshold_warnlevel=threshold_warnlevel/100 \
|
|
| eval threshold_critlevel=threshold_critlevel/100 \
|
|
| gauge PercentHighSwapHosts 0,threshold_warnlevel,threshold_critlevel,1
|
|
|
|
[d_home_proactive_monitoring_row1_col2_gauge2]
|
|
disabled = 1
|
|
is_visible = false
|
|
search = | mstats span=5m avg(_value) as entityValue where metric_name=vsphere.esxihost.mem.llSwapUsed AND `vmwareperf-metrics-index` AND source="VMPerf:HostSystem" AND unit="kiloBytes" by host moid vmware_metric_aggregation \
|
|
| eval avg_llSwapUsed_kiloBytes=if(vmware_metric_aggregation="average",entityValue,NULL) \
|
|
| stats avg(avg_llSwapUsed_kiloBytes) as p_average_mem_llSwapUsed_kiloBytes by _time, moid, host \
|
|
| table _time, p_average_mem_llSwapUsed_kiloBytes moid host \
|
|
| thresholdlookup perftype=mem, entitytype=HostSystem, metric=p_average_mem_llSwapUsed_kiloBytes, match=false \
|
|
| stats count(eval(threshold_severity!="unknown")) AS TotalHosts count(eval(threshold_severity="critical")) AS HighHosts \
|
|
by host, moid \
|
|
| stats count AS TotalHosts count(eval(HighHosts>0)) AS HighHosts \
|
|
| eval PercentHighBalloonHosts=(HighHosts/TotalHosts)*100 \
|
|
| thresholdlookup entitytype=HostSystem, perftype=inv, metric=PercentHighBalloonHosts, match=false \
|
|
| eval PercentHighBalloonHosts=ceil(PercentHighBalloonHosts)/100 \
|
|
| eval threshold_warnlevel=threshold_warnlevel/100 | eval threshold_critlevel=threshold_critlevel/100 \
|
|
| gauge PercentHighBalloonHosts 0,threshold_warnlevel,threshold_critlevel,1
|
|
|
|
[d_home_proactive_monitoring_row1_col2_gauge3]
|
|
disabled = 1
|
|
is_visible = false
|
|
search = | mstats span=5m avg(_value) as avgcpuUsage where metric_name=vsphere.esxihost.cpu.usage AND `vmwareperf-metrics-index` AND source="VMPerf:HostSystem" AND instance="aggregated" AND unit="percent" by host moid vmware_metric_aggregation \
|
|
| eval avg_usage_percent=if(vmware_metric_aggregation="average",avgcpuUsage,NULL) \
|
|
| stats avg(avg_usage_percent) as p_average_cpu_usage_percent by _time, host, moid \
|
|
| thresholdlookup perftype=cpu, entitytype=HostSystem, metric=p_average_cpu_usage_percent, match=false \
|
|
| stats count(eval(threshold_severity!="unknown")) AS TotalHosts count(eval(threshold_severity="critical")) AS HighCPUHosts \
|
|
| eval PercentHighCPUHosts=(HighCPUHosts/TotalHosts)*100 | thresholdlookup entitytype=HostSystem, perftype=inv, metric=PercentHighCPUHosts, match=false \
|
|
| eval PercentHighCPUHosts=ceil(PercentHighCPUHosts)/100 | eval threshold_warnlevel=threshold_warnlevel/100 | eval threshold_critlevel=threshold_critlevel/100 \
|
|
| gauge PercentHighCPUHosts 0,threshold_warnlevel,threshold_critlevel,1
|
|
|
|
[d_home_proactive_monitoring_row1_col1_footer_base]
|
|
disabled = true
|
|
is_visible = false
|
|
search = `vmwareinv-index` sourcetype=vmware_inframon:inv:hierarchy earliest=-4h latest=now | spath moid | spath type | search type="VirtualMachine" | spath changeSet.runtime.host.moid output=hostsystemmoid | table _time, moid, host, hostsystemmoid | sort 0 host, moid, _time | dedup consecutive=t moid, hostsystemmoid | sort 0 _time | streamstats first(hostsystemmoid) as prev_hostsystem window=1 global=f current=f by moid host | reverse | lookup FullHierarchy moid AS moid, host AS host OUTPUT name AS VirtualMachine | lookup FullHierarchy moid AS hostsystemmoid, host AS host OUTPUT name AS HostSystem
|
|
|
|
[d_home_proactive_monitoring_row1_col1_footer_TotalVMs]
|
|
disabled = 1
|
|
is_visible = false
|
|
search = | stats dc(moid) AS count by host | stats sum(count) AS TotalVMs
|
|
|
|
[d_home_proactive_monitoring_row1_col1_footer_TotalVMs_drill]
|
|
disabled = 1
|
|
is_visible = false
|
|
search = | dedup moid, host | fields moid, VirtualMachine, hostsystemmoid, HostSystem, host | rename moid AS HIDE-VirtualMachineMoid, hostsystemmoid AS HIDE-HostSystemMoid, host AS vCenter | fields - _time | sort 0 vCenter, HIDE-VirtualMachineMoid
|
|
|
|
[d_home_proactive_monitoring_row1_col1_footer_TotalMigrations]
|
|
disabled = 1
|
|
is_visible = false
|
|
search = | stats count(hostsystemmoid) as hostcount by moid,host | search hostcount>1 | eval hostcount=hostcount-1 | stats sum(hostcount) AS TotalMigrations
|
|
|
|
[d_home_proactive_monitoring_row1_col1_footer_TotalMigrations_drill]
|
|
disabled = 1
|
|
is_visible = false
|
|
search = | stats first(VirtualMachine) AS VirtualMachine count(hostsystemmoid) as hostcount first(hostsystemmoid) AS hostsystemmoid first(HostSystem) AS CurrentHost by moid, host | search hostcount>1 | eval hostcount=hostcount-1 | rename moid AS HIDE-VirtualMachineMoid, hostcount AS TotalMigrations, CurrentHost AS HostSystem, hostsystemmoid AS HIDE-HostSystemMoid, host AS vCenter
|
|
|
|
[d_home_proactive_monitoring_row1_col2_footer_base]
|
|
disabled = true
|
|
is_visible = false
|
|
search = `vmwareinv-index` sourcetype=vmware_inframon:inv:hierarchy earliest=-4h latest=now | spath moid | spath type | search type="HostSystem" | spath changeSet.parent.type output=parenttype | spath changeSet.parent.moid output=parentmoid | table _time, moid, host, parenttype, parentmoid | dedup moid, host, parenttype, parentmoid | lookup FullHierarchy moid AS moid, host AS host OUTPUT name AS HostSystem | lookup FullHierarchy moid AS parentmoid, host AS host OUTPUT name AS ParentName | eval ClusterComputeResource=if(parenttype="ClusterComputeResource", ParentName, "N/A") | rename moid AS HIDE-HostSystem-moid, parentmoid AS HIDE-ClusterComputeResource-moid, host AS HIDE-host | table HostSystem, ClusterComputeResource, HIDE*
|
|
|
|
[d_home_proactive_monitoring_row1_col2_footer_TotalHosts]
|
|
disabled = 1
|
|
is_visible = false
|
|
search = | stats count AS TotalHosts
|
|
|
|
[d_home_proactive_monitoring_row1_col2_footer_TotalHosts_drill]
|
|
disabled = 1
|
|
is_visible = false
|
|
search = | search *
|
|
|
|
[d_host_vm_perf_20s_host]
|
|
disabled = true
|
|
is_visible = false
|
|
search = | mstats span=5m $displayfield.chartfun$(_value) AS entityValue \
|
|
where metric_name=$displayfield.metricperf$ AND `vmwareperf-metrics-index` AND source="VMPerf:HostSystem" AND $selectedHostSystem$ AND unit="$displayfield.unit$" AND instance=aggregated by host moid vmware_metric_aggregation | eval $displayfield.field$=if(vmware_metric_aggregation="$displayfield.command$",entityValue,NULL) \
|
|
| lookup FullHierarchy moid AS moid host AS host OUTPUT name AS name \
|
|
| timechart minspan=5m $displayfield.chartfun$($displayfield.field$) AS $displayfield.field$ by name usenull=f
|
|
|
|
[d_host_vm_perf_20s_vm]
|
|
disabled = true
|
|
is_visible = false
|
|
search = | mstats span=5m $displayfield.chartfun$(_value) AS entityValue \
|
|
where metric_name=$displayfield.metricperf$ AND `vmwareperf-metrics-index` AND source="VMPerf:VirtualMachine" AND $selectedVirtualMachine$ AND unit="$displayfield.unit$" AND instance=aggregated by host moid vmware_metric_aggregation | eval $displayfield.field$=if(vmware_metric_aggregation="$displayfield.command$",entityValue,NULL) \
|
|
| lookup FullHierarchy moid AS moid host AS host OUTPUT name AS name \
|
|
| timechart minspan=5m $displayfield.chartfun$($displayfield.field$) AS $displayfield.field$ by name usenull=f
|
|
|
|
[SelectorHierarchy]
|
|
disabled = 1
|
|
is_visible = false
|
|
action.email.inline = 1
|
|
cron_schedule = 5,20,35,50 * * * *
|
|
description = This search gives the current state of the hierarchy for TreeNav's. Note that it should be run on a time window of hierarchyinv_interval + hierarchyinv_expiration + [duration_of_hierarchyinv_collection]
|
|
dispatch.earliest_time = -8h
|
|
dispatch.latest_time = now
|
|
enableSched = 1
|
|
search = `vmwareinv-index` sourcetype=vmware_inframon:inv:hierarchy | spath changeSet.runtime.host.moid output=vmhost | spath moid output=moid | spath type output=type | spath changeSet.name output=name | search (type!="Datastore" type!="VirtualApp" type!="ResourcePool" type!="Folder" type!="ComputeResource") OR (name!="host" type="Folder" name!="vm" name!="datastore" name!="network" name!="Local Storage" name!="Discovered virtual machine") | spath changeSet.parent.moid output=parent | spath changeSet.parent.type output=parentType | spath rootFolder.moid output=rootFolderMoid | eval parent=if(type="VirtualMachine", vmhost, parent) | eval parentType=if(type="VirtualMachine", "HostSystem", if(parent=rootFolderMoid, "RootFolder", parentType)) | stats first(_time) as _time first(name) as name first(type) as type first(parent) as parent first(parentType) as parentType first(rootFolderMoid) as rootFolderMoid by host, moid | search name!="" | lookup FullHierarchy host, moid as parent OUTPUT parent as grandparent parentType as grandparentType | eval parent=if(parentType=="ComputeResource", grandparent, parent) | eval parentType=if(parentType=="ComputeResource", grandparentType, parentType) | lookup FullHierarchy host, moid as parent OUTPUT parent as grandparent parentType as grandparentType name as parentName | eval parent=if(parentName=="host",grandparent,parent) | eval parentType=if(parentName=="host",grandparentType,parentType) | lookup FullHierarchy moid as grandparent, host as host OUTPUT name as grandParentName| eval parentName=if(parentName=="host",grandParentName,parentName) | eval grandParentName=if(grandparentType=="ClusterComputeResource", grandParentName, "")|rename parent as uiparent parentType as uiparentType | table host moid name type uiparent uiparentType parentName rootFolderMoid grandParentName grandparentType | outputlookup SelectorHierarchy | generateiit partial_matching=true
|
|
|
|
[Vmware Security changes]
|
|
action.email.reportServerEnabled = 0
|
|
action.keyindicator.invert = 0
|
|
alert.track = 0
|
|
description = Vmware Security changes in last 30 days
|
|
disabled = 1
|
|
dispatch.earliest_time = -30d@d
|
|
dispatch.latest_time = now
|
|
display.general.type = statistics
|
|
display.page.search.mode = fast
|
|
request.ui_dispatch_app = DA-ITSI-CP-vmware-dashboards
|
|
search = `vmwaretaskevent-index` sourcetype="vmware_inframon:events" AND host=* AND (action="created" OR action="deleted" OR action="modified") | rename userName as User, fullFormattedMessage as Message | table User Message host
|
|
|
|
[Total VM Migrations]
|
|
action.email.reportServerEnabled = 0
|
|
action.keyindicator.invert = 0
|
|
alert.track = 0
|
|
description = Total VM Migrations across all hosts
|
|
disabled = 1
|
|
dispatch.earliest_time = -4h
|
|
dispatch.latest_time = now
|
|
display.general.type = statistics
|
|
request.ui_dispatch_app = DA-ITSI-CP-vmware-dashboards
|
|
search = `vmwareinv-index` sourcetype=vmware_inframon:inv:hierarchy | spath moid | spath type | search type="VirtualMachine" | spath changeSet.runtime.host.moid output=hostsystemmoid | table _time, moid, host, hostsystemmoid | sort 0 host, moid, _time | dedup consecutive=t moid, hostsystemmoid | lookup FullHierarchy moid AS moid, host AS host OUTPUT name AS VirtualMachine | lookup FullHierarchy moid AS hostsystemmoid, host AS host OUTPUT name AS HostSystem | stats count(hostsystemmoid) as hostcount by moid,host | search hostcount>1 | eval hostcount=hostcount-1 | stats sum(hostcount) AS TotalMigrations
|
|
|
|
[Top 5 Migrated VMs]
|
|
action.email.reportServerEnabled = 0
|
|
action.keyindicator.invert = 0
|
|
alert.track = 0
|
|
description = Top 5 Migrated VMs across all hosts
|
|
disabled = 1
|
|
dispatch.earliest_time = -4h
|
|
dispatch.latest_time = now
|
|
display.general.type = statistics
|
|
request.ui_dispatch_app = DA-ITSI-CP-vmware-dashboards
|
|
search = `vmwareinv-index` sourcetype=vmware_inframon:inv:hierarchy | spath moid | spath type | search type="VirtualMachine" | spath changeSet.runtime.host.moid output=hostsystemmoid | table _time, moid, host, hostsystemmoid | sort 0 host, moid, _time | dedup consecutive=t moid, hostsystemmoid | lookup FullHierarchy moid AS moid, host AS host OUTPUT name AS VirtualMachine | lookup FullHierarchy moid AS hostsystemmoid, host AS host OUTPUT name AS HostSystem | stats count(hostsystemmoid) as hostcount by VirtualMachine, moid,host | search hostcount>1 | eval hostcount=hostcount-1 | top 5 VirtualMachine
|
|
|
|
[Snapshots older than 14 days]
|
|
action.email.reportServerEnabled = 0
|
|
action.keyindicator.invert = 0
|
|
alert.track = 0
|
|
disabled = 1
|
|
dispatch.earliest_time = 0
|
|
display.general.timeRangePicker.show = 0
|
|
display.general.type = statistics
|
|
display.visualizations.show = 0
|
|
request.ui_dispatch_app = DA-ITSI-CP-vmware-dashboards
|
|
search = |`tstats` values("Inventory.filename") values("Inventory.filetype") values("Inventory.filesize") values("Inventory.Snapshots") values("Inventory.type") values("Inventory.fileattributes") values("Inventory.moid") \
|
|
from datamodel=VMwareInventory \
|
|
where * host=* Inventory.filetype="snapshotdata" \
|
|
groupby _time, host, "Inventory.moid" \
|
|
|`process_inventory` \
|
|
| stats first(snapshotTime) AS CreateTime, \
|
|
first(snapshotName) AS snapshotName, \
|
|
first(filesize) as size by filename, \
|
|
filedatastore, moid,host \
|
|
| eval CreateTimeEpoch=strptime(CreateTime,"%Y-%m-%d %H:%M:%S.%Q") \
|
|
| convert ctime(CreateTimeEpoch) AS CreatedTime \
|
|
| eval Size =`format_bytes(size)` \
|
|
| fields - splitSubPath, CreateTime, size \
|
|
| eval time14DaysAgo=relative_time(now(),"-14d@d") \
|
|
|rename filename as Filename \
|
|
| where (CreateTimeEpoch < time14DaysAgo) \
|
|
| lookup Entity moid as moid output name as "VM Name" \
|
|
| fields - CreateTimeEpoch, moid, time14DaysAgo
|
|
|
|
[Alarms]
|
|
action.email.reportServerEnabled = 0
|
|
action.keyindicator.invert = 0
|
|
alert.track = 0
|
|
description = This search shows alarms from all the VCs
|
|
disabled = 1
|
|
display.general.type = statistics
|
|
display.visualizations.show=0
|
|
request.ui_dispatch_app = DA-ITSI-CP-vmware-dashboards
|
|
search = `vmwaretaskevent-index` sourcetype="vmware_inframon:events" alarm.name=* | spath to | search to=* | spath alarm.name output=alarm | spath vm.name output=vm_name | spath vm.vm.moid output=vm_moid | search host=* | stats list(vm_name) as vms list(to) as status first(to) as cur_status by alarm vm_moid host | search cur_status="red" OR cur_status="yellow"| stats count by alarm
|
|
|
|
[Memory Utilization by Cluster]
|
|
action.email.reportServerEnabled = 0
|
|
action.keyindicator.invert = 0
|
|
alert.track = 0
|
|
description = This search shows memory usage for all clusters over time
|
|
disabled = 1
|
|
display.general.type = visualizations
|
|
display.visualizations.charting.chart = line
|
|
request.ui_dispatch_app = DA-ITSI-CP-vmware-dashboards
|
|
search = | mstats span=1m avg(_value) as avgmemUsage where metric_name=vsphere.vm.mem.usage AND `vmwareperf-metrics-index` \
|
|
source="VMPerf:VirtualMachine" AND vmware_metric_aggregation="average" AND unit="percent" \
|
|
by host cluster moid \
|
|
| stats avg(avgmemUsage) AS p_average_mem_usage_percent \
|
|
by cluster,host,moid, _time \
|
|
| eval p_average_mem_usage_percent= if(p_average_mem_usage_percent<=0, 0, p_average_mem_usage_percent) \
|
|
| timechart span=1m avg(p_average_mem_usage_percent) AS p_average_mem_usage_percent by cluster
|
|
|
|
[VMs With Old or No Tools]
|
|
action.email.reportServerEnabled = 0
|
|
action.keyindicator.invert = 0
|
|
alert.track = 0
|
|
description = This search shows VMs that have old or no tools installed
|
|
disabled = 1
|
|
dispatch.earliest_time = 0
|
|
display.general.type = statistics
|
|
display.visualizations.show=0
|
|
request.ui_dispatch_app = DA-ITSI-CP-vmware-dashboards
|
|
search = `vmwareinv-index` sourcetype="vmware_inframon:inv:vm" host=*| spath moid output=moid | spath collectionVersion output=collectionVersion | spath changeSet.name output=name | spath changeSet.guest.toolsStatus output=toolsStatus | stats first(name) AS name, first(toolsStatus) As toolsStatus by host, moid | dedup host, moid | eval toolsStatus=if(isnull(toolsStatus), "Not Available", toolsStatus) | search toolsStatus="toolsOld" OR toolsStatus="Not Available" |rename name As VirtualMachine
|
|
|
|
[Powered Off VMs]
|
|
action.email.reportServerEnabled = 0
|
|
action.keyindicator.invert = 0
|
|
alert.track = 0
|
|
description = Shows Powered Off VMs for all the hosts
|
|
disabled = 1
|
|
display.general.type = statistics
|
|
display.visualizations.show=0
|
|
request.ui_dispatch_app = DA-ITSI-CP-vmware-dashboards
|
|
search = `vmwareinv-index` sourcetype="vmware_inframon:inv:vm" host=* | spath moid output=moid | spath changeSet.summary.runtime.powerState output=powerState | spath changeSet.name output=name | stats first(powerState) as PowerState, first(name) as name by moid, host |dedup host,moid | search PowerState="poweredOff" | rename name as VirtualMachine | fields - PowerState
|
|
|
|
[Top Hosts with Ballooning]
|
|
action.email.reportServerEnabled = 0
|
|
action.keyindicator.invert = 0
|
|
alert.track = 0
|
|
description = This search shows Top Hosts with Memory Ballooning for all the hosts
|
|
disabled = 1
|
|
dispatch.earliest_time = 0
|
|
display.general.type = statistics
|
|
display.visualizations.show=0
|
|
request.ui_dispatch_app = DA-ITSI-CP-vmware-dashboards
|
|
search = | mstats span=1m avg(_value) as avgVMmemctl where metric_name=vsphere.esxihost.mem.vmmemctl AND `vmwareperf-metrics-index` \
|
|
source="VMPerf:HostSystem" AND vmware_metric_aggregation="average" AND unit="kiloBytes" \
|
|
by host moid \
|
|
| stats avg(avgVMmemctl) as avg_vmmemctl_kb by host, moid \
|
|
| sort avg_vmmemctl_kb desc \
|
|
| eval BalloonedMemory=`format_bytes(avg_vmmemctl_kb*1024)` \
|
|
| lookup Entity moid AS moid, host AS host OUTPUT name AS HostSystem \
|
|
| table HostSystem, BalloonedMemory, host \
|
|
| fields - count, - percent
|
|
|
|
[CPU Usage by Cluster]
|
|
action.email.inline = 1
|
|
action.email.reportServerEnabled = 0
|
|
action.keyindicator.invert = 0
|
|
alert.digest_mode = True
|
|
alert.suppress = 0
|
|
alert.track = 0
|
|
auto_summarize.dispatch.earliest_time = -1d@h
|
|
description = This search shows CPU usage by cluster for all the VCs
|
|
disabled = 1
|
|
display.general.type = statistics
|
|
display.visualizations.charting.chart = line
|
|
request.ui_dispatch_app = DA-ITSI-CP-vmware-dashboards
|
|
search = | mstats span=1m avg(_value) as avgcpuUsage where metric_name=vsphere.vm.cpu.usage AND `vmwareperf-metrics-index` \
|
|
source="VMPerf:VirtualMachine" AND instance="aggregated" AND vmware_metric_aggregation="average" AND unit="percent" \
|
|
by host cluster moid \
|
|
| stats avg(avgcpuUsage) AS p_average_cpu_usage_percent by host, cluster, moid, _time \
|
|
| eval p_average_cpu_usage_percent = if((p_average_cpu_usage_percent <= 0), 0, p_average_cpu_usage_percent) \
|
|
| lookup Entity moid AS cluster OUTPUT name AS clusterName \
|
|
| timechart span=1m avg(p_average_cpu_usage_percent) AS average_cpu_usage_percent by clusterName
|
|
|
|
[CPU Usage by VC]
|
|
action.email.reportServerEnabled = 0
|
|
action.keyindicator.invert = 0
|
|
alert.track = 0
|
|
description = shows CPU usage by VC for selected time
|
|
disabled = 1
|
|
dispatch.earliest_time = -4h
|
|
dispatch.latest_time = now
|
|
display.general.type = visualizations
|
|
display.visualizations.charting.chart = line
|
|
request.ui_dispatch_app = DA-ITSI-CP-vmware-dashboards
|
|
search = | mstats span=1m avg(_value) as avgcpuUsage max(_value) as maxcpuUsage perc95(_value) as perc95cpuUsage where metric_name=vsphere.vm.cpu.usage AND `vmwareperf-metrics-index` \
|
|
source="VMPerf:VirtualMachine" AND instance="aggregated" AND vmware_metric_aggregation="average" AND unit="percent" \
|
|
by host moid \
|
|
| timechart span=1m avg(avgcpuUsage) as avg_cpu_usage_% \
|
|
max(maxcpuUsage) as max_cpu_usage_% \
|
|
perc95(perc95cpuUsage) as perc95_cpu_usage_% \
|
|
by host \
|
|
where (avg_*>=0 AND max_* >=0 AND perc_*>=0)
|
|
|
|
[CPU Ready by VC]
|
|
action.email.reportServerEnabled = 0
|
|
action.keyindicator.invert = 0
|
|
alert.track = 0
|
|
description = This search shows timechart for CPU Ready for all the hosts
|
|
disabled = 1
|
|
display.general.type = visualizations
|
|
display.visualizations.charting.chart = line
|
|
request.ui_dispatch_app = DA-ITSI-CP-vmware-dashboards
|
|
search = | mstats span=1m avg(_value) as avgcpuReady max(_value) as maxcpuReady perc95(_value) as perc95cpuReady where metric_name=vsphere.vm.cpu.ready AND `vmwareperf-metrics-index` \
|
|
source="VMPerf:VirtualMachine" AND instance="aggregated" AND vmware_metric_aggregation="summation" AND unit="millisecond" \
|
|
by host moid \
|
|
| timechart span=1m \
|
|
avg(avgcpuReady) as avg_cpu_rdy_ms_per_20s \
|
|
max(maxcpuReady) as max_cpu_rdy_ms_per_20s \
|
|
perc95(perc95cpuReady) as perc95_cpu_rdy_ms_per_20s \
|
|
by host \
|
|
where (avg_*>=0 AND max_* >=0 AND perc_*>=0)
|
|
|
|
[Memory Usage by VC]
|
|
action.email.reportServerEnabled = 0
|
|
action.keyindicator.invert = 0
|
|
alert.track = 0
|
|
disabled = 1
|
|
dispatch.earliest_time = 0
|
|
display.general.type = visualizations
|
|
display.visualizations.charting.chart = line
|
|
request.ui_dispatch_app = DA-ITSI-CP-vmware-dashboards
|
|
search = | mstats span=1m avg(_value) as avgmemUsage max(_value) as maxmemUsage perc95(_value) as perc95memUsage where metric_name=vsphere.vm.mem.usage AND `vmwareperf-metrics-index` \
|
|
source="VMPerf:VirtualMachine" AND vmware_metric_aggregation="average" AND unit="percent" \
|
|
by host moid \
|
|
| timechart span=1m avg(avgmemUsage) AS avg_mem_usage_pct \
|
|
max(maxmemUsage) AS max_mem_usage_pct \
|
|
perc95(perc95memUsage) AS perc95_mem_usage_pct \
|
|
by host \
|
|
where (avg_*>=0 AND max_* >=0 AND perc_*>=0)
|
|
|
|
[Memory Ballooning by VC]
|
|
action.email.reportServerEnabled = 0
|
|
action.keyindicator.invert = 0
|
|
alert.track = 0
|
|
disabled = 1
|
|
description = Search shows timechart for memory ballooning for all the hosts
|
|
dispatch.earliest_time = -4h
|
|
dispatch.latest_time = now
|
|
display.general.type = visualizations
|
|
display.visualizations.charting.chart = line
|
|
request.ui_dispatch_app = DA-ITSI-CP-vmware-dashboards
|
|
search = | mstats span=1m avg(_value) as avgVMmemctl \
|
|
max(_value) as maxVMmemctl \
|
|
perc95(_value) as perc95VMmemctl \
|
|
where metric_name=vsphere.vm.mem.vmmemctl AND `vmwareperf-metrics-index` source="VMPerf:VirtualMachine" AND vmware_metric_aggregation="average" AND unit="kiloBytes" \
|
|
by host moid \
|
|
| timechart span=1m avg(avgVMmemctl) AS avg_mem_vmmemctl_kb \
|
|
max(maxVMmemctl) AS max_mem_vmmemctl_kb \
|
|
perc95(perc95VMmemctl) AS perc95_mem_vmmemctl_kb \
|
|
by host \
|
|
where (avg_*>=0 AND max_* >=0 AND perc_*>=0)
|
|
|
|
[Memory Swapped by VC]
|
|
action.email.inline = 1
|
|
action.email.reportServerEnabled = 0
|
|
action.keyindicator.invert = 0
|
|
alert.digest_mode = True
|
|
alert.suppress = 0
|
|
alert.track = 0
|
|
auto_summarize.dispatch.earliest_time = -1d@h
|
|
description = Search shows memory swapped by host for selected time
|
|
disabled = 1
|
|
display.general.type = visualizations
|
|
display.visualizations.charting.chart = line
|
|
request.ui_dispatch_app = DA-ITSI-CP-vmware-dashboards
|
|
search = | mstats span=1m avg(_value) as avgmemSwapped max(_value) as maxmemSwapped perc95(_value) as perc95memSwapped where metric_name=vsphere.vm.mem.swapped AND `vmwareperf-metrics-index` \
|
|
source="VMPerf:VirtualMachine" AND vmware_metric_aggregation="average" AND unit="kiloBytes" \
|
|
by host moid \
|
|
| timechart span=1m avg(avgmemSwapped) AS avg_mem_swp_kb \
|
|
max(maxmemSwapped) AS max_mem_swp_kb \
|
|
perc95(perc95memSwapped) AS perc95_mem_swp_kb \
|
|
by host where (avg_*>=0 AND max_* >=0 AND perc_*>=0)
|
|
|
|
[Top OSs]
|
|
action.email.reportServerEnabled = 0
|
|
action.keyindicator.invert = 0
|
|
alert.track = 0
|
|
description = Shows Top OSs installed on VMs on all the VCs
|
|
disabled = 1
|
|
display.general.type = statistics
|
|
display.visualizations.charting.chart = column
|
|
display.visualizations.show = 1
|
|
request.ui_dispatch_app = DA-ITSI-CP-vmware-dashboards
|
|
search = `vmwareinv-index` sourcetype="vmware_inframon:inv:vm" host=* |spath moid output=moid | spath changeSet.config.guestFullName output=OS | dedup host,moid,OS | top OS
|
|
|
|
|
|
[Host System - Count by Available Memory]
|
|
action.email.reportServerEnabled = 0
|
|
action.keyindicator.invert = 0
|
|
disabled = 1
|
|
dispatch.earliest_time = -8h
|
|
alert.track = 0
|
|
dispatch.latest_time = 0
|
|
display.general.type = visualizations
|
|
request.ui_dispatch_app = DA-ITSI-CP-vmware-dashboards
|
|
search = `vmwareinv-index` sourcetype="vmware_inframon:inv:hostsystem" | spath changeSet.summary.hardware.numCpuCores output=CPUCores| spath changeSet.summary.hardware.memorySize output=memorySize | spath changeSet.summary.quickStats.overallMemoryUsage output=overallMemoryUsage | stats first(memorySize) AS Mem, first(overallMemoryUsage) AS MemUsg by host,moid | eval MaxMemMB=((Mem/1024)/1024) | eval FreeMem=MaxMemMB-MemUsg | bucket FreeMem bins=5 |chart count by FreeMem
|
|
|
|
[Host System - Count by CPU Cores]
|
|
action.email.reportServerEnabled = 0
|
|
action.keyindicator.invert = 0
|
|
disabled = 1
|
|
dispatch.earliest_time = -8h
|
|
alert.track = 0
|
|
dispatch.latest_time = 0
|
|
display.general.type = visualizations
|
|
request.ui_dispatch_app = DA-ITSI-CP-vmware-dashboards
|
|
search = `vmwareinv-index` sourcetype="vmware_inframon:inv:hostsystem" | spath changeSet.summary.hardware.numCpuCores output=CPUCores| stats first(CPUCores) As CPUCores by host,moid | chart count by CPUCores
|
|
|
|
[Host System - Count by Cores per Socket]
|
|
action.email.reportServerEnabled = 0
|
|
action.keyindicator.invert = 0
|
|
alert.track = 0
|
|
disabled = 1
|
|
dispatch.earliest_time = -8h
|
|
dispatch.latest_time = 0
|
|
display.general.type = visualizations
|
|
request.ui_dispatch_app = DA-ITSI-CP-vmware-dashboards
|
|
search = `vmwareinv-index` sourcetype="vmware_inframon:inv:hostsystem"| spath changeSet.summary.hardware.numCpuCores output=CPUCores | spath changeSet.summary.hardware.numCpuPkgs output=numCpuPkgs | stats first(numCpuPkgs) As ProcessorSockets first(CPUCores) AS CPUCores by host,moid | eval CoresPerSocket=CPUCores/ProcessorSockets | chart count by CoresPerSocket
|
|
|
|
[Host System - Count by Free CPU]
|
|
action.email.reportServerEnabled = 0
|
|
action.keyindicator.invert = 0
|
|
dispatch.earliest_time = -8h
|
|
disabled = 1
|
|
alert.track = 0
|
|
display.general.type = statistics
|
|
request.ui_dispatch_app = DA-ITSI-CP-vmware-dashboards
|
|
search = `vmwareinv-index` sourcetype="vmware_inframon:inv:hostsystem" | spath changeSet.summary.hardware.numCpuCores output=CPUCores| spath changeSet.summary.hardware.cpuMhz output=cpuMhz | spath changeSet.summary.quickStats.overallCpuUsage output=overallCpuUsage | stats first(cpuMhz) AS MhzPerCore, first(CPUCores) AS CPUCores, first(overallCpuUsage) AS CpuUsg by host,moid | eval MaxCpuMhz=MhzPerCore*CPUCores | eval FreeCpu=MaxCpuMhz-CpuUsg | bucket FreeCpu bins=5 |chart count by FreeCpu
|
|
|
|
[Host System - Count by Logical Processors]
|
|
action.email.reportServerEnabled = 0
|
|
action.keyindicator.invert = 0
|
|
alert.track = 0
|
|
disabled = 1
|
|
dispatch.earliest_time = -8h
|
|
display.general.type = visualizations
|
|
request.ui_dispatch_app = DA-ITSI-CP-vmware-dashboards
|
|
search = `vmwareinv-index` sourcetype="vmware_inframon:inv:hostsystem"| spath changeSet.summary.hardware.numCpuThreads output=logicalProcessor| stats first(numCpuPkgs) As ProcessorSockets first(logicalProcessor) AS LogicalProcessor by host,moid | chart count by LogicalProcessor
|
|
|
|
[Host System - Count by Manufacturer]
|
|
action.email.reportServerEnabled = 0
|
|
action.keyindicator.invert = 0
|
|
alert.track = 0
|
|
disabled = 1
|
|
dispatch.earliest_time = -8h
|
|
display.general.type = visualizations
|
|
request.ui_dispatch_app = DA-ITSI-CP-vmware-dashboards
|
|
search = `vmwareinv-index` sourcetype="vmware_inframon:inv:hostsystem" | spath changeSet.summary.hardware.vendor output=manufacturer | stats first(manufacturer) AS Manufacturer by host,moid |chart count by Manufacturer
|
|
|
|
[Host System - Count by Model]
|
|
action.email.reportServerEnabled = 0
|
|
action.keyindicator.invert = 0
|
|
dispatch.earliest_time = -8h
|
|
disabled = 1
|
|
alert.track = 0
|
|
display.general.type = visualizations
|
|
request.ui_dispatch_app = DA-ITSI-CP-vmware-dashboards
|
|
search = `vmwareinv-index` sourcetype="vmware_inframon:inv:hostsystem" | spath changeSet.summary.hardware.model output=model | stats first(model) As Model by host,moid |chart count by Model
|
|
|
|
[Host System - Count by Number of NICs]
|
|
action.email.reportServerEnabled = 0
|
|
action.keyindicator.invert = 0
|
|
dispatch.earliest_time = -8h
|
|
disabled = 1
|
|
alert.track = 0
|
|
display.general.type = visualizations
|
|
request.ui_dispatch_app = DA-ITSI-CP-vmware-dashboards
|
|
search = `vmwareinv-index` sourcetype="vmware_inframon:inv:hostsystem" | spath changeSet.summary.hardware.numNics output=numNics | stats first(numNics) As NumberofNICs by host,moid |chart count by NumberofNICs
|
|
|
|
[Host System - Count by Processor Type]
|
|
action.email.reportServerEnabled = 0
|
|
action.keyindicator.invert = 0
|
|
alert.track = 0
|
|
disabled = 1
|
|
dispatch.earliest_time = -8h
|
|
display.general.type = visualizations
|
|
request.ui_dispatch_app = DA-ITSI-CP-vmware-dashboards
|
|
search = `vmwareinv-index` sourcetype="vmware_inframon:inv:hostsystem" | spath changeSet.summary.hardware.cpuModel output=processorType | stats first(processorType) As processorType by host,moid | chart count by processorType
|
|
|
|
[Host System- Count by ProcessorSockets]
|
|
action.email.reportServerEnabled = 0
|
|
action.keyindicator.invert = 0
|
|
alert.track = 0
|
|
disabled = 1
|
|
dispatch.earliest_time = -8h
|
|
display.general.type = visualizations
|
|
request.ui_dispatch_app = DA-ITSI-CP-vmware-dashboards
|
|
search = `vmwareinv-index` sourcetype="vmware_inframon:inv:hostsystem" | spath changeSet.summary.hardware.numCpuPkgs output=numCpuPkgs | stats first(numCpuPkgs) As ProcessorSockets by host,moid | chart count by ProcessorSockets
|
|
|
|
[Host System - Count by Hyperthreading]
|
|
action.email.reportServerEnabled = 0
|
|
action.keyindicator.invert = 0
|
|
alert.track = 0
|
|
disabled = 1
|
|
dispatch.earliest_time = -8h
|
|
display.general.type = visualizations
|
|
request.ui_dispatch_app = DA-ITSI-CP-vmware-dashboards
|
|
search = `vmwareinv-index` sourcetype="vmware_inframon:inv:hostsystem" | spath changeSet.config.hyperThread.active output=active | stats first(active) As active by host,moid | eval Hyperthreading=if(active="True", "Active", "Inactive") | chart count by Hyperthreading
|
|
|
|
|
|
[Host System - Count by Total Memory]
|
|
action.email.reportServerEnabled = 0
|
|
action.keyindicator.invert = 0
|
|
alert.track = 0
|
|
disabled = 1
|
|
dispatch.earliest_time = -8h
|
|
display.general.type = visualizations
|
|
request.ui_dispatch_app = DA-ITSI-CP-vmware-dashboards
|
|
search = `vmwareinv-index` sourcetype="vmware_inframon:inv:hostsystem" | spath changeSet.summary.hardware.memorySize output=memorySize | stats first(memorySize) AS Mem by host,moid | eval MaxMemMB=((Mem/1024)/1024) | bucket MaxMemMB bins=5 |chart count by MaxMemMB
|
|
|
|
[Host System - Count by Total Processing]
|
|
action.email.reportServerEnabled = 0
|
|
action.keyindicator.invert = 0
|
|
alert.track = 0
|
|
disabled = 1
|
|
dispatch.earliest_time = -8h
|
|
display.general.type = visualizations
|
|
request.ui_dispatch_app = DA-ITSI-CP-vmware-dashboards
|
|
search = `vmwareinv-index` sourcetype="vmware_inframon:inv:hostsystem" | spath changeSet.summary.hardware.numCpuCores output=CPUCores| spath changeSet.summary.hardware.cpuMhz output=cpuMhz | stats first(cpuMhz) AS MhzPerCore, first(CPUCores) AS CPUCores by host,moid | eval MaxCpuMhz=MhzPerCore*CPUCores | bucket MaxCpuMhz bins=5 |chart count by MaxCpuMhz
|
|
|
|
[OSs Installed On VMs]
|
|
action.email.reportServerEnabled = 0
|
|
action.keyindicator.invert = 0
|
|
alert.track = 0
|
|
disabled = 1
|
|
description = Shows OSs installed with counts of VM on all the VCs
|
|
dispatch.earliest_time = -8h
|
|
display.general.type = statistics
|
|
display.visualizations.show = 0
|
|
request.ui_dispatch_app = DA-ITSI-CP-vmware-dashboards
|
|
search = `vmwareinv-index` sourcetype="vmware_inframon:inv:vm" host=* | spath moid OUTPUT=moid | spath changeSet.config.guestFullName output=OS |dedup host,moid,OS | stats count as "VMs count" by OS
|
|
|
|
[Virtual Machine - Count by Number of Cores]
|
|
action.email.reportServerEnabled = 0
|
|
action.keyindicator.invert = 0
|
|
alert.track = 0
|
|
disabled = 1
|
|
description = Virtual Machine- Count by Number of Cores
|
|
dispatch.earliest_time = -8h
|
|
display.general.type = visualizations
|
|
request.ui_dispatch_app = DA-ITSI-CP-vmware-dashboards
|
|
search = `vmwareinv-index` sourcetype="vmware_inframon:inv:vm" host=*| spath changeSet.config.hardware.numCoresPerSocket output=numCoresPerSocket | stats first(numCoresPerSocket) AS numCores by host, moid | chart count by numCores
|
|
|
|
[Virtual Machine - Count by Tools Status]
|
|
action.email.reportServerEnabled = 0
|
|
action.keyindicator.invert = 0
|
|
alert.track = 0
|
|
disabled = 1
|
|
description = Virtual Machine- Count by Tools Status
|
|
dispatch.earliest_time = -8h
|
|
display.general.type = visualizations
|
|
request.ui_dispatch_app = DA-ITSI-CP-vmware-dashboards
|
|
search = `vmwareinv-index` sourcetype="vmware_inframon:inv:vm" host=*| spath moid output=moid | spath collectionVersion output=collectionVersion | spath changeSet.name output=name | spath changeSet.guest.toolsStatus output=toolsStatus | stats first(name) AS name, first(toolsStatus) As toolsStatus by host, moid | eval toolsStatus=if(isnull(toolsStatus), "Not Available", toolsStatus) | rename name As VirtualMachine | chart count by toolsStatus
|
|
|
|
[Host System - Count by Status]
|
|
action.email.reportServerEnabled = 0
|
|
action.keyindicator.invert = 0
|
|
alert.track = 0
|
|
disabled = 1
|
|
description = Host System- Count by Status
|
|
dispatch.earliest_time = -8h
|
|
display.general.type = visualizations
|
|
request.ui_dispatch_app = DA-ITSI-CP-vmware-dashboards
|
|
search = `vmwareinv-index` sourcetype="vmware_inframon:inv:hostsystem" |spath changeSet.summary.overallStatus output=overallStatus | stats first(overallStatus) As status by host,moid | chart count by status |