BigIP v9 Template

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

Moderators: Developers, Moderators

Post Reply
pyoung
Posts: 13
Joined: Mon Nov 07, 2005 2:51 pm

Post by pyoung »

Thanks for this excellent template. Other than fixing one HRULE, I've had no problems.

I do have one question - On the VS connection rate (and other VS graphs), I'd like to see the name associated. I thought I could get this with a |query_vsName|, but that doesn't seem to work.

I can title it by hand, no problem - but before I do that, I figured I'd ask here first.
bsdboy
Cacti User
Posts: 87
Joined: Mon May 22, 2006 5:24 pm

Post by bsdboy »

I'm using the default:
|host_description| - Traffic - |query_vsName|

Graphs seem to build with whatever the name of the VIP is:

edit: query_vsName seems to work fine from here... Maybe you could try reapplying suggested names. What cacti and tmm versions are you using? 9.4 seems to have alot of internal changes, hopefully the MIB didn't change as well :o
Attachments
graph_image.png
graph_image.png (43.65 KiB) Viewed 10711 times
pyoung
Posts: 13
Joined: Mon Nov 07, 2005 2:51 pm

Post by pyoung »

bsdboy wrote:I'm using the default:
|host_description| - Traffic - |query_vsName|

Graphs seem to build with whatever the name of the VIP is:

edit: query_vsName seems to work fine from here... Maybe you could try reapplying suggested names. What cacti and tmm versions are you using? 9.4 seems to have alot of internal changes, hopefully the MIB didn't change as well :o
I removed and re-created the graphs for the device, and all is now well. I may have had a typo in my query_vsName statement for all I can tell. :)

Edit: Ah, found my notes from last night - when I originally set 'em up, there was no |query_vsName|, I had to add it, then delete/re-create, and it's fine. Might have been an error when I imported or something, as I can't re-create the error now.
Lichtje
Posts: 1
Joined: Thu May 10, 2007 6:19 am

Post by Lichtje »

Dont know if it was just me, but found a bug on the memory collection thingie:

Wasnt getting any data for memory back, and debug showed me that it wasnt parsing the php script line correctly:

05/10/2007 12:55:10 PM - CMDPHP: Poller[0] Host[90] DS[1129] SERVER: /usr/share/cacti/site/scripts/ss_f5-bigip-tmm-memory.php ss_f5tmm_mem myipcommunityname21615000, output: sysStatMemoryTotal:NaN sysStatMemoryUsed:NaN

Corrected the Input method from:

<path_cacti>/scripts/ss_f5-bigip-tmm-memory.php ss_f5tmm_mem<hostname><snmp_community><snmp_version><snmp_port><snmp_timeout><snmpv3_auth_username> <snmpv3_auth_password>

to

<path_cacti>/scripts/ss_f5-bigip-tmm-memory.php ss_f5tmm_mem <hostname> <snmp_community> <snmp_version> <snmp_port> <snmp_timeout> <snmpv3_auth_username> <snmpv3_auth_password>

(added space's)

Works like a charm now!
Still debugging all, but everything looks like it works (not using the f5's in prodcution yet, so too soon to say its all perfect)

Great work on this!
thanks.
dermoth
Posts: 7
Joined: Thu Jul 13, 2006 10:39 am

Post by dermoth »

matibut14 wrote:The following works for me:
One question:
Is there a way to change the Hex IP value (for a virtual server) to decimal?
You have to modify the F5-BIGIP-LOCAL-MIB.txt. Import InetAddressIPv4 from INET-ADDRESS-MIB then use it wherever you need it (Don't just replace every occurcenes of InetAddress as you'll break the places where there is an IP address is embedded in the OID).

So replace:
InetAddress, InetAddressType
FROM INET-ADDRESS-MIB
With:
InetAddress, InetAddressIPv4, InetAddressType
FROM INET-ADDRESS-MIB

Then find the textual oids you want to change (I did: ltmVirtualServAddr, ltmVirtualServWildmask, ltmVirtualAddrAddr, ltmVirtualAddrStatAddr and ltmVAddrStatusAddr) and change the type to InetAddressIPv4. (you will have to change it at two places for each oid).

BE AWARE THAT THIS CHANGE WILL BREAK IPv6 ADDRESSES. The reason addresses are printed in hex is because there can be two types of addresses on the same OID.
hansklose
Posts: 8
Joined: Fri Mar 16, 2007 4:25 am

No SNMP data returned => f5_bigip_vs.xml

Post by hansklose »

Hi I tried your template but when i want to create the graphs i get
this message for the virtual server:

+ Running data query [14].
+ Found type = '3' [snmp query].
+ Found data query XML file at '/var/www/tpadmin.thinprint.de/cacti/resource/snmp_queries/f5_bigip_vs.xml'
+ XML file parsed ok.
+ Executing SNMP walk for list of indexes @ '.1.3.6.1.4.1.3375.2.2.10.2.3.1.1'
+ No SNMP data returned
+ Found data query XML file at '/var/www/tpadmin.thinprint.de/cacti/resource/snmp_queries/f5_bigip_vs.xml'
+ Found data query XML file at '/var/www/tpadmin.thinprint.de/cacti/resource/snmp_queries/f5_bigip_vs.xml'
+ Found data query XML file at '/var/www/tpadmin.thinprint.de/cacti/resource/snmp_queries/f5_bigip_vs.xml'

When i use snmpwalk i get the names for my virtual hosts.
I read something about "UCD-SNMP 4.x (I'm using 5.x)" but can't find
a sollution.

How can i fix it?

Thanks Hans
jbsegal
Posts: 9
Joined: Fri Jun 22, 2007 5:20 pm
Location: Boston

9.3.0?

Post by jbsegal »

Has anyone tried using this template with v9.3.0 of the BIP software?

I'm getting a lot of all 0 results (The Global Request and Responses graphs), or NaNs (Interface or VS Traffic/Connection graphs) and I really have no clues why.

I'm no expert at EITHER cacti nor SNMP and new to bigIP v9 software as well, so any help is appreciated.

Thanks!

(Cacti 0.8.6j, RHEL4)
Last edited by jbsegal on Fri Jun 22, 2007 5:44 pm, edited 1 time in total.
jbsegal
Posts: 9
Joined: Fri Jun 22, 2007 5:20 pm
Location: Boston

Post by jbsegal »

To provide a fair hunk of log output for a run of the BigIP...
06/22/2007 06:30:11 PM - CACTID: Poller[0] Host[39] DS[577] SNMP: v2: 10.33.1.1, dsname: traffic_out, oid: .1.3.6.1.4.1.3375.2.2.10.2.3.1.9..6.73.109.97.103.101.115, value: U
06/22/2007 06:30:11 PM - CACTID: Poller[0] Host[39] DS[577] WARNING: Result from SNMP not valid. Partial Result: ...
06/22/2007 06:30:11 PM - CACTID: Poller[0] Host[39] DS[576] SNMP: v2: 10.33.1.1, dsname: traffic_out, oid: .1.3.6.1.4.1.3375.2.2.10.2.3.1.9..3.87.119.119, value: U
06/22/2007 06:30:11 PM - CACTID: Poller[0] Host[39] DS[576] WARNING: Result from SNMP not valid. Partial Result: ...
06/22/2007 06:30:11 PM - CACTID: Poller[0] Host[39] ERROR: Problems parsing Multi SNMP OID! (oid: .1.3.6.1.4.1.3375.2.2.10.2.3.1.9..6.73.109.97.103.101.115)
06/22/2007 06:30:11 PM - CACTID: Poller[0] Host[39] ERROR: Problems parsing Multi SNMP OID! (oid: .1.3.6.1.4.1.3375.2.2.10.2.3.1.9..3.87.119.119)
06/22/2007 06:30:10 PM - CACTID: Poller[0] Host[39] DS[565] SS[0] SERVER: /var/www/cacti/scripts/ss_f5-bigip-tmm-memory.php ss_f5tmm_mem 10.33.1.1 public 2 161 1000 , output: sysStatMemoryTotal:1794113536 sysStatMemoryUsed:24503640
06/22/2007 06:30:10 PM - CACTID: Poller[0] Host[39] DS[575] SNMP: v2: 10.33.1.1, dsname: traffic_out, oid: .1.3.6.1.4.1.3375.2.2.10.2.3.1.9..11.77.121.83.81.76.45.87.114.105.116.101, value: U
06/22/2007 06:30:10 PM - CACTID: Poller[0] Host[39] DS[575] WARNING: Result from SNMP not valid. Partial Result: ...
06/22/2007 06:30:10 PM - CACTID: Poller[0] Host[39] DS[574] SNMP: v2: 10.33.1.1, dsname: traffic_out, oid: .1.3.6.1.4.1.3375.2.2.10.2.3.1.9..10.77.121.83.81.76.45.82.101.97.100, value: U
06/22/2007 06:30:10 PM - CACTID: Poller[0] Host[39] DS[574] WARNING: Result from SNMP not valid. Partial Result: ...
06/22/2007 06:30:10 PM - CACTID: Poller[0] Host[39] ERROR: Problems parsing Multi SNMP OID! (oid: .1.3.6.1.4.1.3375.2.2.10.2.3.1.9..11.77.121.83.81.76.45.87.114.105.116.101)
06/22/2007 06:30:10 PM - CACTID: Poller[0] Host[39] ERROR: Problems parsing Multi SNMP OID! (oid: .1.3.6.1.4.1.3375.2.2.10.2.3.1.9..10.77.121.83.81.76.45.82.101.97.100)
06/22/2007 06:30:10 PM - CACTID: Poller[0] Host[39] DS[577] SNMP: v2: 10.33.1.1, dsname: traffic_in, oid: .1.3.6.1.4.1.3375.2.2.10.2.3.1.7..6.73.109.97.103.101.115, value: U
06/22/2007 06:30:10 PM - CACTID: Poller[0] Host[39] DS[577] WARNING: Result from SNMP not valid. Partial Result: ...
06/22/2007 06:30:10 PM - CACTID: Poller[0] Host[39] DS[576] SNMP: v2: 10.33.1.1, dsname: traffic_in, oid: .1.3.6.1.4.1.3375.2.2.10.2.3.1.7..3.87.119.119, value: U
06/22/2007 06:30:10 PM - CACTID: Poller[0] Host[39] DS[576] WARNING: Result from SNMP not valid. Partial Result: ...
06/22/2007 06:30:10 PM - CACTID: Poller[0] Host[39] ERROR: Problems parsing Multi SNMP OID! (oid: .1.3.6.1.4.1.3375.2.2.10.2.3.1.7..6.73.109.97.103.101.115)
06/22/2007 06:30:10 PM - CACTID: Poller[0] Host[39] ERROR: Problems parsing Multi SNMP OID! (oid: .1.3.6.1.4.1.3375.2.2.10.2.3.1.7..3.87.119.119)
06/22/2007 06:30:10 PM - CACTID: Poller[0] Host[39] DS[575] SNMP: v2: 10.33.1.1, dsname: traffic_in, oid: .1.3.6.1.4.1.3375.2.2.10.2.3.1.7..11.77.121.83.81.76.45.87.114.105.116.101, value: U
06/22/2007 06:30:10 PM - CACTID: Poller[0] Host[39] DS[575] WARNING: Result from SNMP not valid. Partial Result: ...
06/22/2007 06:30:10 PM - CACTID: Poller[0] Host[39] DS[574] SNMP: v2: 10.33.1.1, dsname: traffic_in, oid: .1.3.6.1.4.1.3375.2.2.10.2.3.1.7..10.77.121.83.81.76.45.82.101.97.100, value: U
06/22/2007 06:30:10 PM - CACTID: Poller[0] Host[39] DS[574] WARNING: Result from SNMP not valid. Partial Result: ...
06/22/2007 06:30:10 PM - CACTID: Poller[0] Host[39] ERROR: Problems parsing Multi SNMP OID! (oid: .1.3.6.1.4.1.3375.2.2.10.2.3.1.7..11.77.121.83.81.76.45.87.114.105.116.101)
scantos
Posts: 1
Joined: Wed Jul 25, 2007 4:52 am

problem to get vs stats

Post by scantos »

Hello,

I can walk on the vs names with OID:
# snmpwalk -m ALL -v1 -c XXX YYY.YYY.YYY.YYY .1.3.6.1.4.1.3375.2.2.10.2.3.1.1
F5-BIGIP-LOCAL-MIB::ltmVirtualServStatName."vipav" = STRING: vipav
....

But I can't get anything related to stats:
.1.3.6.1.4.1.3375.2.2.10.2.3.1.6 gives no answer but it should tell me the Packets in, same happen for other stats.

any help would be apreciated.

Thx in advance
pwohlers
Posts: 22
Joined: Mon Jun 04, 2007 1:36 pm

Post by pwohlers »

Are there any know issues importing the host template for this into 0.8.6.j?

I keep getting:
Error: XML: Cacti version does not exist.

when I try importing:
F5_BigIP_v9-Host_Template-rev_6.xml

similar problems were reported for a competing bigip template here:
http://forums.cacti.net/viewtopic.php?t ... does+exist.

but in their case it seems as if an upgrade fixed it for them.

Posts in other threads seemed less helpful.

Thoughts?
ilusha10
Posts: 8
Joined: Wed Mar 07, 2007 2:15 pm

Post by ilusha10 »

I followed instaruction and installes F5 template, can see only temperature, nothing else is graphing?
Cacti log file:
08/07/2007 05:27:00 PM - CMDPHP: Poller[0] Host[40] DS[478] SNMP: v1: 172.20.30.103, dsname: packets_out, oid: .1.3.6.1.4.1.3375.2.1.1.2.1.4.0, output: U
08/07/2007 05:27:00 PM - CMDPHP: Poller[0] Host[40] DS[478] WARNING: Result from SNMP not valid. Partial Result:
08/07/2007 05:27:00 PM - CMDPHP: Poller[0] Host[40] DS[477] SNMP: v1: 172.20.30.103, dsname: packets_in, oid: .1.3.6.1.4.1.3375.2.1.1.2.1.2.0, output: U
08/07/2007 05:27:00 PM - CMDPHP: Poller[0] Host[40] DS[477] WARNING: Result from SNMP not valid. Partial Result:
08/07/2007 05:26:59 PM - CMDPHP: Poller[0] Host[40] DS[476] SNMP: v1: 172.20.30.103, dsname: http_5xx_resp, oid: .1.3.6.1.4.1.3375.2.1.1.2.4.6.0, output: U
08/07/2007 05:26:59 PM - CMDPHP: Poller[0] Host[40] DS[476] WARNING: Result from SNMP not valid. Partial Result:
08/07/2007 05:26:59 PM - CMDPHP: Poller[0] Host[40] DS[475] SNMP: v1: 172.20.30.103, dsname: http_4xx_resp, oid: .1.3.6.1.4.1.3375.2.1.1.2.4.5.0, output: U
08/07/2007 05:26:59 PM - CMDPHP: Poller[0] Host[40] DS[475] WARNING: Result from SNMP not valid. Partial Result:
08/07/2007 05:26:59 PM - CMDPHP: Poller[0] Host[40] DS[474] SNMP: v1: 172.20.30.103, dsname: http_3xx_resp, oid: .1.3.6.1.4.1.3375.2.1.1.2.4.4.0, output: U
ben_c
Cacti User
Posts: 203
Joined: Mon May 14, 2007 8:12 pm
Location: Melbourne, Australia.

Post by ben_c »

matibut14 wrote:One question:
Is there a way to change the Hex IP value (for a virtual server) to decimal?

Thanks

BTW, thanks for the good work!
Does anyone have a fix for this? I need the decimal IP address of the virtual servers to display, but am only seeing hex :

Hex- 0A 60 0F 11 1389

Other than that, big thanks for the template!
bsdboy
Cacti User
Posts: 87
Joined: Mon May 22, 2006 5:24 pm

Post by bsdboy »

Quoted from above... Let us know how this works!
dermoth wrote:
matibut14 wrote:The following works for me:
One question:
Is there a way to change the Hex IP value (for a virtual server) to decimal?
You have to modify the F5-BIGIP-LOCAL-MIB.txt. Import InetAddressIPv4 from INET-ADDRESS-MIB then use it wherever you need it (Don't just replace every occurcenes of InetAddress as you'll break the places where there is an IP address is embedded in the OID).

So replace:
InetAddress, InetAddressType
FROM INET-ADDRESS-MIB
With:
InetAddress, InetAddressIPv4, InetAddressType
FROM INET-ADDRESS-MIB

Then find the textual oids you want to change (I did: ltmVirtualServAddr, ltmVirtualServWildmask, ltmVirtualAddrAddr, ltmVirtualAddrStatAddr and ltmVAddrStatusAddr) and change the type to InetAddressIPv4. (you will have to change it at two places for each oid).

BE AWARE THAT THIS CHANGE WILL BREAK IPv6 ADDRESSES. The reason addresses are printed in hex is because there can be two types of addresses on the same OID.
ben_c
Cacti User
Posts: 203
Joined: Mon May 14, 2007 8:12 pm
Location: Melbourne, Australia.

Post by ben_c »

I'd prefer to re-configure Cacti than having to re-configure hosts!
elbrusz
Posts: 1
Joined: Thu Sep 06, 2007 12:29 pm

problems

Post by elbrusz »

Hi,

i've used host template - cacti_host_template_f5_bigip_v9_rev_6.1.xml
which was supposed to take care of some of the problems.

i've also changed the oid_index_parse fields in the files. however i still don't have the graphs for ifStat, VS and temp

f5_bigip_ifStat.xml:
<oid_index_parse>OID/REGEXP:^.*\.3375\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.(.*)$</oid_index_parse>
f5_bigip_vs.xml:
<oid_index_parse>OID/REGEXP:^.*\.3375\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.(.*)$</oid_index_parse>


i got 0.8.6j version of cacti.

anything else i am missing?
thanks,
vasile
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests