To construct the data point OIDs, there is the base OID (.1.3.6.1.4.1.9.9.147.1.2.2.1.1.4), then the buffer size (one of 0, 4, 80, 256, 1550, 2048, 2560, 4096, 8192, 16384, or 65536), then the type (3=maximum, 5=fewest, 8=current). So the current number of allocated 1550 block buffers is in OID .1.3.6.1.4.1.9.9.147.1.2.2.1.1.4.1550.8.
Code: Select all
.1.3.6.1.4.1.9.9.147.1.2.2.1.1.4.1550.8 = Gauge32: 10677
Code: Select all
.1.3.6.1.4.1.9.9.147.1.2.2.1.1.3.1550.8 = STRING: current number of available 1550 byte blocks
This is the data query I have so far, but it creates a data source for every data point, instead of combining them by the buffer size. Has anyone attempted to collect data laid out like this before, or does anyone know of a template that does something similar I can learn from?
Code: Select all
<query>
<name>Cisco Firewall Buffers</name>
<description>Queries a host for the firewall buffer status.</description>
<oid_index>.1.3.6.1.4.1.9.9.147.1.2.2.1.1.4</oid_index>
<oid_index_parse>OID/REGEXP:^.*\.([[0-9]+\.[358])$</oid_index_parse>
<index_order>Index</index_order>
<index_order_type>numeric</index_order_type>
<fields>
<bufIndex>
<name>Index</name>
<source>index</source>
<direction>input</direction>
</bufIndex>
<bufInfo>
<oid>.1.3.6.1.4.1.9.9.147.1.2.2.1.1.3</oid>
<name>Description</name>
<method>walk</method>
<source>value</source>
<direction>input</direction>
</bufInfo>
<bufValue>
<oid>.1.3.6.1.4.1.9.9.147.1.2.2.1.1.4</oid>
<name>Count</name>
<method>walk</method>
<source>value</source>
<direction>output</direction>
</bufValue>
</fields>
</query>