F5 BigIP v9 v10 v11 Templates (Global and LTM)

Templates, scripts for templates, scripts and requests for templates.

Moderators: Developers, Moderators

niobe
Cacti User
Posts: 228
Joined: Mon Mar 10, 2008 6:52 pm
Location: Australia

Re: F5 BigIP v10 Templates (Global and LTM)

Post by niobe »

bsdboy wrote:Wow, very nice job. You're my new favorite person!
You're welcome :)
pooky
Posts: 1
Joined: Mon Jul 23, 2012 7:10 am

Re: F5 BigIP v10 Templates (Global and LTM)

Post by pooky »

Hi..

Cacti Version 0.8.8a
BIG-IP LTM VE - BIG-IP 10.2.2 Build 763.3 Final

Some Graphs does not get input:
F5 Global HTTP Requests
F5 Global HTTP Responses 2xx
F5 Global HTTP Responses 3xx 4xx 5xx
F5 Global Packets Errors
F5 Global UDP Traffic
F5 SSL *

I checked the data querys and i can see

Code: Select all

+ Running data query [11].
+ Found type = '3' [SNMP Query].
+ Found data query XML file at '/var/www/html/cacti-0.8.8a/resource/snmp_queries/f5_bigip_ltm_vs.xml'
+ XML file parsed ok.
+ <oid_num_indexes> missing in XML file, 'Index Count Changed' emulated by counting oid_index entries
+ Executing SNMP walk for list of indexes @ '.1.3.6.1.4.1.3375.2.2.10.1.2.1.1' Index Count: 27
+ Index found at OID: '1.3.6.1.4.1.3375.2.2.10.1.2.1.1.11.118.105.116.97.45.102.116.112.45.50.50' value: 'mySFTPServer'

Code: Select all

+ Running data query [12].
+ Found type = '3' [SNMP Query].
+ Found data query XML file at '/var/www/html/cacti-0.8.8a/resource/snmp_queries/f5_bigip_ltm_pool.xml'
+ XML file parsed ok.
+ <oid_num_indexes> missing in XML file, 'Index Count Changed' emulated by counting oid_index entries
+ Executing SNMP walk for list of indexes @ '.1.3.6.1.4.1.3375.2.2.5.1.2.1.1' Index Count: 18
+ Index found at OID: '1.3.6.1.4.1.3375.2.2.5.1.2.1.1.11.118.105.116.97.45.119.101.98.45.56.48' value: 'someWEBserver'

Code: Select all

+ Running data query [13].
+ Found type = '3' [SNMP Query].
+ Found data query XML file at '/var/www/html/cacti-0.8.8a/resource/snmp_queries/f5_bigip_ltm_member.xml'
+ XML file parsed ok.
+ <oid_num_indexes> missing in XML file, 'Index Count Changed' emulated by counting oid_index entries
+ Executing SNMP walk for list of indexes @ '.1.3.6.1.4.1.3375.2.2.5.4.3.1.1' Index Count: 34
+ Index found at OID: '1.3.6.1.4.1.3375.2.2.5.4.3.1.1.11.118.105.116.97.45.119.101.98.45.56.48.1.4.172.31.131.11.80' value: 'someWEBserver-80'
so it seems the OIDs are right ?!
niobe
Cacti User
Posts: 228
Joined: Mon Mar 10, 2008 6:52 pm
Location: Australia

Re: F5 BigIP v10 Templates (Global and LTM)

Post by niobe »

pooky wrote: Cacti Version 0.8.8a
Hmm, I suspect this will be a cacti version problem since the templates were developed on 0.87. But what problem is it causing with your graphs?
bsdboy
Cacti User
Posts: 87
Joined: Mon May 22, 2006 5:24 pm

Re: F5 BigIP v10 Templates (Global and LTM)

Post by bsdboy »

Mine work great in 0.8.8a, using version BIGIP-11.1.0.1943.0 code.
Soup
Cacti User
Posts: 66
Joined: Tue Aug 07, 2012 10:02 am

Re: F5 BigIP v10 Templates (Global and LTM)

Post by Soup »

Just found this now, thanks for the hard work you put into this!

I've made a small modification to your f5_bigip_ltm_member.xml file to fix your issue with the following:
"The pool member graphs display IP addresses in HEX and this is UGLY. The only workaround is to change the graph names to something sensible after creation."

Basically, uses a REGEX on the OID to pull the address, instead of the value the OID returns.

Code: Select all

                <ltmPoolMemberAddress>
                        <name>Address</name>
                        <method>walk</method>
                        <source>OID/REGEXP:^.*\.(.*\..*\..*\..*\..*)$</source>
                        <direction>input</direction>
                        <oid>.1.3.6.1.4.1.3375.2.2.5.4.3.1.3</oid>
                </ltmPoolMemberAddress>
niobe
Cacti User
Posts: 228
Joined: Mon Mar 10, 2008 6:52 pm
Location: Australia

Re: F5 BigIP v10 Templates (Global and LTM)

Post by niobe »

Soup wrote: I've made a small modification to your f5_bigip_ltm_member.xml file to fix your issue with the following:
"The pool member graphs display IP addresses in HEX and this is UGLY. The only workaround is to change the graph names to something sensible after creation."
Great solution, thanks. Shame it won't work on the pool and vs stats :cry:
JJX
Cacti User
Posts: 402
Joined: Thu Oct 06, 2005 5:03 am

Re: F5 BigIP v10 Templates (Global and LTM)

Post by JJX »

Amazing plugin!
Is working out of the box :)


Thank you
cacti rulez!
fmagoufis
Posts: 5
Joined: Fri Jan 04, 2008 2:10 pm

Re: F5 BigIP v10 Templates (Global and LTM)

Post by fmagoufis »

We have two units running active/passive here and there are times when they are flipped for maintenance. Has anyone figured out a way pull from both and perhaps create one set of graphs?
niobe
Cacti User
Posts: 228
Joined: Mon Mar 10, 2008 6:52 pm
Location: Australia

Re: F5 BigIP v10 Templates (Global and LTM)

Post by niobe »

Not sure about your setup but we have 2 units and can poll both independently on their management IPs.
You can combine the graphs with the Aggregate plugin from Gandalf.
mxxcon
Posts: 31
Joined: Tue May 19, 2009 5:20 pm

Re: F5 BigIP v10 Templates (Global and LTM)

Post by mxxcon »

Great template.
Can we please get this template to on the official template site?
Also can you please update your zip file to include Soup's suggestion regarding IP address?
Also is it possible to extract pool members' "node name" and use that instead of IP?
Thank you.
mxxcon
Posts: 31
Joined: Tue May 19, 2009 5:20 pm

Re: F5 BigIP v10 Templates (Global and LTM)

Post by mxxcon »

I think there's a bug in "F5 BigIP - Global - Traffic - Client" and "F5 BigIP - Global - Traffic - Server" graphs.
Numbers on the graph do not match numbers in the legend below the graph. See attached screenshot.
Attachments
graph_image.php.png
graph_image.php.png (43.45 KiB) Viewed 7443 times
niobe
Cacti User
Posts: 228
Joined: Mon Mar 10, 2008 6:52 pm
Location: Australia

Re: F5 BigIP v10 Templates (Global and LTM)

Post by niobe »

Most likely the CDEF turn bytes in to bits is missing from the legend items

When I get a chance I'll check and reupload.
mxxcon
Posts: 31
Joined: Tue May 19, 2009 5:20 pm

Re: F5 BigIP v10 Templates (Global and LTM)

Post by mxxcon »

I noticed another problem when I look at different predefined time period graphs.
B 1 min AVERAGE, MAX from 0-2 months (1 min poll) - graph shows 24 hours
B 5 min AVERAGE, MAX from 2-12 months (1 min poll) - graph shows less then 1 year.
B 1 day AVERAGE, MAX from 3-20 years (1 min poll) 20 years? I think that's overkill :)

You weren't kidding when you said these rrd files are large..12-18MB per file, ~1.8GB per host.. dang :-?
niobe
Cacti User
Posts: 228
Joined: Mon Mar 10, 2008 6:52 pm
Location: Australia

Re: F5 BigIP v10 Templates (Global and LTM)

Post by niobe »

mxxcon wrote:I noticed another problem when I look at different predefined time period graphs.
B 1 min AVERAGE, MAX from 0-2 months (1 min poll) - graph shows 24 hours
B 5 min AVERAGE, MAX from 2-12 months (1 min poll) - graph shows less then 1 year.
B 1 day AVERAGE, MAX from 3-20 years (1 min poll) 20 years? I think that's overkill :)
That's two different things .. 0-2 months is how much data is stored in the .rrd before consolidation to the next level
What time range is displayed is by default is not an rrd setting, it's a cacti settings set by 'timespan' in the RRA - you can change this field as you like without effecting the stored data, but not the others

mxxcon wrote:You weren't kidding when you said these rrd files are large..12-18MB per file, ~1.8GB per host.. dang :-?
Yeh a little too large, when I update there will be a new set of smaller RRA's - still with much more history than the cacti defaults.
Last edited by niobe on Tue Nov 27, 2012 8:16 pm, edited 2 times in total.
niobe
Cacti User
Posts: 228
Joined: Mon Mar 10, 2008 6:52 pm
Location: Australia

Re: F5 BigIP v10 Templates (Global and LTM)

Post by niobe »

I've uploaded a new version (host template and snmp queries) with most of the patches mentioned in the thread.

In particular worth mentioning I've added a new set of RRA's, set 'C' that won't product rrd files as large as the 'B' set. You can use these or select your own when you import but I would recommend them if use 1 minute polling.
Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests