I am trying to create a custom device template for a Liebert air conditioner, but am having problems. Any help is appreciated.
When I start Prizm, I receive the following 2 errors in the Prizm log:
09/06/07 14:50:10 SEVERE SYSTEM Access lgpEnvTemperatureMeasurementDegF failed, SNMPIOException:192.168.3.65=>1.3.6.1.4.1.476.1.42.3.4.1.2.3.1.3, error code: 2, varbind index: -1
request varbinds: null
response varbinds: null
other message:NoSuchInstance
09/06/07 14:50:10 SEVERE SYSTEM Failed to save performance data for East Data Center AC, java.lang.ArrayIndexOutOfBoundsException: org.jrobin.core.RrdException: Datasource lgpEnvTemperatureMeasurementDegF not found
This is the XML in Liebert_AC.xml:
<?xml version=“1.0” encoding=“UTF-8”?>
<PrizmElementDefinition>
<element elementTypeID=“Liebert.AC” elementTypeName=“Liebert AC Unit” icon=“icons/default.png” >
<protocols>
<snmp version=“1”/>
</protocols>
<discovery>
<snmp oid=“1.3.6.1.4.1.476.1.42.2.1.2.0” pattern=“OpenComms Web Card”/>
<usetemplate name=“discover.general”>
</usetemplate>
</discovery>
<dataSet>
<usetemplate name=“ds.snmpBox”/>
<performanceDataset>
<!-- Temperature Data -->
<snmp name=“Temp F” oid=“1.3.6.1.4.1.476.1.42.3.4.1.2.3.1.3”
datasource=“lgpEnvTemperatureMeasurementDegF” dstype=“GAUGE”/>
</performanceDataset>
<configurationDataset>
<usetemplate name=“config.set.all.general” />
</configurationDataset>
</dataSet>
<reports>
<report title=“Liebert AC” category=“Information”>
<chart title=“Temperature”>
<variable name=“Temp Measurement Fahrenheit” datasource=“lgpEnvTemperatureMeasurementDegF”/>
</chart>
<html title=“Liebert AC Information”>
<table width=“100%” BORDER=“1” valign=“top”>
<tr>
<td colspan=“2”>
<div align=“center”>
<b>Liebert AC Information</b>
</div>
</td>
</tr>
<tr >
<td width=“30%”>
<b> Device type </b>
</td>
<td width=“70%”>
<b></b>Liebert AC
</td>
</tr>
<tr>
<td colspan=“2”>
<div align=“center”>
<b>Site Information</b>
</div>
</td>
</tr>
<tr>
<td>
<b>Site Name</b>
</td>
<td>
<attribute name=“Site Name”/>
</td>
</tr>
<tr>
<td>
<b>Site Contact</b>
</td>
<td>
<attribute name=“Site Contact”/>
</td>
</tr>
<tr>
<td>
<b>Site Location</b>
</td>
<td>
<attribute name=“Site Location”/>
</td>
</tr>
<tr>
<td>
<b>Description</b>
</td>
<td>
<attribute name=“Description”/>
</td>
</tr>
<tr>
<td colspan=“2”>
<div align=“center”>
<b>Temperature Information Deg F</b>
</div>
</td>
</tr>
<tr>
<td>
<b>Temperature Measurement</b>
</td>
<td>
<performance name=“Temp Measurement Fahrenheit”/>
</td>
</tr>
</table>
</html>
</report>
<usetemplate name=“report.html.generallite”>
<param devicetype=“Liebert AC Unit” />
</usetemplate>
</reports>
</element>
</PrizmElementDefinition>