I have some IBM appliances I am writing an SNMP based plugin for. All gone well, but would like to know how I can test a specific value for the availability check.
For example I currently have something like:
<metric name="Availability"
template="${snmp.template},Avail=true:dpStatusEnvironmentalFanSensorsFanID:${index}"
....
Which basically just checks I can get a value. But this device has different schemes for what is good and what is bad.
So for Fan Sensors: 4 = OK and anything higher or lower is a bad value.
For the RAID Disks: 1 = Good , 2 = bad
etc etc
So can I write something like
<metric name="Availability"
template="${snmp.template},Avail=true:dpStatusEnvironmentalFanSensorsFanID:${index}=4"
hi
you can use vcenter orchestrator and test as mentioned in the following doc:
Thanks, but we are running a standalone Hyperic Installation, and looking to do this purely within the plugin
I could be wrong, but I think SNMP stuff is handled by SIGAR right? In which case can I not use SIGAR query language in the definition?
e.g.
<metric name="Availability"
template="${snmp.template},Avail=true:dpStatusEnvironmentalFanSensorsFanID:${index}eq4"