The short answer to what variables are available is it depends on what
zCollectorPlugin is being used to collect that OID. Specifically, the
here.totalBlocks comes from the
$ZENHOME/Products/DataCollector/plugins/zenoss/snmp/HRFileSystemMap.py
file. Essentially, if you are not using a collector, but have just added
a datasource and datapoint, you won't likely have any variables to work
with.
I would be curious as to what the data in your rrd file looks like. Does
it match what is returned if you perform a direct snmpget? Are you using
an RPN statement to modify your data (No according to the earlier
thread, but has that changed)? Try something like:
rrdtool fetch /perf/Devices/devicename/datasource_datapoint.rrd/
AVERAGE -s e-1d -e now
as the zenoss user in the $ZENHOME directory to look at the last day's
worth of data. If snmpget returns 39.00, you should see something close
to 3.848302847829+01 (Note: it will be different than your snmpget
because if the data does not get returned at exactly the cycle interval
specified in the RRD file, it will estimate what the value was at that
interval. So if the time difference between the last value recorded and
your current value is 5 min 23 seconds and you have a 5 minute interval
specified, it will record the average value that could have been at the
5 minute mark. Standardized data works in your favor, normally. The
values should be close however.) As best as I can figure, there are no
transforms allowed in your threshold, so you need to set your threshold
against what is returned directly from the RRD file. If you're getting
odd values recorded, then we need determine why.
Yeah, I'm stumped by what syntax is allowed in a lot of these fields. Something like here.totalBlocks seems like a useful variable to have, but I don't see it documented anywhere so it's not clear what other variables are available.
_______________________________________________
zenoss-users mailing list
[email protected]
http://lists.zenoss.org/mailman/listinfo/zenoss-users