BigIP v9 Template
Moderators: Developers, Moderators
Hi sojourner9,
Is there any error messages in the cacti log file or in the apache log files ?
I once saw similar behavior in the cacti forum (blank page during importation of another host template) and it was due to php memory limit. I understood it was fixed by changing the memory_limit parameter of the php.ini file.
Regards
Youri
Is there any error messages in the cacti log file or in the apache log files ?
I once saw similar behavior in the cacti forum (blank page during importation of another host template) and it was due to php memory limit. I understood it was fixed by changing the memory_limit parameter of the php.ini file.
Regards
Youri
-
- Posts: 6
- Joined: Fri Jul 16, 2010 7:45 am
Perhaps I should have posted this here:
Poller works from cli but not from cron
I can see that the cron job is running from the cron log, but can't see in the cacti logs what is causing this issue. Environmental settings perhaps?
Logs show cacti doing something (see below) but graphs not being updated unless run from command line.
If I could find an error I could have a go at fixing it.....
Thanks for looking.
The F5 config guide suggests using root as the user in cron. The poll does not update the graphs if run as cacti, only when run by root and from the command line.
RRA and log directories are owned by cacti:root.
php is located at /usr/local/php/bin/php. The settings>Path window shows that this can be found. I also put a sym link into /usr/local/bin/php.
Example from cacti.log:
07/16/2010 01:47:43 PM - WEBLOG: Poller[0] CACTI2RRD: /usr/bin/rrdtool graph - --imgformat=PNG --start=1279198061 --end=1279284461 --title="f5-0-prv.unix-ilo.city.ac.uk - Memory Utilization" --base=1024 --height=200 --width=600 --alt-autoscale-max --lower-limit=0 COMMENT:"From 2010/07/15 13\:47\:41 To 2010/07/16 13\:47\:41\c" COMMENT:" \n" --vertical-label="Bytes" --slope-mode --font TITLE:12: --font AXIS:8: --font LEGEND:10: --font UNIT:8: DEF:a="/var/www/html/cacti-0.8.7e/rra/f5-0-prv_unix-ilo_city_ac_uk_tmm_mem_total_400.rrd":tmm_mem_total:AVERAGE DEF:b="/var/www/html/cacti-0.8.7e/rra/f5-0-prv_unix-ilo_city_ac_uk_tmm_mem_used_401.rrd":tmm_mem_used:AVERAGE DEF:c="/var/www/html/cacti-0.8.7e/rra/f5-0-prv_unix-ilo_city_ac_uk_global_mem_total_398.rrd":global_mem_total:AVERAGE DEF:d="/var/www/html/cacti-0.8.7e/rra/f5-0-prv_unix-ilo_city_ac_uk_global_mem_used_399.rrd":global_mem_used:AVERAGE CDEF:cdefg=c,-1,* CDEF:cdefi=d,-1,* AREA:a#0000FFFF:"TMM Mem Total" GPRINTLAST:"Current\:%8.2lf %s\n" AREA:b#FFAB00FF:"TMM Mem Used" GPRINTLAST:" Current\:%8.2lf %s" GPRINTAVERAGE:"Average\:%8.2lf %s" GPRINTMAX:"Maximum\:%8.2lf %s\n" AREA:cdefg#0000FFFF:"Total Mem" GPRINT:c:LAST:" Current\:%8.2lf %s\n" AREA:cdefi#FFAB00FF:"Used Mem" GPRINT:d:LAST:" Current\:%8.2lf %s" GPRINT:d:AVERAGE:"Average\:%8.2lf %s" GPRINT:d:MAX:"Maximum\:%8.2lf %s\n"
Poller works from cli but not from cron
I can see that the cron job is running from the cron log, but can't see in the cacti logs what is causing this issue. Environmental settings perhaps?
Logs show cacti doing something (see below) but graphs not being updated unless run from command line.
If I could find an error I could have a go at fixing it.....
Thanks for looking.
The F5 config guide suggests using root as the user in cron. The poll does not update the graphs if run as cacti, only when run by root and from the command line.
RRA and log directories are owned by cacti:root.
php is located at /usr/local/php/bin/php. The settings>Path window shows that this can be found. I also put a sym link into /usr/local/bin/php.
Example from cacti.log:
07/16/2010 01:47:43 PM - WEBLOG: Poller[0] CACTI2RRD: /usr/bin/rrdtool graph - --imgformat=PNG --start=1279198061 --end=1279284461 --title="f5-0-prv.unix-ilo.city.ac.uk - Memory Utilization" --base=1024 --height=200 --width=600 --alt-autoscale-max --lower-limit=0 COMMENT:"From 2010/07/15 13\:47\:41 To 2010/07/16 13\:47\:41\c" COMMENT:" \n" --vertical-label="Bytes" --slope-mode --font TITLE:12: --font AXIS:8: --font LEGEND:10: --font UNIT:8: DEF:a="/var/www/html/cacti-0.8.7e/rra/f5-0-prv_unix-ilo_city_ac_uk_tmm_mem_total_400.rrd":tmm_mem_total:AVERAGE DEF:b="/var/www/html/cacti-0.8.7e/rra/f5-0-prv_unix-ilo_city_ac_uk_tmm_mem_used_401.rrd":tmm_mem_used:AVERAGE DEF:c="/var/www/html/cacti-0.8.7e/rra/f5-0-prv_unix-ilo_city_ac_uk_global_mem_total_398.rrd":global_mem_total:AVERAGE DEF:d="/var/www/html/cacti-0.8.7e/rra/f5-0-prv_unix-ilo_city_ac_uk_global_mem_used_399.rrd":global_mem_used:AVERAGE CDEF:cdefg=c,-1,* CDEF:cdefi=d,-1,* AREA:a#0000FFFF:"TMM Mem Total" GPRINTLAST:"Current\:%8.2lf %s\n" AREA:b#FFAB00FF:"TMM Mem Used" GPRINTLAST:" Current\:%8.2lf %s" GPRINTAVERAGE:"Average\:%8.2lf %s" GPRINTMAX:"Maximum\:%8.2lf %s\n" AREA:cdefg#0000FFFF:"Total Mem" GPRINT:c:LAST:" Current\:%8.2lf %s\n" AREA:cdefi#FFAB00FF:"Used Mem" GPRINT:d:LAST:" Current\:%8.2lf %s" GPRINT:d:AVERAGE:"Average\:%8.2lf %s" GPRINT:d:MAX:"Maximum\:%8.2lf %s\n"
Hi ringoseagull,
Your issue doesn't seem to be specific with the F5 template... I've replied to your original post http://forums.cacti.net/viewtopic.php?t=38599
Your issue doesn't seem to be specific with the F5 template... I've replied to your original post http://forums.cacti.net/viewtopic.php?t=38599
Unfortunately I don't think it is possible. The "SNMP - Interface Statistics" returns one interface per vlan but the resulting graphs aren't displaying the real traffic per vlan ;(
I believe the closest thing you might do is using the Virtual Server Graphs. More specifically the VS Server Traffic and the VS Client Traffic... It is not exactly what you want but it might do it if you have the clients in a vlan and the server in another one.
I believe the closest thing you might do is using the Virtual Server Graphs. More specifically the VS Server Traffic and the VS Client Traffic... It is not exactly what you want but it might do it if you have the clients in a vlan and the server in another one.
Hi yreddy,yreddy wrote: I've modified the oid_index_parse values to have it compatible on both systems (http://docs.cacti.net/usertemplate:host:f5:bigip). Here is the fix I've did:Please check it out and PM me if you still have problems.Code: Select all
# diff f5_bigip_sysMultiHostCpuEntry.xml.old f5_bigip_sysMultiHostCpuEntry.xml 5c5 < <oid_index_parse>OID/REGEXP:^.{32}(.*)$</oid_index_parse> --- > <oid_index_parse>OID/REGEXP:^.*\.3375\..{14}(.*)$</oid_index_parse>
Youri
I finally found the moment to check it and it works pefectly. Now parsing seems to be correct. Thanks
Hi
Thank you very much for the templates have had some great results using them, but I am getting strange results from one of the F5 BigIP - VS Statistics - Client connections graphs.
The Virtual server is a test server and has only minimul exposure. The below results are manual SNMP polls:
SNMPv2-SMI::enterprises.3375.2.2.10.2.3.1.1.7.67.111.109.112.114.101.103 = STRING: "XX XX XX" -- oid_index
SNMPv2-SMI::enterprises.3375.2.2.10.1.2.1.3.7.67.111.109.112.114.101.103 = Hex-STRING: XX XX XX --IP Address
SNMPv2-SMI::enterprises.3375.2.2.10.1.2.1.6.7.67.111.109.112.114.101.103 = INTEGER: 80 -- service port
SNMPv2-SMI::enterprises.3375.2.2.10.2.3.1.2.7.67.111.109.112.114.101.103 = Counter64: 2 -- minimum connection duration
SNMPv2-SMI::enterprises.3375.2.2.10.2.3.1.3.7.67.111.109.112.114.101.103 = Counter64: 1439569 -- maximum connection duration
SNMPv2-SMI::enterprises.3375.2.2.10.2.3.1.4.7.67.111.109.112.114.101.103 = Counter64: 51272 -- mean connection duration
SNMPv2-SMI::enterprises.3375.2.2.10.2.3.1.5.7.67.111.109.112.114.101.103 = Counter64: 0 -- No Nodes Errors
SNMPv2-SMI::enterprises.3375.2.2.10.2.3.1.6.7.67.111.109.112.114.101.103 = Counter64: 1373 -- Client Packets In
SNMPv2-SMI::enterprises.3375.2.2.10.2.3.1.8.7.67.111.109.112.114.101.103 = Counter64: 892 -- Client Packets Out
SNMPv2-SMI::enterprises.3375.2.2.10.2.3.1.7.7.67.111.109.112.114.101.103 = Counter64: 300692 -- Client Bytes In
SNMPv2-SMI::enterprises.3375.2.2.10.2.3.1.9.7.67.111.109.112.114.101.103 = Counter64: 81250 -- Client Bytes Out
SNMPv2-SMI::enterprises.3375.2.2.10.2.3.1.10.7.67.111.109.112.114.101.103 = Counter64: 2 -- Client Maximum connections
SNMPv2-SMI::enterprises.3375.2.2.10.2.3.1.11.7.67.111.109.112.114.101.103 = Counter64: 227 -- Client Total Connections
SNMPv2-SMI::enterprises.3375.2.2.10.2.3.1.12.7.67.111.109.112.114.101.103 = Counter64: 0 -- Client Current Connections
As you can see there isn't a great deal of traffic, however, the graph indicates connections in the millions (presuming m is representitve of millions!)
Cacti 0.8.7e
NET-SNMP version: 5.1.2
Thank you very much for the templates have had some great results using them, but I am getting strange results from one of the F5 BigIP - VS Statistics - Client connections graphs.
The Virtual server is a test server and has only minimul exposure. The below results are manual SNMP polls:
SNMPv2-SMI::enterprises.3375.2.2.10.2.3.1.1.7.67.111.109.112.114.101.103 = STRING: "XX XX XX" -- oid_index
SNMPv2-SMI::enterprises.3375.2.2.10.1.2.1.3.7.67.111.109.112.114.101.103 = Hex-STRING: XX XX XX --IP Address
SNMPv2-SMI::enterprises.3375.2.2.10.1.2.1.6.7.67.111.109.112.114.101.103 = INTEGER: 80 -- service port
SNMPv2-SMI::enterprises.3375.2.2.10.2.3.1.2.7.67.111.109.112.114.101.103 = Counter64: 2 -- minimum connection duration
SNMPv2-SMI::enterprises.3375.2.2.10.2.3.1.3.7.67.111.109.112.114.101.103 = Counter64: 1439569 -- maximum connection duration
SNMPv2-SMI::enterprises.3375.2.2.10.2.3.1.4.7.67.111.109.112.114.101.103 = Counter64: 51272 -- mean connection duration
SNMPv2-SMI::enterprises.3375.2.2.10.2.3.1.5.7.67.111.109.112.114.101.103 = Counter64: 0 -- No Nodes Errors
SNMPv2-SMI::enterprises.3375.2.2.10.2.3.1.6.7.67.111.109.112.114.101.103 = Counter64: 1373 -- Client Packets In
SNMPv2-SMI::enterprises.3375.2.2.10.2.3.1.8.7.67.111.109.112.114.101.103 = Counter64: 892 -- Client Packets Out
SNMPv2-SMI::enterprises.3375.2.2.10.2.3.1.7.7.67.111.109.112.114.101.103 = Counter64: 300692 -- Client Bytes In
SNMPv2-SMI::enterprises.3375.2.2.10.2.3.1.9.7.67.111.109.112.114.101.103 = Counter64: 81250 -- Client Bytes Out
SNMPv2-SMI::enterprises.3375.2.2.10.2.3.1.10.7.67.111.109.112.114.101.103 = Counter64: 2 -- Client Maximum connections
SNMPv2-SMI::enterprises.3375.2.2.10.2.3.1.11.7.67.111.109.112.114.101.103 = Counter64: 227 -- Client Total Connections
SNMPv2-SMI::enterprises.3375.2.2.10.2.3.1.12.7.67.111.109.112.114.101.103 = Counter64: 0 -- Client Current Connections
As you can see there isn't a great deal of traffic, however, the graph indicates connections in the millions (presuming m is representitve of millions!)
Cacti 0.8.7e
NET-SNMP version: 5.1.2
- Attachments
-
- weekly_30minavg.png (8.16 KiB) Viewed 4196 times
-
- Posts: 16
- Joined: Thu Jun 03, 2010 9:13 pm
Hi Yreddy;
Base on your instruction, I have important file 'cacti_host_templae_f5_big-ipxml to Cacti.
However, I find that some error display
Notice: Undefined index: name in /usr/local/cacti-0.8.7e/lib/import.php on line 572
Warning: Cannot modify header information - headers already sent by (output started at /usr/local/cacti-0.8.7e/lib/import.php:572) in /usr/local/cacti-0.8.7e/templates_import.php on line 75
Please, provide any advise.
Thanks
freeman118
Base on your instruction, I have important file 'cacti_host_templae_f5_big-ipxml to Cacti.
However, I find that some error display
Notice: Undefined index: name in /usr/local/cacti-0.8.7e/lib/import.php on line 572
Warning: Cannot modify header information - headers already sent by (output started at /usr/local/cacti-0.8.7e/lib/import.php:572) in /usr/local/cacti-0.8.7e/templates_import.php on line 75
Please, provide any advise.
Thanks
freeman118
bigip,
Yes as Icano said, "m" is for milli so according to your graph you have almost no concurrent connections.
freeman118,
Sorry I am unable to reproduce the issue ;( I don't know why you can't import the template. Do you see anything wrong in the cacti log files or in the apache log files ?
Youri
Yes as Icano said, "m" is for milli so according to your graph you have almost no concurrent connections.
freeman118,
Sorry I am unable to reproduce the issue ;( I don't know why you can't import the template. Do you see anything wrong in the cacti log files or in the apache log files ?
Youri
Re: BigIP v9 Template
Hi Guys,
I have downloaded the F5 Host Template as described and follow the instruction and when I tried to import the template; I kept getting the the following message "Error:XML: Hash version does not exist." I am running Cacti version 8.7d. Does anyone know what can cause this problem? Thank you in advance.
I have downloaded the F5 Host Template as described and follow the instruction and when I tried to import the template; I kept getting the the following message "Error:XML: Hash version does not exist." I am running Cacti version 8.7d. Does anyone know what can cause this problem? Thank you in advance.
Re: BigIP v9 Template
Searched the forums yet? this is covered a lot.termite wrote:"Error:XML: Hash version does not exist." I am running Cacti version 8.7d. Does anyone know what can cause this problem? Thank you in advance.
http://docs.cacti.net/howto:determine_c ... te_version
| Scripts: Monitor processes | RFC1213 MIB | DOCSIS Stats | Dell PowerEdge | Speedfan | APC UPS | DOCSIS CMTS | 3ware | Motorola Canopy |
| Guides: Windows Install | [HOWTO] Debug Windows NTFS permission problems |
| Tools: Windows All-in-one Installer |
Re: BigIP v9 Template
I'd like to make a suggestion: remove the direct download links in the 1st post in this thread and instead link to the docs.cacti.net page for this template:
http://docs.cacti.net/usertemplate:host:f5:bigip
I think that'll save some confusion about what's the current/most up-to-date template .zip to download.
cheers,
cluckduck
http://docs.cacti.net/usertemplate:host:f5:bigip
I think that'll save some confusion about what's the current/most up-to-date template .zip to download.
cheers,
cluckduck
Who is online
Users browsing this forum: No registered users and 1 guest