BigIP v9 Template

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

Moderators: Developers, Moderators

Post Reply
mahkra
Posts: 1
Joined: Thu Dec 20, 2007 1:32 pm

Post by mahkra »

has anyone gotten these to work with the .87 version? My logs now look like:

Code: Select all

12/20/2007 10:30:14 AM - SPINE: Poller[0] Host[5] DS[1828] WARNING: Result from SNMP not valid. Partial Result: ...  
12/20/2007 10:30:14 AM - SPINE: Poller[0] Host[5] DS[1827] WARNING: Result from SNMP not valid. Partial Result: ...  
12/20/2007 10:30:14 AM - SPINE: Poller[0] Host[5] DS[1827] WARNING: Result from SNMP not valid. Partial Result: ...  
12/20/2007 10:30:14 AM - SPINE: Poller[0] Host[5] DS[1826] WARNING: Result from SNMP not valid. Partial Result: ...  
12/20/2007 10:30:14 AM - SPINE: Poller[0] Host[5] DS[1826] WARNING: Result from SNMP not valid. Partial Result: ...  
12/20/2007 10:30:14 AM - SPINE: Poller[0] Host[5] DS[1825] WARNING: Result from SNMP not valid. Partial Result: ...  
12/20/2007 10:30:14 AM - SPINE: Poller[0] Host[5] DS[1825] WARNING: Result from SNMP not valid. Partial Result: ...  
12/20/2007 10:30:14 AM - SPINE: Poller[0] Host[5] DS[1824] WARNING: Result from SNMP not valid. Partial Result: ...  
12/20/2007 10:30:14 AM - SPINE: Poller[0] Host[5] DS[1824] WARNING: Result from SNMP not valid. Partial Result: ...  
12/20/2007 10:30:14 AM - SPINE: Poller[0] Host[5] DS[1823] WARNING: Result from SNMP not valid. Partial Result: ...  
12/20/2007 10:30:14 AM - SPINE: Poller[0] Host[5] ERROR: Problems parsing Multi SNMP OID! (oid: .1.3.6.1.4.1.3375.2.2.10.2.3.1.11..38.118.115.95.104.116.116.112.115.95.80.101.114.115.104.105.110.103.108.105.110.107.46.115.104.97.114.101.98.117.105.108.100.101.114.46.99.111.109)  
12/20/2007 10:30:13 AM - SPINE: Poller[0] Host[5] ERROR: Problems parsing Multi SNMP OID! (oid: .1.3.6.1.4.1.3375.2.2.10.2.3.1.11..35.118.115.95.104.116.116.112.115.95.115.98.115.101.114.118.105.99.101.46.115.104.97.114.101.98.117.105.108.100.101.114.46.99.111.109)  
12/20/2007 10:30:13 AM - SPINE: Poller[0] Host[5] ERROR: Problems parsing Multi SNMP OID! (oid: .1.3.6.1.4.1.3375.2.2.10.2.3.1.11..35.118.115.95.104.116.116.112.115.95.115.98.115.101.114.118.105.99.101.46.115.104.97.114.101.98.117.105.108.100.101.114.46.99.111.109)  
12/20/2007 10:30:13 AM - SPINE: Poller[0] Host[5] ERROR: Problems parsing Multi SNMP OID! (oid: .1.3.6.1.4.1.3375.2.2.10.2.3.1.11..34.118.115.95.104.116.116.112.95.115.98.115.101.114.118.105.99.101.46.115.104.97.114.101.98.117.105.108.100.101.114.46.99.111.109)  
12/20/2007 10:30:13 AM - SPINE: Poller[0] Host[5] ERROR: Problems parsing Multi SNMP OID! (oid: .1.3.6.1.4.1.3375.2.2.10.2.3.1.11..34.118.115.95.104.116.116.112.95.115.98.115.101.114.118.105.99.101.46.115.104.97.114.101.98.117.105.108.100.101.114.46.99.111.109)  
any clue where to go from here. Graphs are also not working.
aboling
Posts: 8
Joined: Fri Nov 09, 2007 7:52 pm

Post by aboling »

mahkra wrote:has anyone gotten these to work with the .87 version?
Nope. I tried setting up a new cacti instance from scratch as well to rule out bad patching, but it didn't work either. A few of the graphs templates will work, such as global connections, but Virtual Server graphing is dead in the water along with a few others.

Anyone else with 0.8.7 running into this behavior?
bsdboy
Cacti User
Posts: 87
Joined: Mon May 22, 2006 5:24 pm

Post by bsdboy »

** Possibly off topic **

My bigip's are suffering from silent reboots lately, we've been able to track it down to hardware watchdog timeouts. I'm starting to wonder if Cacti might have a part in this. Well I'd like to at least rule it out so I thought I'd ask the group that uses these templates.

Is anyone else that is using this template suffering from silent reboots?

Symptoms are:

Version 9.3.0 HF5, build 194.9 (shows 194.1)
Silent reboot, nothing in /var/core
Periodic reboots, any given day at any given time
No logs except on the console, which are:
System is booting, please wait...
WARNING: Reset caused by hw watchdog timeout!
Press Ctrl-c to stop autoboot: 0
logger: WARNING: Reset caused by hw watchdog timeout!
georgejfge
Posts: 1
Joined: Tue Feb 19, 2008 4:29 pm

Post by georgejfge »

I just downloaded the template F5_BigIP_v9-Host_Template-rev_6.zip for installing. But when I tried to import the xml file "F5_BigIP_v9-Host_Template-rev_6.xml", I got error message "Error: XML: Hash version does not exist". Does this mean my current cacti (ver 0.8.6h) is too old to import this template? What version should I upgrade to? Thanks in advance.

Here is the version detail of the components on my cacti serer:

Linux 2.6.10-1.770
Cacti: 0.8.6h
php 4.3.9
mysql 3.23.58
RRDTool 1.0.49
NET-SNMP ???
soloslinger
Posts: 32
Joined: Fri Jan 19, 2007 2:11 pm

Post by soloslinger »

I am pretty close to getting this to work. I can pull vs staticstics via net-snmp to the server, but when I go to create the graphs it allows me but the rrd files never seem to get created. Under devices, the F5 is listed as up, and a correct number under data sources. Under "New Graphs" the data queries display all the correct virtual servers.

FreeBSD 6.2-release
php 5.2.5
rrdtool 1.2.23
cacti 0.8.7a
net-snmp 5.x

DS debug info

Code: Select all

Notice:  Undefined index:   in /usr/local/share/cacti/lib/rrd.php on line 225
/usr/local/bin/rrdtool create \
/usr/local/share/cacti/rra/**snipped**traffic_in_334.rrd \
--step 300  \
DS:traffic_in:COUNTER:120:0:1000000000 \
DS:traffic_out:COUNTER:120:0:1000000000 \
RRA::0.5:1:105120 \
RRA:AVERAGE:0.5:1:600 \
RRA:AVERAGE:0.5:6:700 \
RRA:AVERAGE:0.5:24:775 \
RRA:AVERAGE:0.5:288:797 \
RRA:MAX:0.5:1:600 \
RRA:MAX:0.5:6:700 \
RRA:MAX:0.5:24:775 \
RRA:MAX:0.5:288:797 \
Graph Debug

Code: Select all

  RRDTool Command:

/usr/local/bin/rrdtool graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title="**snipped**" \
--base=1000 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit=0 \
--vertical-label="bits/sec" \
--slope-mode \
--font TITLE:12: \
--font AXIS:8: \
--font LEGEND:10: \
--font UNIT:8: \
DEF:a="/usr/local/share/cacti/rra/**snipped**traffic_in_334.rrd":traffic_in:AVERAGE \
DEF:b="/usr/local/share/cacti/rra/**snipped**traffic_in_334.rrd":traffic_in:MAX \
DEF:c="/usr/local/share/cacti/rra/**snipped**traffic_in_334.rrd":traffic_out:AVERAGE \
DEF:d="/usr/local/share/cacti/rra/**snipped**traffic_in_334.rrd":traffic_out:MAX \
CDEF:cdefa=a,8,* \
CDEF:cdefd=b,8,* \
CDEF:cdefe=c,8,* \
CDEF:cdefh=d,8,* \
AREA:cdefa#00CF00FF:"Inbound"  \
GPRINT:cdefa:LAST:" Current\:%8.2lf %s"  \
GPRINT:cdefa:AVERAGE:"Average\:%8.2lf %s"  \
GPRINT:cdefd:MAX:"Maximum\:%8.2lf %s\n"  \
LINE1:cdefe#002A97FF:"Outbound"  \
GPRINT:cdefe:LAST:"Current\:%8.2lf %s"  \
GPRINT:cdefe:AVERAGE:"Average\:%8.2lf %s"  \
GPRINT:cdefh:MAX:"Maximum\:%8.2lf %s"  \
VRULE:1202882400#000000FF:"" 
RRDTool Says:

ERROR: opening '/usr/local/share/cacti/rra/**snipped**traffic_in_334.rrd': No such file or directory
The poller logs when ran in debug mode shows that everytime the poller runs it is trying to create the graphs. The rrd files don't exist on the server. If I take the rrdtool create line out of the poller debug logs and run it on the servers cli:

Code: Select all

/usr/local/bin/rrdtool create /usr/local/share/cacti/rra/**snipped**traffic_in_334.rrd --step 300 DS:traffic_in:COUNTER:120:0:1000000000 DS:traffic_out:COUNTER:120:0:1000000000 RRA::0.5:1:105120 RRA:AVERAGE:0.5:1:600 RRA:AVERAGE:0.5:6:700 RRA:AVERAGE:0.5:24:775 RRA:AVERAGE:0.5:288:797 RRA:MAX:0.5:1:600 RRA:MAX:0.5:6:700 RRA:MAX:0.5:24:775 RRA:MAX:0.5:288:797 
it responds saying
ERROR: Unrecognized consolidation function
I can snmp walk the oids from the server and everything is returned correctly from the F5. I am not sharp enough with my rrdtool create statements to understand whats going on, but it feels like the command might be generated incorrectly. On the other hand though, generic-snmp enabled hosts (basic switches and the like) were created and graphing just fine.

http://devcentral.f5.com/Default.aspx?t ... icleId=136 is the template howto I followed to get this far.

If someone with sharper eyes then mine has any idea what may be going on, I'd appreciate the help.


soloslinger
ben_c
Cacti User
Posts: 203
Joined: Mon May 14, 2007 8:12 pm
Location: Melbourne, Australia.

Post by ben_c »

Check this thread slinger, it may explain why it's not working and what needs updating : http://forums.cacti.net/viewtopic.php?t=23932

I'm about to install about 16 new BigIP's so need to get this template fixed up too.
bsdboy
Cacti User
Posts: 87
Joined: Mon May 22, 2006 5:24 pm

Post by bsdboy »

I've recently had some problems with my older version of Cacti and restored to 0.8.7b and my bigip graphs are still working. Actually they did stop working but recreating the device seems to be just fine.

I never was able to get the actual physical interfaces to graph but my switches have that info.

Anyway, here's what I have.
Attachments
bigipTemplate.tar.gz
(18.74 KiB) Downloaded 490 times
ben_c
Cacti User
Posts: 203
Joined: Mon May 14, 2007 8:12 pm
Location: Melbourne, Australia.

Post by ben_c »

Guys, I suggest grabbing this article from F5's devcentral on Cacti monitoring, it's working well for me :

http://devcentral.f5.com/downloads/tech ... mplate.zip
ben_c
Cacti User
Posts: 203
Joined: Mon May 14, 2007 8:12 pm
Location: Melbourne, Australia.

Post by ben_c »

Seems the TMM CPU script is causing some issues every now and then with spine, long poll times and crashing the script server. The script seems to return data ok I think, but doesn't seem to run well every now and then :

03/20/2008 10:25:04 AM - SPINE: Poller[0] FATAL: Connection Failed: Too many connections (Spine thread)
03/20/2008 10:25:04 AM - PHPSVR: Poller[0] ERROR: Input Expected, Script Server Terminating
03/20/2008 10:25:04 AM - PHPSVR: Poller[0] ERROR: Input Expected, Script Server Terminating
03/20/2008 10:25:04 AM - PHPSVR: Poller[0] ERROR: Input Expected, Script Server Terminating
03/20/2008 10:25:04 AM - PHPSVR: Poller[0] ERROR: Input Expected, Script Server Terminating
03/20/2008 10:25:04 AM - PHPSVR: Poller[0] ERROR: Input Expected, Script Server Terminating
03/20/2008 10:25:04 AM - PHPSVR: Poller[0] ERROR: Input Expected, Script Server Terminating
03/20/2008 10:25:04 AM - PHPSVR: Poller[0] ERROR: Input Expected, Script Server Terminating
03/20/2008 10:25:04 AM - PHPSVR: Poller[0] ERROR: Input Expected, Script Server Terminating
03/20/2008 10:25:04 AM - PHPSVR: Poller[0] ERROR: Input Expected, Script Server Terminating
03/20/2008 10:25:04 AM - PHPSVR: Poller[0] ERROR: Input Expected, Script Server Terminating
03/20/2008 10:30:00 AM - POLLER: Poller[0] Maximum runtime of 298 seconds exceeded. Exiting.
bsdboy
Cacti User
Posts: 87
Joined: Mon May 22, 2006 5:24 pm

Post by bsdboy »

Funny I was just looking at this same thing 8)

Here is what I was seeing, I would get two runs under a minute and then the third would give that error and take 299 seconds. Then another two good polls with the third spewing the error and the 299 seconds.

I found something that stated that this is actually a mysql error, too many open connections. I guess you could use netstat or lsof to see how many sql connections are open when it gives the error to make sure.

By default mysql has 100 connections max, you can verify what you have with this:
mysqladmin -u root -p variables |egrep max_connections

I went ahead and added this to my.cnf and restarted mysqld:
set-variable=max_connections=1000

So far I've gone 1/2 an hour without the error while they were showing up every 15 minutes previously. Here's some logs:
[root@cacti /usr/local/cacti/log] 22#cat cacti.log |egrep SYS
03/19/2008 05:15:38 PM - SYSTEM STATS: Time:36.8164 Method:spine Processes:8 Threads:16 Hosts:86 HostsPerProcess:11 DataSources:8022 RRDsProcessed:3686
03/19/2008 05:20:36 PM - SYSTEM STATS: Time:34.7415 Method:spine Processes:8 Threads:16 Hosts:86 HostsPerProcess:11 DataSources:8022 RRDsProcessed:3686
03/19/2008 05:30:00 PM - SYSTEM STATS: Time:299.0132 Method:spine Processes:8 Threads:16 Hosts:86 HostsPerProcess:11 DataSources:8022 RRDsProcessed:3403
03/19/2008 05:30:34 PM - SYSTEM STATS: Time:32.7022 Method:spine Processes:8 Threads:16 Hosts:86 HostsPerProcess:11 DataSources:8022 RRDsProcessed:3686
03/19/2008 05:35:34 PM - SYSTEM STATS: Time:32.7226 Method:spine Processes:8 Threads:16 Hosts:86 HostsPerProcess:11 DataSources:7972 RRDsProcessed:3636
03/19/2008 05:45:00 PM - SYSTEM STATS: Time:299.3300 Method:spine Processes:8 Threads:16 Hosts:86 HostsPerProcess:11 DataSources:7872 RRDsProcessed:2646
03/19/2008 05:45:32 PM - SYSTEM STATS: Time:31.5083 Method:spine Processes:8 Threads:16 Hosts:86 HostsPerProcess:11 DataSources:7872 RRDsProcessed:3586
03/19/2008 05:50:34 PM - SYSTEM STATS: Time:32.8399 Method:spine Processes:8 Threads:16 Hosts:86 HostsPerProcess:11 DataSources:7872 RRDsProcessed:3586
03/19/2008 05:55:34 PM - SYSTEM STATS: Time:32.8394 Method:spine Processes:8 Threads:16 Hosts:86 HostsPerProcess:11 DataSources:7872 RRDsProcessed:3586
03/19/2008 06:00:36 PM - SYSTEM STATS: Time:34.4901 Method:spine Processes:8 Threads:16 Hosts:86 HostsPerProcess:11 DataSources:7872 RRDsProcessed:3586
03/19/2008 06:05:33 PM - SYSTEM STATS: Time:32.4287 Method:spine Processes:8 Threads:16 Hosts:86 HostsPerProcess:11 DataSources:7872 RRDsProcessed:3586
03/19/2008 06:10:35 PM - SYSTEM STATS: Time:34.7848 Method:spine Processes:8 Threads:16 Hosts:86 HostsPerProcess:11 DataSources:7872 RRDsProcessed:3586
[root@cacti /usr/local/cacti/log] 23#
ben_c
Cacti User
Posts: 203
Joined: Mon May 14, 2007 8:12 pm
Location: Melbourne, Australia.

Post by ben_c »

Yup, i'm seeing similar behavior, i'll have to have a look at MySQL, but seems odd it's just for this script? For the record it's the same behavior for the first cpu script and the later 10s delta one. When this script runs, it doubles the time taken for spine to run.

I'm also questioning if I am actually getting correct data even when the script does work, as I have tested 4 LTM's so far, and all always return a 0 CPU graph. Are you getting actual CPU utlisation being graphed? When I manually run the perl script I always seem to get a 0 result.
I went ahead and added this to my.cnf and restarted mysqld:
set-variable=max_connections=1000

So far I've gone 1/2 an hour without the error while they were showing up every 15 minutes previously. Here's some logs:
Or it's just lengthening the time between problems :-?
bsdboy
Cacti User
Posts: 87
Joined: Mon May 22, 2006 5:24 pm

Post by bsdboy »

Interestingly enough, I am not running the CPU script but am receiving that same error. Are you positive that's the script that is causing the problem? I've been running for 4.5 hours without a hitch. Let us know what you find!

Here's where I found information regarding upping the mysql mac_connections.
http://forums.cacti.net/about25436.html
ben_c
Cacti User
Posts: 203
Joined: Mon May 14, 2007 8:12 pm
Location: Melbourne, Australia.

Post by ben_c »

bsdboy wrote:Interestingly enough, I am not running the CPU script but am receiving that same error. Are you positive that's the script that is causing the problem? I've been running for 4.5 hours without a hitch. Let us know what you find!

Here's where I found information regarding upping the mysql mac_connections.
http://forums.cacti.net/about25436.html
I've disabled all TMM CPU data sources and the poller is now running cleanly, I enable them and within 3-4 poller runs it does a full 300 second run and I get errors, so somethings not right with that script or the syntax to call it.
ben_c
Cacti User
Posts: 203
Joined: Mon May 14, 2007 8:12 pm
Location: Melbourne, Australia.

Post by ben_c »

bsdboy wrote:Interestingly enough, I am not running the CPU script but am receiving that same error. Are you positive that's the script that is causing the problem? I've been running for 4.5 hours without a hitch. Let us know what you find!

Here's where I found information regarding upping the mysql mac_connections.
http://forums.cacti.net/about25436.html
How'd you end up going with the max connections?

I'm still getting random issues, am wondering if it's related to my mysql config now

03/26/2008 03:25:04 PM - SPINE: Poller[0] FATAL: Connection Failed: Too many connections (Spine thread)
03/26/2008 03:25:04 PM - PHPSVR: Poller[0] ERROR: Input Expected, Script Server Terminating
03/26/2008 03:25:04 PM - PHPSVR: Poller[0] ERROR: Input Expected, Script Server Terminating
03/26/2008 03:25:04 PM - PHPSVR: Poller[0] ERROR: Input Expected, Script Server Terminating
03/26/2008 03:25:04 PM - PHPSVR: Poller[0] ERROR: Input Expected, Script Server Terminating
03/26/2008 03:25:04 PM - PHPSVR: Poller[0] ERROR: Input Expected, Script Server Terminating
03/26/2008 03:25:05 PM - PHPSVR: Poller[0] ERROR: Input Expected, Script Server Terminating
03/26/2008 03:25:05 PM - PHPSVR: Poller[0] ERROR: Input Expected, Script Server Terminating
03/26/2008 03:25:05 PM - PHPSVR: Poller[0] ERROR: Input Expected, Script Server Terminating
03/26/2008 03:25:05 PM - PHPSVR: Poller[0] ERROR: Input Expected, Script Server Terminating
03/26/2008 03:25:05 PM - PHPSVR: Poller[0] ERROR: Input Expected, Script Server Terminating
03/26/2008 03:30:01 PM - POLLER: Poller[0] Maximum runtime of 298 seconds exceeded. Exiting.
bsdboy
Cacti User
Posts: 87
Joined: Mon May 22, 2006 5:24 pm

Post by bsdboy »

Here's how I came to the conclusion, this post right here has the same error:
http://forums.cacti.net/viewtopic.php?p=123753#123753

And found that the message is actually a MySQL error here later in the thread, and that the recommendation was to up the max_connections:
http://forums.cacti.net/viewtopic.php?p=123768#123768

The person that started that thread apparently had more problems than I did, because the max_connections works for me. I have not had a poll over 50 seconds since I implemented it.

To implement I just added this line to /etc/my.cnf and restarted mysqld:

Code: Select all

set-variable=max_connections=1000 
Would be interested to hear your results 8)
Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests