Hi,
So far I have figured out how to create an SNMP based XML plugin to grab some metrics from Novell netware 4/5 servers.
BUT what I can't do is figure out how to get the plugin to enumerate all of the volumes and present the metrics.
the MIB I am using is NetWare-Server-MIB.txt. Here is the way it breaks out:
nwFSVolTable: .1.3.6.1.4.1.23.2.28.2.14
->nwFSVolEntry: .1.3.6.1.4.1.23.2.28.2.14.1
-->nwVolID: .1.3.6.1.4.1.23.2.28.2.14.1.1
-->nwVolPhysicalName: .1.3.6.1.4.1.23.2.28.2.14.1.2
--> etc,etc
Problem is that in platform service wants me to enter an indexvalue for each drive, which obviously is not autodiscovery... I've includeed the code below, any help would be appreciated!
what I've written so far (this only includes the service section):
<!-- index to get tabular interface data -->
<filter name="disk.name" value="snmpIndexName=${snmpIndexName},snmpIndexValue=%snmpIndexValue"/>
<filter name="template" value="${snmp.template}:${alias}:${disk.name}"/>
<server>
<service name="Volumes">
<config>
<option name="snmpIndexValue"
description="Volume Name"/>
</config>
<plugin type="measurement" class="net.hyperic.hq.product.SNMPMeasurementPlugin"/>
<plugin type="autoinventory"/>
<property name="snmpIndexName" value="nwVolPhysicalName"/>
<metric name="Availability"
template="${snmp.template},Avail=true:nwVolMounted:${disk.name}"
indicator="true"/>
<metric name="Volume Size"
template="${snmp.template}:nwVolSize:${disk.name}"
category="UTILIZATION"
collectionType="dynamic"
units="KB"
rate="1h"
indicator="true"/>
<metric name="Volume Free Space"
template="${snmp.template}:nwVolFree:${disk.name}"
category="UTILIZATION"
collectionType="dynamic"
units="KB"
rate="1m"
indicator="true"/>
</service>