1. They don't use a standard index for the Real Server, instead, using the IP address of the Real Server
//Using this as the index
.1.3.6.1.4.1.1991.1.1.4.19.1.1.1.192.168.190.153 = IpAddress: 192.168.190.153
.1.3.6.1.4.1.1991.1.1.4.19.1.1.1.192.168.190.154 = IpAddress: 192.168.190.154
//Here is an OID that I am walking
.1.3.6.1.4.1.1991.1.1.4.23.1.1.6.192.168.190.153 = Counter32: 19085080
.1.3.6.1.4.1.1991.1.1.4.23.1.1.6.192.168.190.154 = Counter32: 19004768
To work around this, I adjusted the XML file to include the C Class portion of the IP Address and it worked. Trouble is that it won't work on other address schemes. Ideally, I'd like to build a template that I can add to the community as there isn't one for the ADX.
Here is a portion of the XML file I created. As mentioned, works if I place the Class C in the OID for the counter
Code: Select all
<interface>
<name>Get ADX SLB Interfaces</name>
<description>Queries an Brocade ADX Load Balancer for Real Server stats</description>
<oid_index>.1.3.6.1.4.1.1991.1.1.4.19.1.1.1</oid_index>
<index_order>realIndex</index_order>
<index_order_type>string</index_order_type>
<index_title_format>|chosen_order_field|</index_title_format>
<fields>
<realIndex>
<name>Index</name>
<method>walk</method>
<source>value</source>
<direction>input</direction>
<oid>.1.3.6.1.4.1.1991.1.1.4.19.1.1.1</oid>
</realIndex>
<realName>
<name>Name (IF-MIB)</name>
<method>walk</method>
<source>value</source>
<direction>input</direction>
<oid>.1.3.6.1.4.1.1991.1.1.4.23.1.1.2</oid>
</realName>
<totalConn>
<name>Total Connections since Reboot</name>
<method>walk</method>
<source>value</source>
<direction>output</direction>
<oid>.1.3.6.1.4.1.1991.1.1.4.23.1.1.6.192.168.190</oid>
</totalConn>
</fields>
</interface>
2. The Virtual Server IP Address is placed before the port to view the current number of connections. The MIB shows current connections for each protocol, in this case http and https. The format of the OID is .1.3.6.1.4.1.1991.1.1.4.24.1.1.1.<IP Address>.<port>
How would I place this into the XML file? Would really like to create a graph for each port (i.e. http and https).
//This is what I'm using for the index, once again the issue of the IP Address being used for the index
.1.3.6.1.4.1.1991.1.1.4.25.1.1.1.192.168.140.220 = IpAddress: 192.168.140.220
//Places the port after the IP Address, in this case http and https
.1.3.6.1.4.1.1991.1.1.4.26.1.1.4.192.168.140.220.80 = INTEGER: 1018
.1.3.6.1.4.1.1991.1.1.4.26.1.1.4.192.168.140.220.443 = INTEGER: 23
Here is a portion of the XML file that I'm using.
Code: Select all
<interface>
<name>Get ADX Virtual Servers</name>
<description>Queries an Brocade ADX Load Balancer for Virtual Server stats</description>
<oid_index>.1.3.6.1.4.1.1991.1.1.4.25.1.1.1</oid_index>
<index_order>virtIndex</index_order>
<index_order_type>string</index_order_type>
<index_title_format>|chosen_order_field|</index_title_format>
<fields>
<virtIndex>
<name>Index</name>
<method>walk</method>
<source>value</source>
<direction>input</direction>
<oid>.1.3.6.1.4.1.1991.1.1.4.25.1.1.1</oid>
</virtIndex>
<virtDescr>
<name>Description</name>
<method>walk</method>
<source>value</source>
<direction>input</direction>
<oid>.1.3.6.1.4.1.1991.1.1.4.25.1.1.2</oid>
</virtDescr>
<curClientConn>
<name>Current Client Connections</name>
<method>walk</method>
<source>value</source>
<direction>output</direction>
<oid>.1.3.6.1.4.1.1991.1.1.4.26.1.1.4.192.168.140</oid>
</curClientConn>
</fields>
</interface>
Thanks
James