Re: F5 BigIP Stats

Frank Smith <[email protected]> Thu, 01 Apr 2010 12:24:31 -0500
Newsgroups gmane.comp.programming.load-balancing.general
Message-ID <[email protected]>
Bill Blackford wrote:
> I don't post on this list much so I hope this is the right forum.
>
> Is there a way on the F5 LTM V9.4.5  look at total throughput on a per/VIP
> basis? It would be really nice to graph this with RRD.
>
> Thanks,
>
> -b
>

Here's a template I use for MRTG, doing a global search and replace on
 the following strings:
DEVICE: DNS name for the F5 you're monitoring
ZZZ:  Virtual IP you want to collect stats on
COMMUNITY:  snmp community string with read access
NAME: what you want the IP called (such as www or searchdb)

The first stanza monitors bits in and out, the second monitors the
current number of open connections/sec and max open connections/sec.

Target[DEVICE_NAME-data]: 1.3.6.1.4.1.3375.2.2.10.11.3.1.4.1.4.ZZZ&1.3.6.1.4.1.337
5.2.2.10.11.3.1.6.1.4.ZZZ:COMMUNITY@DEVICE:::::2
SetEnv[DEVICE_NAME-data]: MRTG_INT_IP="" MRTG_INT_DESCR="NAME-data"
MaxBytes[DEVICE_NAME-data]: 125000000
Title[DEVICE_NAME-data]: DEVICE NAME pool data
PageTop[DEVICE_NAME-data]: <H1>NAME data</H1>
 <TABLE>
   <TR><TD>System:</TD>     <TD>DEVICE</TD></TR>
   <TR><TD>Maintainer:</TD> <TD>Frank Smith</TD></TR>
   <TR><TD>Description:</TD><TD>NAME data  </TD></TR>
   <TR><TD>ifType:</TD>     <TD>ethernetCsmacd (6)</TD></TR>
   <TR><TD>ifName:</TD>     <TD>NAME data</TD></TR>
   <TR><TD>Max Speed:</TD>  <TD>125.0 MBytes/s</TD></TR>
 </TABLE>

Target[DEVICE_NAME-conn]: 1.3.6.1.4.1.3375.2.2.10.11.3.1.7.1.4.ZZZ&1.3.6.1.4.1.337
5.2.2.10.11.3.1.9.1.4.ZZZ:COMMUNITY@DEVICE:::::2
SetEnv[DEVICE_NAME-conn]: MRTG_INT_IP="" MRTG_INT_DESCR="NAME-conn"
MaxBytes[DEVICE_NAME-conn]: 99999999999
Options[DEVICE_NAME-conn]: gauge, noinfo, nopercent
Title[DEVICE_NAME-conn]: DEVICE NAME pool connections
PageTop[DEVICE_NAME-conn]: <H1>NAME connections</H1>
 <TABLE>
   <TR><TD>System:</TD>     <TD>DEVICE</TD></TR>
   <TR><TD>Maintainer:</TD> <TD>Frank Smith</TD></TR>
   <TR><TD>Description:</TD><TD>NAME connections  </TD></TR>
   <TR><TD>ifType:</TD>     <TD>ethernetCsmacd (6)</TD></TR>
   <TR><TD>ifName:</TD>     <TD>NAME connections</TD></TR>
   <TR><TD>Max Speed:</TD>  <TD>1250000.0 </TD></TR>
 </TABLE>

This works on 9.4.4, I don't know if the OIDs changed on later versions.

Hope this helps,
Frank



-- 
Frank Smith                                      [email protected]
Sr. Systems Administrator                       Voice: 512-374-4673
Hoover's Online                                   Fax: 512-374-4501
_______________________________________________
lb-l mailing list
[email protected]
http://vegan.net/mailman/listinfo/lb-l
Searchable Archive: http://vegan.net/lb/archive
http://lbdigest.com Load Balancing Digest
http://lbwiki.com Load Balancing Wiki