Tag Archives: End Point Operations

Monitoring IIS with vRealize Operations

This blog is contributed by my friend Luciano Gomes, a VMwareTAM in Rio de Janeiro Area, Brazil. Thank you, Lucky!

In this post, I would like to show how you can monitor Microsoft IIS. By the end of it, you will get a dashboard like this.

First, let’s get the prerequisites out of the way:

  1. vRealize Operations (Enterprise edition, not Advance. IIS is considered as application, not infrastructure)
  2. Endpoint Operations Agent running on each IIS machine you are monitoring.
  3. IIS Solution for vR Ops (here). Download and install it.

With the above done, download the dashboard I created. Import it into vR Ops.

Once done, follow the steps below to configure the Metric Config XML files. The files are required to drive the widgets, so they show the metrics you want. You can certainly configure the files if you want to show a different metrics.

The above will take you to the Manage Metric Config screen.

  1. Click ReskndMetric folder to expand
  2. Click Green Plus Sign to create a new file.

Use the name exactly like listed below. The filename no extension.

IIS ALL METRICS

<?xml version="1.0" encoding="UTF-8"?>
<AdapterKinds>
 <AdapterKind adapterKindKey="EP Ops Adapter">
 <ResourceKind resourceKindKey="IIS AppHostSvc">
 <Metric attrkey="AVAILABILITY|ResourceAvailability" label="" unit="" yellow="" orange="" red=""/>
 <Metric attrkey="UTILIZATION|ProcessCpuUsage" label="" unit="" yellow="" orange="" red=""/>
 <Metric attrkey="UTILIZATION|ProcessResidentMemorySize" label="" unit="" yellow="" orange="" red=""/>
 <Metric attrkey="UTILIZATION|ProcessPageFaultsperMinute" label="" unit="" yellow="" orange="" red=""/>
 <Metric attrkey="UTILIZATION|ProcessOpenFileDescriptors" label="" unit="" yellow="" orange="" red=""/>
 <Metric attrkey="UTILIZATION|ProcessThreads" label="" unit="" yellow="" orange="" red=""/>
 <Metric attrkey="UTILIZATION|ProcessVirtualMemorySize" label="" unit="" yellow="" orange="" red=""/>
 </ResourceKind>
 <ResourceKind resourceKindKey="IIS WAS Service">
 <Metric attrkey="UTILIZATION|ProcessThreads" label="" unit="" yellow="" orange="" red=""/>
 <Metric attrkey="UTILIZATION|ProcessResidentMemorySize" label="" unit="" yellow="" orange="" red=""/>
 <Metric attrkey="UTILIZATION|ProcessPageFaultsperMinute" label="" unit="" yellow="" orange="" red=""/>
 <Metric attrkey="UTILIZATION|ProcessOpenFileDescriptors" label="" unit="" yellow="" orange="" red=""/>
 <Metric attrkey="UTILIZATION|ProcessCpuUsage" label="" unit="" yellow="" orange="" red=""/>
 <Metric attrkey="UTILIZATION|ProcessCpuTotalTimeperMinute" label="" unit="" yellow="" orange="" red=""/>
 <Metric attrkey="UTILIZATION|ChildProcesses" label="" unit="" yellow="" orange="" red=""/>
 <Metric attrkey="AVAILABILITY|ResourceAvailability" label="" unit="" yellow="" orange="" red=""/>
 </ResourceKind>
 <ResourceKind resourceKindKey="IIS WAS Service Application Pool">
 <Metric attrkey="UTILIZATION|CurrentApplicationPoolUptime" label="" unit="" yellow="" orange="" red=""/>
 <Metric attrkey="UTILIZATION|TotalWorkerProcessesCreatedperMinute" label="" unit="" yellow="" orange="" red=""/>
 <Metric attrkey="UTILIZATION|TotalWorkerProcessStartupFailuresperMinute" label="" unit="" yellow="" orange="" red=""/>
 <Metric attrkey="UTILIZATION|TotalApplicationPoolUptime" label="" unit="" yellow="" orange="" red=""/>
 <Metric attrkey="UTILIZATION|TotalApplicationPoolRecyclesperMinute" label="" unit="" yellow="" orange="" red=""/>
 <Metric attrkey="UTILIZATION|RecentWorkerProcessFailures" label="" unit="" yellow="" orange="" red=""/>
 <Metric attrkey="UTILIZATION|CurrentWorkerProcesses" label="" unit="" yellow="" orange="" red=""/>
 <Metric attrkey="UTILIZATION|MaximumWorkerProcessesperMinute" label="" unit="" yellow="" orange="" red=""/>
 </ResourceKind>
 <ResourceKind resourceKindKey="IIS WWW Service">
 <Metric attrkey="THROUGHPUT|BytesReceived/sec" label="" unit="" yellow="" orange="" red=""/>
 <Metric attrkey="THROUGHPUT|BytesSent/sec" label="" unit="" yellow="" orange="" red=""/>
 <Metric attrkey="THROUGHPUT|ConnectionAttempts/Sec" label="" unit="" yellow="" orange="" red=""/>
 <Metric attrkey="UTILIZATION|CurrentConnections" label="" unit="" yellow="" orange="" red=""/>
 <Metric attrkey="UTILIZATION|MeasuredAsyncI/OBandwidthUsage" label="" unit="" yellow="" orange="" red=""/>
 <Metric attrkey="UTILIZATION|ProcessCpuUsage" label="" unit="" yellow="" orange="" red=""/>
 <Metric attrkey="UTILIZATION|TotalGetRequestsperMinute" label="" unit="" yellow="" orange="" red=""/>
 <Metric attrkey="UTILIZATION|TotalNotFoundErrorsperMinute" label="" unit="" yellow="" orange="" red=""/>
 </ResourceKind>
 </AdapterKind>
</AdapterKinds>

That’s it!

Hope you find it useful. Do reach out via Linkedin and Twitter. Thanks for reading!