Hello,
I'm trying to monitor our new McAfee WebGateway using SNMP and this is my first own SNMP xml Plugin,
but it won't work..
I've downloaded the mcafee.mib to /usr/share/snmp/mibs (hyperic:root -rw-r--r--).
And my first target is, to monitor only 1 Parameter (CPU util. for example), as simple as possible.
At the end is the current state of the mcafee.xml plugin, with following Error message in Hyperic:
The problem is: Invalid configuration: Invalid request: Failed to lookup OID for name=stCPULoadRaw (last lookup failure=null)
Could anyone help me please, for my first plugin?
The Connection to SNMP seems to work.
Andi
(MIB File in Attachement)
<plugin>
<property name="PLUGIN_VERSION" value="1.8"/>
<property name="MIBDIR" value="/usr/share/snmp/mibs" />
<property name="MIBS" value = "${MIBDIR}/mcafee.mib" />
<platform name="McAfee Web Gateway">
<config include="snmp"/>
<plugin type="measurement"
class="org.hyperic.hq.product.SNMPMeasurementPlugin"/>
<property name="template" value="${snmp.template}:${alias}"/>
<metric name="CPU Load 1m"
alias="stCPULoadRaw"
indicator="true"/>
</platform>
</plugin>