I have tried to use unsupported CISCO CSS plugin.
Problem is it can not auto-detect server, it returns (0), so it never goes to detecting services and interfaces. At the same time generic network device plugin works fine. It just does not have services I really need.
What could be the problem? snmpwalk does find all information. Maybe I am missing something simple. There is simplified version of CSS plugin:
<?xml version="1.0"?>
<plugin>
<classpath>
<include name="pdk/plugins/netdevice-plugin.jar" />
</classpath>
<property name="MIBDIR"
value="C:/HQ/CSS" />
<property name="MIBS"
value="${MIBDIR}/cisco-apent.mib,${MIBDIR}/svcext.mib,${MIBDIR}/RFC1213-MIB.my,${MIBDIR}/CISCO-SMI.my,${MIBDIR}/SNMP-FRAMEWORK-MIB.my,${MIBDIR}/SNMPv2-SMI.my,${MIBDIR}/SNMPv2-TC-V1SMI.my,${MIBDIR}/DISMAN-EVENT-MIB.txt" />
<platform name="Cisco CSS">
<config include="snmp"/>
<plugin type="measurement"
class="org.hyperic.hq.product.SNMPMeasurementPlugin" />
<plugin type="log_track"
class="org.hyperic.hq.plugin.netdevice.SNMPTrapReceiverPlugin"/>
<property name="template" value="${snmp.template}:${alias}" />
<metric name="Availability"
template="${snmp.template},Avail=true:sysUpTime"
indicator="true"/>
<metric name="Uptime" alias="sysUpTime"
category="AVAILABILITY" units="jiffys" defaultOn="true"
collectionType="static" />
<filter name="index"
value="snmpIndexName=${snmpIndexName},snmpIndexValue=%snmpIndexValue%" />
<filter name="template"
value="${snmp.template}:${alias}:${index}" />
<server>
<plugin type="autoinventory"
class="org.hyperic.hq.plugin.netdevice.NetworkDeviceDetector" />
<service name="Service">
<config>
<option name="snmpIndexValue"
description="SNMP Index Value" />
</config>
<property name="snmpIndexName" value="apSvcName" />
<plugin type="autoinventory" />
<metric name="Availability"
template="${snmp.template},Avail=true:apSvcState:${Index}"
indicator="true" />
<metric name="Average Response Time"
alias="apSvcAvgResponseTime" category="PERFORMANCE" units="ms"
indicator="true" />
</service>
</server>
</platform>
</plugin>
I always getting:
2008-11-28 16:38:47,726 INFO [Thread-79] [org.hyperic.hq.autoinventory.server.session.AutoinventoryManagerEJBImpl@697] Received auto-inventory report from name.domain.com; IPs -> 100.00.0.100; CertDN -> CAM-AGENT-1226781436840-5000003eee505756511-3845625515667899526; (0 servers)
and no services autodescovered.
Message was edited by: Leanid