I have been trying to build a nice graph for our Foundry SI XL Loadbalancer for the past few days but i am running into some problems.
I am trying to graph the current connections on a virtual server port. I want to build an a graph that displays the current connections per virtual host, per port. To give you a small idea of the data, here are some samples:
(data has been anonymized )
MIB: .1.3.6.1.4.1.1991.1.1.4.9.1.1.1
MIB Name: VirtualServerPortStatusIndex
Description: This is the index of the virtual server ports.
Code: Select all
USER@HOST:~$snmpwalk -c PASSWORD -v 1 XXX.XXX.XXX.XXX .1.3.6.1.4.1.1991.1.1.4.9.1.1.1
SNMPv2-SMI::enterprises.1991.1.1.4.9.1.1.1.1 = INTEGER: 1
SNMPv2-SMI::enterprises.1991.1.1.4.9.1.1.1.2 = INTEGER: 2
SNMPv2-SMI::enterprises.1991.1.1.4.9.1.1.1.3 = INTEGER: 3
SNMPv2-SMI::enterprises.1991.1.1.4.9.1.1.1.4 = INTEGER: 4
SNMPv2-SMI::enterprises.1991.1.1.4.9.1.1.1.5 = INTEGER: 5
SNMPv2-SMI::enterprises.1991.1.1.4.9.1.1.1.6 = INTEGER: 6
SNMPv2-SMI::enterprises.1991.1.1.4.9.1.1.1.7 = INTEGER: 7
SNMPv2-SMI::enterprises.1991.1.1.4.9.1.1.1.8 = INTEGER: 8
SNMPv2-SMI::enterprises.1991.1.1.4.9.1.1.1.9 = INTEGER: 9
SNMPv2-SMI::enterprises.1991.1.1.4.9.1.1.1.10 = INTEGER: 10
SNMPv2-SMI::enterprises.1991.1.1.4.9.1.1.1.11 = INTEGER: 11
...
...
...
MIB Name: VirtualServerPortStatusPort
Description: These are the ports that are "forwarded"
Code: Select all
USER@HOST:~$snmpwalk -c PASSWORD -v 1 XXX.XXX.XXX.XXX .1.3.6.1.4.1.1991.1.1.4.9.1.1.2
SNMPv2-SMI::enterprises.1991.1.1.4.9.1.1.2.1 = INTEGER: 110
SNMPv2-SMI::enterprises.1991.1.1.4.9.1.1.2.2 = INTEGER: 995
SNMPv2-SMI::enterprises.1991.1.1.4.9.1.1.2.3 = INTEGER: 25
SNMPv2-SMI::enterprises.1991.1.1.4.9.1.1.2.4 = INTEGER: 465
SNMPv2-SMI::enterprises.1991.1.1.4.9.1.1.2.5 = INTEGER: 65535
SNMPv2-SMI::enterprises.1991.1.1.4.9.1.1.2.6 = INTEGER: 110
SNMPv2-SMI::enterprises.1991.1.1.4.9.1.1.2.7 = INTEGER: 995
SNMPv2-SMI::enterprises.1991.1.1.4.9.1.1.2.8 = INTEGER: 25
SNMPv2-SMI::enterprises.1991.1.1.4.9.1.1.2.9 = INTEGER: 465
SNMPv2-SMI::enterprises.1991.1.1.4.9.1.1.2.10 = INTEGER: 65535
SNMPv2-SMI::enterprises.1991.1.1.4.9.1.1.2.11 = INTEGER: 110
SNMPv2-SMI::enterprises.1991.1.1.4.9.1.1.2.12 = INTEGER: 995
SNMPv2-SMI::enterprises.1991.1.1.4.9.1.1.2.13 = INTEGER: 25
SNMPv2-SMI::enterprises.1991.1.1.4.9.1.1.2.14 = INTEGER: 465
SNMPv2-SMI::enterprises.1991.1.1.4.9.1.1.2.15 = INTEGER: 65535
SNMPv2-SMI::enterprises.1991.1.1.4.9.1.1.2.16 = INTEGER: 110
...
...
...
MIB Name: VirtualServerPortStatusServerName
Description:
Code: Select all
USER@HOST:~$snmpwalk -c PASSWORD -v 1 XXX.XXX.XXX.XXX .1.3.6.1.4.1.1991.1.1.4.9.1.1.3
SNMPv2-SMI::enterprises.1991.1.1.4.9.1.1.3.1 = STRING: "mail.example-a.nl"
SNMPv2-SMI::enterprises.1991.1.1.4.9.1.1.3.2 = STRING: "mail.example-a.nl"
SNMPv2-SMI::enterprises.1991.1.1.4.9.1.1.3.3 = STRING: "mail.example-a.nl"
SNMPv2-SMI::enterprises.1991.1.1.4.9.1.1.3.4 = STRING: "mail.example-a.nl"
SNMPv2-SMI::enterprises.1991.1.1.4.9.1.1.3.5 = STRING: "mail.example-a.nl"
SNMPv2-SMI::enterprises.1991.1.1.4.9.1.1.3.6 = STRING: "mail.example-b.nl"
SNMPv2-SMI::enterprises.1991.1.1.4.9.1.1.3.7 = STRING: "mail.example-b.nl"
SNMPv2-SMI::enterprises.1991.1.1.4.9.1.1.3.8 = STRING: "mail.example-b.nl"
SNMPv2-SMI::enterprises.1991.1.1.4.9.1.1.3.9 = STRING: "mail.example-b.nl"
SNMPv2-SMI::enterprises.1991.1.1.4.9.1.1.3.10 = STRING: "mail.example-b.nl"
SNMPv2-SMI::enterprises.1991.1.1.4.9.1.1.3.11 = STRING: "mail.example-c.nl"
SNMPv2-SMI::enterprises.1991.1.1.4.9.1.1.3.12 = STRING: "mail.example-c.nl"
...
...
...
MIB Name: VirtualServerPortStatusCurrentConnections
Description:
Code: Select all
USER@HOST:~$snmpwalk -c PASSWORD -v 1 XXX.XXX.XXX.XXX .1.3.6.1.4.1.1991.1.1.4.9.1.1.4
SNMPv2-SMI::enterprises.1991.1.1.4.9.1.1.4.1 = INTEGER:345
SNMPv2-SMI::enterprises.1991.1.1.4.9.1.1.4.2 = INTEGER: 45
SNMPv2-SMI::enterprises.1991.1.1.4.9.1.1.4.3 = INTEGER: 457
SNMPv2-SMI::enterprises.1991.1.1.4.9.1.1.4.4 = INTEGER: 567
SNMPv2-SMI::enterprises.1991.1.1.4.9.1.1.4.5 = INTEGER: 98
SNMPv2-SMI::enterprises.1991.1.1.4.9.1.1.4.6 = INTEGER: 100
SNMPv2-SMI::enterprises.1991.1.1.4.9.1.1.4.7 = INTEGER: 393
SNMPv2-SMI::enterprises.1991.1.1.4.9.1.1.4.8 = INTEGER: 184
SNMPv2-SMI::enterprises.1991.1.1.4.9.1.1.4.9 = INTEGER: 386
SNMPv2-SMI::enterprises.1991.1.1.4.9.1.1.4.10 = INTEGER: 192
SNMPv2-SMI::enterprises.1991.1.1.4.9.1.1.4.11 = INTEGER: 345
SNMPv2-SMI::enterprises.1991.1.1.4.9.1.1.4.12 = INTEGER: 893
...
...
...
So first I created a Data query (XML)
Code: Select all
<Connections>
<name>Get Foundry IronServer XL Connection statistics</name>
<description>Queries a host for a connection table</description>
<oid_index>.1.3.6.1.4.1.1991.1.1.4.9.1.1.1</oid_index>
<fields>
<ISXLConnIndex>
<name>Index</name>
<method>walk</method>
<source>value</source>
<direction>input</direction>
<oid>.1.3.6.1.4.1.1991.1.1.4.9.1.1.1</oid>
</ISXLConnIndex>
<ISXLConnPort>
<name>Port</name>
<method>walk</method>
<source>value</source>
<direction>input</direction>
<oid>.1.3.6.1.4.1.1991.1.1.4.9.1.1.2</oid>
</ISXLConnPort>
<ISXLConnHostName>
<name>Hostname</name>
<method>walk</method>
<source>value</source>
<direction>input</direction>
<oid>.1.3.6.1.4.1.1991.1.1.4.9.1.1.3</oid>
</ISXLConnHostName>
<ISXLCurConn>
<name>Current Connections</name>
<method>walk</method>
<source>value</source>
<direction>output</direction>
<oid>.1.3.6.1.4.1.1991.1.1.4.9.1.1.4</oid>
</ISXLCurConn>
</fields>
</Connections>
I have been following the manual but its not really helpful to be honest..
Source: http://docs.cacti.net/manual:088:3a_adv ... ta_queries
Can anyone tell me how I can do this ? If your need anymore information please let me know.
Regards,
Hopcount