BigIP v9 Template
Moderators: Developers, Moderators
Nope, still not working for me. I have tried all the regex ideas forementioned in this thread, and still not working. We are running 9.2.4 on LTM6800s.
I am able to get some graphs to appear, but none of the VS related ones.
Thoughts anyone?
03/07/2007 10:35:20 AM - CACTID: Poller[0] Host[209] ERROR: Problems parsing Multi SNMP OID! (oid: .1.3.6.1.4.1.3375.2.2.10.2.3.1.11..98.104.45.108.100.97.112.45.51.56.57)
03/07/2007 10:35:20 AM - CACTID: Poller[0] Host[209] ERROR: Problems parsing Multi SNMP OID! (oid: .1.3.6.1.4.1.3375.2.2.10.2.3.1.11..98.104.45.108.100.97.112.45.51.56.57)
03/07/2007 10:35:20 AM - CACTID: Poller[0] Host[209] ERROR: Problems parsing Multi SNMP OID! (oid: .1.3.6.1.4.1.3375.2.2.10.2.3.1.11..119.105.110.98.104.95.112.114.111.118.95.56.56.56.56)
I am able to get some graphs to appear, but none of the VS related ones.
Thoughts anyone?
03/07/2007 10:35:20 AM - CACTID: Poller[0] Host[209] ERROR: Problems parsing Multi SNMP OID! (oid: .1.3.6.1.4.1.3375.2.2.10.2.3.1.11..98.104.45.108.100.97.112.45.51.56.57)
03/07/2007 10:35:20 AM - CACTID: Poller[0] Host[209] ERROR: Problems parsing Multi SNMP OID! (oid: .1.3.6.1.4.1.3375.2.2.10.2.3.1.11..98.104.45.108.100.97.112.45.51.56.57)
03/07/2007 10:35:20 AM - CACTID: Poller[0] Host[209] ERROR: Problems parsing Multi SNMP OID! (oid: .1.3.6.1.4.1.3375.2.2.10.2.3.1.11..119.105.110.98.104.95.112.114.111.118.95.56.56.56.56)
Guys I am having problems with this template. The following two graphs are not created:
- F5 BigIP - Global HTTP 2xx/3xx Responses
- F5 BigIP - TMM memory
I mean they are not created at all. It is not that the data does not appear on the graph, it is the graph does not appear at all. Please help me out.
Thanks
- F5 BigIP - Global HTTP 2xx/3xx Responses
- F5 BigIP - TMM memory
I mean they are not created at all. It is not that the data does not appear on the graph, it is the graph does not appear at all. Please help me out.
Thanks
So I had to rebuild my box yesterday due to the fact that Fedora is... well... whatever it is
Just wanted to say that everything worked just fine the first time when I did the following using CentOS4.4:
1) Follow the directions as the OP stated:
2) Replaced the OID parse with the below strings
3) Replaced the F5_BigIP_v9-Host_Template-rev_6.xml in my post a few posts back and imported twice
4) Edited the 200/300 Global graph template by changing the HRULE option in line 11 to VRULE.
I'm updating my original post because changing the HRULE value to '0' from '00:00' is incorrect, the correct way to fix this graph is to make line 11 a VRULE value instead of an HRULE value like all of the other graphs. Apologize for the misinformation, but it seemed to work
Just wanted to say that everything worked just fine the first time when I did the following using CentOS4.4:
1) Follow the directions as the OP stated:
2) Replaced the OID parse with the below strings
3) Replaced the F5_BigIP_v9-Host_Template-rev_6.xml in my post a few posts back and imported twice
4) Edited the 200/300 Global graph template by changing the HRULE option in line 11 to VRULE.
I'm updating my original post because changing the HRULE value to '0' from '00:00' is incorrect, the correct way to fix this graph is to make line 11 a VRULE value instead of an HRULE value like all of the other graphs. Apologize for the misinformation, but it seemed to work
bsdboy wrote:Hmmm, mine is now working...
Using the following regex:There is an error in F5_BigIP_v9-Host_Template-rev_6.xml, there is a 'traffic_in' where it should be 'traffic_out'. Attached is the file that is working for me. Also, there is an error in the HTTP2xx/3xx part, the HRULE is defined as 00:00 where it should be just 0. I did not fix this in the XML file, sorry I'm lazy, I don't know where this needs to be changed and I'm tired of mucking aroundCode: Select all
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>
So if you re-import this file, change the REGEXP in the above files, blast the device and re-create you may see an improvement... as usual, YMMV
Here ya go...aleu wrote:Could someone please post the final version of the host template, with all the necessary changes?bsdboy wrote:So I had to rebuild my box yesterday due to the fact that Fedora is... well... whatever it is
Thanks
edit: Still "might" have to edit the OID Parse manually, fyi
edit2: Another change in this file is that the VSTraffic has a 95th on each VIP
- Attachments
-
- cacti_host_template_f5_bigip_v9_rev_6.1.xml
- (174.1 KiB) Downloaded 1491 times
Thanks. I have managed to get all the graphs, except for TMM memory. This graph is not even created. Is there a way I can debug it somehow to find out what is causing them not to appear?bsdboy wrote:Here ya go...
edit: Still "might" have to edit the OID Parse manually, fyi
edit2: Another change in this file is that the VSTraffic has a 95th on each VIP
When I run
php ss_f5-bigip-tmm-memory.php
in a shell I get plenty of errors. See below:
Warning: Missing argument 1 for ss_f5tmm_mem() in /var/www/cacti/scripts/ss_f5-bigip-tmm-memory.php on line 15
Warning: Missing argument 2 for ss_f5tmm_mem() in /var/www/cacti/scripts/ss_f5-bigip-tmm-memory.php on line 15
Warning: Missing argument 3 for ss_f5tmm_mem() in /var/www/cacti/scripts/ss_f5-bigip-tmm-memory.php on line 15
Warning: Missing argument 4 for ss_f5tmm_mem() in /var/www/cacti/scripts/ss_f5-bigip-tmm-memory.php on line 15
Warning: Missing argument 5 for ss_f5tmm_mem() in /var/www/cacti/scripts/ss_f5-bigip-tmm-memory.php on line 15
Warning: Missing argument 6 for ss_f5tmm_mem() in /var/www/cacti/scripts/ss_f5-bigip-tmm-memory.php on line 15
Warning: Missing argument 7 for ss_f5tmm_mem() in /var/www/cacti/scripts/ss_f5-bigip-tmm-memory.php on line 15
Notice: Undefined variable: snmp_version in /var/www/cacti/scripts/ss_f5-bigip-tmm-memory.php on line 17
Notice: Undefined variable: snmp_version in /var/www/cacti/scripts/ss_f5-bigip-tmm-memory.php on line 17
Notice: Undefined variable: hostname in /var/www/cacti/scripts/ss_f5-bigip-tmm-memory.php on line 34
Notice: Undefined variable: snmp_community in /var/www/cacti/scripts/ss_f5-bigip-tmm-memory.php on line 34
Notice: Undefined variable: snmp_version in /var/www/cacti/scripts/ss_f5-bigip-tmm-memory.php on line 34
Notice: Undefined variable: snmpv3_auth_username in /var/www/cacti/scripts/ss_f5-bigip-tmm-memory.php on line 34
Notice: Undefined variable: snmpv3_auth_password in /var/www/cacti/scripts/ss_f5-bigip-tmm-memory.php on line 34
Notice: Undefined variable: snmp_port in /var/www/cacti/scripts/ss_f5-bigip-tmm-memory.php on line 34
Notice: Undefined variable: snmp_timeout in /var/www/cacti/scripts/ss_f5-bigip-tmm-memory.php on line 34
Notice: Undefined variable: hostname in /var/www/cacti/scripts/ss_f5-bigip-tmm-memory.php on line 34
Notice: Undefined variable: snmp_community in /var/www/cacti/scripts/ss_f5-bigip-tmm-memory.php on line 34
Notice: Undefined variable: snmp_version in /var/www/cacti/scripts/ss_f5-bigip-tmm-memory.php on line 34
Notice: Undefined variable: snmpv3_auth_username in /var/www/cacti/scripts/ss_f5-bigip-tmm-memory.php on line 34
Notice: Undefined variable: snmpv3_auth_password in /var/www/cacti/scripts/ss_f5-bigip-tmm-memory.php on line 34
Notice: Undefined variable: snmp_port in /var/www/cacti/scripts/ss_f5-bigip-tmm-memory.php on line 34
Notice: Undefined variable: snmp_timeout in /var/www/cacti/scripts/ss_f5-bigip-tmm-memory.php on line 34
Please advise.
Thanks
Here is the output from the debug mode:aleu wrote:Thanks. I have managed to get all the graphs, except for TMM memory.
RRDTool Command:
/usr/bin/rrdtool graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title="BIGIP - TMM memory" \
--rigid \
--base=1024 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit=0 \
--vertical-label="Bytes" \
--slope-mode \
DEF:a="/var/www/cacti/rra/bigip_tmmmemtotal_232.rrd":TmmMemTotal:AVERAGE \
DEF:b="/var/www/cacti/rra/bigip_tmmmemtotal_232.rrd":TmmMemUsed:AVERAGE \
AREA:a#0000FF:"Avilable memory" \
GPRINTLAST:"Current\:%8.2lf %s\n" \
AREA:b#FFAB00:"Memory in use" \
GPRINTLAST:" Current\:%8.2lf %s" \
GPRINTAVERAGE:"Average\:%8.2lf %s" \
GPRINTMAX:"Maximum\:%8.2lf %s\n" \
COMMENT:"The graph shows the total memory avilable to TMM compared to the memory in use." \
VRULE:1176177600#000000:""
RRDTool Says:
ERROR: opening '/var/www/cacti/rra/bigip_tmmmemtotal_232.rrd': No such file or directory
Indeed, this file does not exist!
Please advise
Thanks for your prompt response. Yes, that is very probable. I had some PHP module related errors lately (related to other things). I am using Debian Etch (testing). Other specs listed below:bsdboy wrote:Looks like this is a PHP problem, maybe missing a module. I had an incorrect path for a bit which pointed to the canned RPM version of PHP and the memory worked.
Did you build from source? What OS are you using?
Please let me know what else I could let you know in order to help me resolve this error.Cacti Version - 0.8.6j
Plugin Architecture - 1.1
Poller Type - CMD.php
Server Info - Linux 2.6.18-4-686
Web Server - Apache/2.2.3 (Debian) mod_python/3.2.10 Python/2.4.4 PHP/5.2.0-8+etch1 mod_perl/2.0.2 Perl/v5.8.8
PHP - 5.2.0-8+etch1
PHP Extensions - zip, xmlwriter, libxml, xml, wddx, tokenizer, sysvshm, sysvsem, sysvmsg, session, SimpleXML, sockets, soap, SPL, shmop, standard, Reflection, posix, mime_magic, mbstring, json, iconv, hash, gettext, ftp, filter, exif, dom, dba, date, ctype, calendar, bz2, bcmath, zlib, pcre, openssl, xmlreader, apache2handler, mysql, gd, ldap, mysqli, PDO, pdo_mysql, pdo_pgsql, pgsql, snmp, xmlrpc
MySQL - 5.0.32-Debian_7etch1-log
RRDTool - 1.2.15
SNMP - 5.2.3
Plugins
- Thresholds (thold - v0.3.0)
Network Discovery (discovery - v0.7)
Network Tools (tools - v0.2)
PHP Network Managing (manage - v0.4)
Host Info (hostinfo - v0.1)
Device Monitoring (monitor - v0.7)
Update Checker (update - v0.3)
Think I'm getting close, I can run the script manually with cmp.php and get valid results but from within cacti it borks...
Running by hand:
04/11/2007 03:32:01 PM - POLLER: Poller[0] CACTI2RRD: /usr/local/rrdtool-1.2.19/bin/rrdtool update /data/www/cacti/rra/dcbigip1_tmmmemtotal_1770.rrd --template TmmMemTotal:TmmMemUsed 1176330587:3942645760:1926445304
Running via Cacti:
04/11/2007 03:35:47 PM - POLLER: Poller[0] CACTI2RRD: /usr/local/rrdtool-1.2.19/bin/rrdtool update /data/www/cacti/rra/dcbigip1_tmmmemtotal_1770.rrd --template 1176330793:U
Running by hand:
04/11/2007 03:32:01 PM - POLLER: Poller[0] CACTI2RRD: /usr/local/rrdtool-1.2.19/bin/rrdtool update /data/www/cacti/rra/dcbigip1_tmmmemtotal_1770.rrd --template TmmMemTotal:TmmMemUsed 1176330587:3942645760:1926445304
Running via Cacti:
04/11/2007 03:35:47 PM - POLLER: Poller[0] CACTI2RRD: /usr/local/rrdtool-1.2.19/bin/rrdtool update /data/www/cacti/rra/dcbigip1_tmmmemtotal_1770.rrd --template 1176330793:U
OK. In my case it is:bsdboy wrote:Ah ha, looks like php didn't have enough memory. I've set php.ini memory_limit to 512M and I have graphs again.
bash-3.00# /usr/local/php/bin/php -i |grep -ir memory
Zend Memory Manager => enabled
memory_limit => 512M => 512M
I have changed this to 512. Let's see.root@black:/var/www/cacti/scripts# php -i |grep -ir memory
Zend Memory Manager => enabled
memory_limit => 16M => 16M
Who is online
Users browsing this forum: mokeyfraggle and 11 guests