I try to upgrade a little bit the F5 template, and for the 'Get F5 Big-IP ltmPoolMemberStatTable stats' (f5_bigip_ltmPoolMemberStatTable.xml) I try to add the field 28 who is the ltmPoolMemberStatNodeName
Insteaed of having a wierd Ip adress and a port name.
The added XML look like this:
<ltmPoolMemberStatNodeName>
<name>Member Node name</name>
<method>walk</method>
<source>value</source>
<direction>input</direction>
<oid>.1.3.6.1.4.1.3375.2.2.5.4.3.1.28</oid>
</ltmPoolMemberStatNodeName>
It's correct since if I do a debug I can get all Nodename.
But when I check on my F5 device in Cacti instead of hadding a column to the current
Data Query [F5 BigIP - Pool Member Statistics (ltmPoolMemberStatTable)]
It create a new entry with just the Pool member name on it, but no index what so ever
Sorry to add a PDF but I can't add a link to the image.
I can't find a solution to resolve that and have the Nodename inside the table, so I can get it back as query_ltmPoolMemberStatNodeName to name the graph.
The full XML file look like this:
Code: Select all
<ltmPoolMemberStatTable>
<name>Get F5 Big-IP ltmPoolMemberStatTable stats</name>
<index_order_type>numeric</index_order_type>
<oid_index>.1.3.6.1.4.1.3375.2.2.5.4.3.1.1</oid_index>
<oid_index_parse>OID/REGEXP:^.*\.3375\..{14}(.*)$</oid_index_parse>
<oid_num_indexes>.1.3.6.1.4.1.3375.2.2.5.4.2</oid_num_indexes>
<index_order>index</index_order>
<index_order_type>alphabetic</index_order_type>
<fields>
<index>
<name>Index</name>
<source>index</source>
<direction>input</direction>
</index>
<ltmPoolMemberStatPoolName>
<name>Pool Name</name>
<method>walk</method>
<source>value</source>
<direction>input</direction>
<oid>.1.3.6.1.4.1.3375.2.2.5.4.3.1.1</oid>
</ltmPoolMemberStatPoolName>
<ltmPoolMemberStatAddrType>
<name>Address Type</name>
<method>walk</method>
<source>value</source>
<direction>input</direction>
<oid>.1.3.6.1.4.1.3375.2.2.5.4.3.1.2</oid>
</ltmPoolMemberStatAddrType>
<ltmPoolMemberStatAddr>
<name>IP Address</name>
<method>walk</method>
<source>OID/REGEXP:^.*\.([0-9]*\.[0-9]*\.[0-9]*\.[0-9]*)\.[0-9]*$</sour
ce>
<direction>input</direction>
<oid>.1.3.6.1.4.1.3375.2.2.5.4.3.1.3</oid>
</ltmPoolMemberStatAddr>
<ltmPoolMemberStatPort>
<name>Port</name>
<method>walk</method>
<source>value</source>
<direction>input</direction>
<oid>.1.3.6.1.4.1.3375.2.2.5.4.3.1.4</oid>
</ltmPoolMemberStatPort>
<ltmPoolMemberStatServerPktsIn>
<name>Server Packets In</name>
<method>walk</method>
<source>value</source>
<direction>output</direction>
<oid>.1.3.6.1.4.1.3375.2.2.5.4.3.1.5</oid>
</ltmPoolMemberStatServerPktsIn>
<ltmPoolMemberStatServerBytesIn>
<name>Server Bytes In</name>
<method>walk</method>
<source>value</source>
<direction>output</direction>
<oid>.1.3.6.1.4.1.3375.2.2.5.4.3.1.6</oid>
</ltmPoolMemberStatServerBytesIn>
<ltmPoolMemberStatServerPktsOut>
<name>Server Packets Out</name>
<method>walk</method>
<source>value</source>
<direction>output</direction>
<oid>.1.3.6.1.4.1.3375.2.2.5.4.3.1.7</oid>
</ltmPoolMemberStatServerPktsOut>
<ltmPoolMemberStatServerBytesOut>
<name>Server Bytes Out</name>
<method>walk</method>
<source>value</source>
<direction>output</direction>
<oid>.1.3.6.1.4.1.3375.2.2.5.4.3.1.8</oid>
</ltmPoolMemberStatServerBytesOut>
<ltmPoolMemberStatServerMaxConns>
<name>Server Max Connections</name>
<method>walk</method>
<source>value</source>
<direction>output</direction>
<oid>.1.3.6.1.4.1.3375.2.2.5.4.3.1.9</oid>
</ltmPoolMemberStatServerMaxConns>
<ltmPoolMemberStatServerTotConns>
<name>Server Total Connections</name>
<method>walk</method>
<source>value</source>
<direction>output</direction>
<oid>.1.3.6.1.4.1.3375.2.2.5.4.3.1.10</oid>
</ltmPoolMemberStatServerTotConns>
<ltmPoolMemberStatServerCurConns>
<name>Server Current Connections</name>
<method>walk</method>
<source>value</source>
<direction>output</direction>
<oid>.1.3.6.1.4.1.3375.2.2.5.4.3.1.11</oid>
</ltmPoolMemberStatServerCurConns>
<ltmPoolMemberStatPvaPktsIn>
<name>Pva Packets In</name>
<method>walk</method>
<source>value</source>
<direction>output</direction>
<oid>.1.3.6.1.4.1.3375.2.2.5.4.3.1.12</oid>
</ltmPoolMemberStatPvaPktsIn>
<ltmPoolMemberStatPvaBytesIn>
<name>Pva Bytes In</name>
<method>walk</method>
<source>value</source>
<direction>output</direction>
<oid>.1.3.6.1.4.1.3375.2.2.5.4.3.1.13</oid>
</ltmPoolMemberStatPvaBytesIn>
<ltmPoolMemberStatPvaPktsOut>
<name>Pva Packets Out</name>
<method>walk</method>
<source>value</source>
<direction>output</direction>
<oid>.1.3.6.1.4.1.3375.2.2.5.4.3.1.14</oid>
</ltmPoolMemberStatPvaPktsOut>
<ltmPoolMemberStatPvaBytesOut>
<name>Pva Bytes Out</name>
<method>walk</method>
<source>value</source>
<direction>output</direction>
<oid>.1.3.6.1.4.1.3375.2.2.5.4.3.1.15</oid>
</ltmPoolMemberStatPvaBytesOut>
<ltmPoolMemberStatPvaMaxConns>
<name>Pva Max Connections</name>
<method>walk</method>
<source>value</source>
<direction>output</direction>
<oid>.1.3.6.1.4.1.3375.2.2.5.4.3.1.16</oid>
</ltmPoolMemberStatPvaMaxConns>
<ltmPoolMemberStatPvaTotConns>
<name>Pva Total Connections</name>
<method>walk</method>
<source>value</source>
<direction>output</direction>
<oid>.1.3.6.1.4.1.3375.2.2.5.4.3.1.17</oid>
</ltmPoolMemberStatPvaTotConns>
<ltmPoolMemberStatPvaCurConns>
<name>Pva Current Connections</name>
<method>walk</method>
<source>value</source>
<direction>output</direction>
<oid>.1.3.6.1.4.1.3375.2.2.5.4.3.1.18</oid>
</ltmPoolMemberStatPvaCurConns>
<ltmPoolMemberStatTotRequests>
<name>Total Requests</name>
<method>walk</method>
<source>value</source>
<direction>output</direction>
<oid>.1.3.6.1.4.1.3375.2.2.5.4.3.1.19</oid>
</ltmPoolMemberStatTotRequests>
<ltmPoolMemberStatTotPvaAssistConn>
<name>Total Pva Assist Connections</name>
<method>walk</method>
<source>value</source>
<direction>output</direction>
<oid>.1.3.6.1.4.1.3375.2.2.5.4.3.1.20</oid>
</ltmPoolMemberStatTotPvaAssistConn>
<ltmPoolMemberStatCurrPvaAssistConn>
<name>Current Pva Assist Connections</name>
<method>walk</method>
<source>value</source>
<direction>output</direction>
<oid>.1.3.6.1.4.1.3375.2.2.5.4.3.1.21</oid>
</ltmPoolMemberStatCurrPvaAssistConn>
<ltmPoolMemberStatNodeName>
<name>Member Node name</name>
<method>walk</method>
<source>value</source>
<direction>input</direction>
<oid>.1.3.6.1.4.1.3375.2.2.5.4.3.1.28</oid>
</ltmPoolMemberStatNodeName>
</fields>
</ltmPoolMemberStatTable>
Cacti debug function on snmp_queries give me this result (Click to show Data Query output for field 'ltmPoolMemberStatPoolName' )
Found item [ltmPoolMemberStatPoolName='/PROD/pool-prod-owa'] index: 19.47.80.82.79.68.47.112.111.111.108.45.112.114.111.100.45.111.119.97.15.47.80.82.79.68.47.108.115.119.120.99.104.112.48.52.443 [from value]
Then On the query for the NodeName (Click to show Data Query output for field 'ltmPoolMemberStatNodeName')
I got this for the same index
Found item [ltmPoolMemberStatNodeName='/PROD/lswxchp04'] index: .19.47.80.82.79.68.47.112.111.111.108.45.112.114.111.100.45.111.119.97.15.47.80.82.79.68.47.108.115.119.120.99.104.112.48.52.443 [from value]
So why in Hell I have the presentation of my attachement, and not a new colum on the same row?
Any help welcome