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.
175 lines
6.3 KiB
175 lines
6.3 KiB
<form version="1.1">
|
|
<label>Host Overview - Microsoft Exchange</label>
|
|
|
|
<fieldset autoRun="true">
|
|
<input token="Name" type="dropdown" searchWhenChanged="true">
|
|
<label>Host Name</label>
|
|
<prefix>Name="</prefix>
|
|
<suffix>"</suffix>
|
|
<choice value="*">All Hosts</choice>
|
|
<fieldForLabel>host</fieldForLabel>
|
|
<fieldForValue>host</fieldForValue>
|
|
<search>
|
|
<query>|inputlookup hostInformation| where now()-time < 86400|stats count by host</query>
|
|
<earliest>-1m</earliest>
|
|
<latest>now</latest>
|
|
</search>
|
|
<selectFirstChoice>true</selectFirstChoice>
|
|
</input>
|
|
<input token="ClusterStatus" type="dropdown" searchWhenChanged="true">
|
|
<label>Cluster Status</label>
|
|
<prefix>ClusterStatus="</prefix>
|
|
<suffix>"</suffix>
|
|
<choice value="*">All Statuses</choice>
|
|
<choice value="Active">Active</choice>
|
|
<choice value="Passive">Passive</choice>
|
|
<choice value="Disabled">Disabled</choice>
|
|
<selectFirstChoice>true</selectFirstChoice>
|
|
</input>
|
|
<input token="Clustered" type="dropdown" searchWhenChanged="true">
|
|
<label>Clustered</label>
|
|
<prefix>Clustered="</prefix>
|
|
<suffix>"</suffix>
|
|
<choice value="*">All Statuses</choice>
|
|
<choice value="Yes">Yes</choice>
|
|
<choice value="No">No</choice>
|
|
<selectFirstChoice>true</selectFirstChoice>
|
|
</input>
|
|
<input token="Site" type="dropdown" searchWhenChanged="true">
|
|
<label>Site Name</label>
|
|
<prefix>Site="</prefix>
|
|
<suffix>"</suffix>
|
|
<choice value="*">All Sites</choice>
|
|
<fieldForLabel>Site</fieldForLabel>
|
|
<fieldForValue>Site</fieldForValue>
|
|
<search>
|
|
<query>|inputlookup hostInformation|where now()-time < 86400|stats count by Site</query>
|
|
<earliest>-1m</earliest>
|
|
<latest>now</latest>
|
|
</search>
|
|
<selectFirstChoice>true</selectFirstChoice>
|
|
</input>
|
|
<input token="ServerRole" type="multiselect" searchWhenChanged="true">
|
|
<label>Role</label>
|
|
<prefix>(</prefix>
|
|
<delimiter> OR </delimiter>
|
|
<suffix>)</suffix>
|
|
<valuePrefix>ServerRole="</valuePrefix>
|
|
<valueSuffix>"</valueSuffix>
|
|
<choice value="*">All Roles</choice>
|
|
<choice value="ClientAccess">Client Access Server</choice>
|
|
<choice value="EdgeTransport">Edge Transport</choice>
|
|
<choice value="HubTransport">Hub Transport</choice>
|
|
<choice value="Mailbox">Mailbox Store</choice>
|
|
<choice value="UMServer">UM Gateway</choice>
|
|
<default>*</default>
|
|
</input>
|
|
<input token="ExchangeVersion" type="dropdown" searchWhenChanged="true">
|
|
<label>Exchange Version</label>
|
|
<prefix>ExchangeVersion="</prefix>
|
|
<suffix>"</suffix>
|
|
<fieldForLabel>ExchangeVersion</fieldForLabel>
|
|
<fieldForValue>ExchangeVersion</fieldForValue>
|
|
<choice value="*">All Versions</choice>
|
|
<search>
|
|
<query>|inputlookup hostInformation| where now()-time < 86400| stats count by ProductVersion | rex field=ProductVersion "(?<MajorVersion>^[^\.]+\.[^\.]+)\." | lookup ExchangeVersion MajorVersion OUTPUT ExchangeVersion | table ExchangeVersion | dedup ExchangeVersion
|
|
</query>
|
|
<earliest>-1m</earliest>
|
|
<latest>now</latest>
|
|
</search>
|
|
<selectFirstChoice>true</selectFirstChoice>
|
|
</input>
|
|
<input token="ProductVersion" type="dropdown" searchWhenChanged="true">
|
|
<label>Product Version</label>
|
|
<prefix>ProductVersion="</prefix>
|
|
<suffix>"</suffix>
|
|
<fieldForLabel>ProductVersion</fieldForLabel>
|
|
<fieldForValue>ProductVersion</fieldForValue>
|
|
<choice value="*">All Versions</choice>
|
|
<search>
|
|
<query>|inputlookup hostInformation| where now()-time < 86400 | stats count by ProductVersion</query>
|
|
<earliest>-1m</earliest>
|
|
<latest>now</latest>
|
|
</search>
|
|
<selectFirstChoice>true</selectFirstChoice>
|
|
</input>
|
|
<input token="WindowsVersion" type="dropdown" searchWhenChanged="true">
|
|
<label>Windows Version</label>
|
|
<prefix>WindowsVersion="</prefix>
|
|
<suffix>"</suffix>
|
|
<fieldForLabel>WindowsVersion</fieldForLabel>
|
|
<fieldForValue>WindowsVersion</fieldForValue>
|
|
<choice value="*">All Versions</choice>
|
|
<search>
|
|
<query>|inputlookup hostInformation| where now()-time < 86400 | stats count by WindowsVersion</query>
|
|
<earliest>-1m</earliest>
|
|
<latest>now</latest>
|
|
</search>
|
|
<selectFirstChoice>true</selectFirstChoice>
|
|
</input>
|
|
<input token="ProcsOK" type="dropdown" searchWhenChanged="true">
|
|
<label>Services</label>
|
|
<prefix>ProcsOK="</prefix>
|
|
<suffix>"</suffix>
|
|
<choice value="*">All Services</choice>
|
|
<choice value="True">Running</choice>
|
|
<choice value="False">With Problems</choice>
|
|
<selectFirstChoice>true</selectFirstChoice>
|
|
</input>
|
|
</fieldset>
|
|
|
|
<row>
|
|
<table>
|
|
<search>
|
|
<query>
|
|
eventtype=msexchange-topology $Name$ $ClusterStatus$ $Site$ $ProductVersion$ $WindowsVersion$
|
|
| eval Clustered = if(isnull(Clustered) OR Clustered=="", "No", Clustered)
|
|
| eval ServerRole = split(ServerRole, ", ")
|
|
| search $ServerRole$
|
|
| stats latest(Site) as Site,
|
|
latest(Cluster) as Cluster,
|
|
latest(ServerRole) as ServerRole,
|
|
latest(Edition) as Edition,
|
|
latest(MajorVersion) as MajorVersion,
|
|
latest(ProductVersion) as ProductVersion,
|
|
latest(WindowsVersion) as WindowsVersion,
|
|
latest(WindowsBuild) as WindowsBuild,
|
|
latest(ProcsOK) as ProcsOK,
|
|
latest(Clustered) as Clustered
|
|
by host
|
|
| search $ProcsOK$ AND $Clustered$
|
|
| lookup ExchangeVersion MajorVersion
|
|
| eval Services=if(ProcsOK=="True","OK","Bad")
|
|
| sort ServerRole,Cluster,Name
|
|
| table host,Cluster,Site,ExchangeVersion,ProductVersion,WindowsVersion,WindowsBuild,Services
|
|
</query>
|
|
<earliest>-60m</earliest>
|
|
<latest>now</latest>
|
|
</search>
|
|
<option name="count">20</option>
|
|
<option name="rowNumbers">true</option>
|
|
<option name="showPager">true</option>
|
|
<drilldown>
|
|
<link>analyze_a_host?host=$row.host$</link>
|
|
</drilldown>
|
|
</table>
|
|
</row>
|
|
|
|
<row>
|
|
<table>
|
|
<title>Service Availability</title>
|
|
<search ref="Static Health Overview - Service Availability"></search>
|
|
<option name="count">10</option>
|
|
<option name="rowNumbers">false</option>
|
|
<option name="showPager">true</option>
|
|
</table>
|
|
|
|
<table>
|
|
<title>Non-Reporting Servers</title>
|
|
<search ref="Static Health Overview - Non-Reporting Servers"></search>
|
|
<option name="count">10</option>
|
|
<option name="rowNumbers">false</option>
|
|
<option name="showPager">true</option>
|
|
</table>
|
|
</row>
|
|
</form> |