Hi community
I was trying to extend the metric family Virtual Server to get virtual server status on dashboards. Mainly the requirement is for Checkpoint virtual firewalls. CAPM to poll and update the particular metric with the value. I have extended the certification accordingly and the value on the particular OID is "OctateString" type. I tried to do "REST PUT" the following in the metric family.
<Attribute name="VirtualServerStatus" type="String">
<Documentation>Status of the virtual servers</Documentation>
<IsDbColumn>true</IsDbColumn>
<Baseline>false</Baseline>
<Minimum>false</Minimum>
<Maximum>false</Maximum>
<RollupStrategy>Sum</RollupStrategy>
<StandardDeviation>false</StandardDeviation>
<Variance>false</Variance>
<Percentile>0</Percentile>
<Percentile2>0</Percentile2>
<Percentile3>0</Percentile3>
<ProjectionPercentile>0</ProjectionPercentile>
<Polled>true</Polled>
</Attribute>
It is throwing the following error.
<statusCode>406</statusCode>
<statusMessage>Metric attribute type must be numeric: Int, Long, Double. Correct the attribute value and try again.</statusMessage>
<errorText>VirtualServerStatus</errorText>
<errorLine>70</errorLine>
<statusMessageTag>com.ca.im.item.ws.impl.TypeCatalogWebServiceEndPointImpl.mf.nonnumericattrtype</statusMessageTag>
<l10nprops>
<!-- Localization properties for building translated status page -->
<title>Type Catalog Web Service Status</title>
<code>Status code</code>
<message>Message</message>
</l10nprops>
I tried only the following as well, but "VirtualServerStatus" is not getting updated as a metric value in any dashboard or reports.
<Attribute name="VirtualServerStatus" type="String">
<Documentation />
Kindly help so that we can have the mentioned metric in dashboards.
Thanks in advance
Soumyadipta Ganguly