Custom WMI Monitors in 7.0

Custom WMI Monitors in 7.0

I have build 7010 installed and have tried to add a custom monitor. The process I have followed to reuse the disk.vbs that ships with 7.0 and add the following to /conf/application/HostResource.xml:

<DATA-COLLECTION VERSION="1.1.1">
...
<POLL ID="Windows 2003" protocolClass="com.adventnet.me.opmanager.server.hostresource.WindowsPerformDataCollectionIfcImpl">
<CATEGORY ID="Detailed Disk Utilization" command="disk.vbs" parseAll="true" description="Monitoring the disk utilization in each partition on the disk">
<ENTITY ID="DiskUtilization" applyThresholdOver="curValue" storeHistory="true" units="%" storeValue="curValue" comparePreValue="false">
<PARSE token="1" name="partitionName" isEntityName="true" />
<PARSE token="5" name="curValue" />
</ENTITY>
</CATEGORY>
...
</POLL>
...
</DATA-COLLECTION>














Then add the following to /conf/OpManager_GraphInfo.xml:

<GRAPH-INFO>
...
<DEFAULTGRAPH Name="WMI-DetailedDiskUtilization">
<YAXISTEXT>Percentage</YAXISTEXT>
<DISPLAYNAME>Detailed Disk Utilization</DISPLAYNAME>
<name>DetailedDiskUtilization</name>
<Vendor>WMI</Vendor>
<Monitor>Resource</Monitor>
<Description>Monitors the detailed Disk Utilization using WMI</Description>
<oid>Detailed Disk Utilization</oid>
<Provider>WMI</Provider>
<type>multiplenode</type>
<THRESHOLDENABLED>false</THRESHOLDENABLED>
<interval>3600</interval>
</DEFAULTGRAPH>
...
</GRAPH-INFO>


















And restart the service. The counter, however, is still not showing up when I try to add a new monitor to the server.

Thoughts?

Thanks,
Colin












                  New to ADSelfService Plus?