First- Big thanks for such a great tool. Cacti really rocks.
This post might belong in the script section, but I think it might be
related to the f upgrade...
I was using the smokeping script in the forum http://forums.cacti.net/viewtopic.php?t=7090 just fine under c.
I made a couple of mods to it for better output. All was well. Did the up to f (and upped rrd to 1.2) and now everything works except for the detail graph. The poll is fine, the tree-host-summary page is fine (displays the graph with proper results), but when I click on the smokeping graph to go to detail (daily weekly monthly yearly) I get the ol' four red X's.
The fonts are fine, the other detail graphs for the same host are fine. Any thoughts?
Here is the related poll:
07/13/2005 10:59:53 PM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /var/www/html/cacti/rra/307white_min_347.rrd --template min:avg:max:dev:loss 1121313567:24.400:125.000:413.000:194.300:0
OK u:0.01 s:0.04 r:26.25
Here is the graph output:
/usr/bin/rrdtool graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title="307White - Smoke Ping 3" \
--base=1000 \
--height=120 \
--width=500 \
--upper-limit=10 \
--lower-limit=0 \
--units-exponent=1 \
--vertical-label="milliseconds" \
--slope-mode \
DEF:a="/var/www/html/cacti/rra/307white_min_347.rrd":avg:AVERAGE \
DEF:b="/var/www/html/cacti/rra/307white_min_347.rrd":max:AVERAGE \
DEF:c="/var/www/html/cacti/rra/307white_min_347.rrd":max:AVERAGE \
DEF:d="/var/www/html/cacti/rra/307white_min_347.rrd":max:AVERAGE \
DEF:e="/var/www/html/cacti/rra/307white_min_347.rrd":max:AVERAGE \
DEF:f="/var/www/html/cacti/rra/307white_min_347.rrd":max:AVERAGE \
DEF:g="/var/www/html/cacti/rra/307white_min_347.rrd":min:AVERAGE \
DEF:h="/var/www/html/cacti/rra/307white_min_347.rrd":min:AVERAGE \
DEF:i="/var/www/html/cacti/rra/307white_min_347.rrd":min:AVERAGE \
DEF:j="/var/www/html/cacti/rra/307white_min_347.rrd":min:AVERAGE \
DEF:ba="/var/www/html/cacti/rra/307white_min_347.rrd":min:AVERAGE \
DEF:bb="/var/www/html/cacti/rra/307white_min_347.rrd":min:AVERAGE \
DEF:bc="/var/www/html/cacti/rra/307white_min_347.rrd":loss:AVERAGE \
DEF:bd="/var/www/html/cacti/rra/307white_min_347.rrd":avg:AVERAGE \
DEF:be="/var/www/html/cacti/rra/307white_min_347.rrd":avg:AVERAGE \
DEF:bf="/var/www/html/cacti/rra/307white_min_347.rrd":avg:AVERAGE \
DEF:bg="/var/www/html/cacti/rra/307white_min_347.rrd":avg:AVERAGE \
DEF:bh="/var/www/html/cacti/rra/307white_min_347.rrd":avg:AVERAGE \
DEF:bi="/var/www/html/cacti/rra/307white_min_347.rrd":avg:AVERAGE \
DEF:bj="/var/www/html/cacti/rra/307white_min_347.rrd":avg:AVERAGE \
DEF:ca="/var/www/html/cacti/rra/307white_min_347.rrd":avg:AVERAGE \
DEF:cb="/var/www/html/cacti/rra/307white_min_347.rrd":max:MAX \
CDEF:cdefb=b,a,-,0.2,* \
CDEF:cdefh=a,g,-,0.2,* \
CDEF:cdefbc=e,0,* \
CDEF:cdefbd=bc,0,GT,UNKN,a,IF \
CDEF:cdefbe=bc,0,GT,bc,2,GT,UNKN,g,IF,UNKN,IF \
CDEF:cdefbf=bc,3,GT,bc,4,GT,UNKN,g,IF,UNKN,IF \
CDEF:cdefbg=bc,5,GT,bc,6,GT,UNKN,g,IF,UNKN,IF \
CDEF:cdefbh=bc,7,GT,bc,10,GT,UNKN,g,IF,UNKN,IF \
CDEF:cdefbi=bc,11,GT,bc,20,GT,UNKN,g,IF,UNKN,IF \
CDEF:cdefbj=bc,21,GT,bc,40,GT,UNKN,g,IF,UNKN,IF \
CDEF:cdefca=bc,40,GT,bc,80,GT,UNKN,g,IF,UNKN,IF \
CDEF:cdefcb=bc,UN,1,EQ,TIME,300,+,NOW,GT,UNKN,INF,IF,bc,80,GT,INF,UNKN,IF,IF \
CDEF:cdefcc=bc,UN,1,EQ,TIME,300,+,NOW,GT,100,0,IF,100,bc,-,IF \
AREA:ca#FFFFFF:"" \
AREA:cdefb#333333:"":STACK \
AREA:cdefb#555555:"":STACK \
AREA:cdefb#888888:"":STACK \
AREA:cdefb#AAAAAA:"":STACK \
AREA:cdefb#CCCCCC:"":STACK \
AREA:bb#FFFFFF:"" \
AREA:cdefh#CCCCCC:"":STACK \
AREA:cdefh#AAAAAA:"":STACK \
AREA:cdefh#888888:"":STACK \
AREA:cdefh#555555:"":STACK \
AREA:cdefh#333333:"":STACK \
AREA:cdefbc#FFFFFF:"" \
LINE1:cdefbd#00CF00:"Up" \
LINE3:cdefbe#7CB3F1:"Packet loss \: 1 -> 2 %" \
LINE3:cdefbf#8D85F3:"Packet loss 3 -> 4 %" \
LINE3:cdefbg#55009D:"Packet loss \: 5 -> 6 %" \
LINE3:cdefbh#F24AC8:"Packet loss \: 7 -> 10 %" \
LINE3:cdefbi#FFD660:"Packet loss \: 11 -> 20 %" \
LINE3:cdefbj#ED7600:"Packet loss \: 21 -> 40 %" \
LINE3:cdefca#FF3932:"Packet loss \: 41 -> 80 %" \
AREA:cdefcb:"Down\n" \
GPRINT:cdefcc:AVERAGE:"Success rate \:%8.2lf %%\n" \
COMMENT:"Response time \:" \
GPRINT:bb:MIN:"Minimum \:%8.2lf ms" \
GPRINT:ca:AVERAGE:"Average \:%8.2lf ms" \
GPRINT:cb:MAX:"Maximum \:%8.2lf ms\n"
Attached is the working graph from the summary page.
no detail graph after up from 0.8.6c to 0.8.6f
Moderators: Developers, Moderators
no detail graph after up from 0.8.6c to 0.8.6f
- Attachments
-
- smoke.jpg (34.84 KiB) Viewed 2041 times
P.S. SElinux is off...
Here is a top and bottom snippet of the debug:
07/14/2005 12:28:39 AM - POLLER: Poller[0] DEBUG: About to Spawn a Remote Process [CMD: /usr/bin/php, ARGS: -q /var/www/html/cacti/cmd.php 0 69]
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
07/14/2005 12:28:40 AM - POLLER: Poller[0] Parsed MULTI output field '1min:0.30' [map 1min->load_1min]
07/14/2005 12:28:40 AM - POLLER: Poller[0] Parsed MULTI output field '5min:0.19' [map 5min->load_5min]
07/14/2005 12:28:40 AM - POLLER: Poller[0] Parsed MULTI output field '10min:0.12' [map 10min->load_15min]
07/14/2005 12:28:40 AM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /var/www/html/cacti/rra/localhost_mem_buffers_3.rrd --template mem_buffers 1121318919:121600
07/14/2005 12:28:40 AM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /var/www/html/cacti/rra/localhost_mem_swap_4.rrd --template mem_swap 1121318919:819304
07/14/2005 12:28:40 AM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /var/www/html/cacti/rra/localhost_load_1min_5.rrd --template load_1min:load_5min:load_15min 1121318919:0.30:0.19:0.12
OK u:0.00 s:0.01 r:1.01
OK u:0.00 s:0.01 r:1.01
07/14/2005 12:28:40 AM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /var/www/html/cacti/rra/localhost_users_6.rrd --template users 1121318919:2
........
Waiting on 1/1 pollers.
07/14/2005 12:29:35 AM - POLLER: Poller[0] Parsed MULTI output field 'min:8.690' [map min->min]
07/14/2005 12:29:35 AM - POLLER: Poller[0] Parsed MULTI output field 'avg:28.600' [map avg->avg]
07/14/2005 12:29:35 AM - POLLER: Poller[0] Parsed MULTI output field 'max:103.000' [map max->max]
07/14/2005 12:29:35 AM - POLLER: Poller[0] Parsed MULTI output field 'dev:47.155' [map dev->dev]
07/14/2005 12:29:35 AM - POLLER: Poller[0] Parsed MULTI output field 'loss:0' [map loss->loss]
07/14/2005 12:29:35 AM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /var/www/html/cacti/rra/forestpark_ping_294.rrd --template ping 1121318919:23.9
OK u:0.02 s:0.03 r:55.44
07/14/2005 12:29:35 AM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /var/www/html/cacti/rra/forestpark_cpu_user_293.rrd --template cpu_user 1121318919:1435969
OK u:0.02 s:0.03 r:55.44
07/14/2005 12:29:35 AM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /var/www/html/cacti/rra/forestpark_cpu_system_292.rrd --template cpu_system 1121318919:1131650
OK u:0.02 s:0.03 r:55.44
07/14/2005 12:29:35 AM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /var/www/html/cacti/rra/forestpark_cpu_nice_291.rrd --template cpu_nice 1121318919:1975
OK u:0.02 s:0.03 r:55.44
07/14/2005 12:29:35 AM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /var/www/html/cacti/rra/forestpark_traffic_in_289.rrd --template traffic_out:traffic_in 1121318919:885252472:1675366567
OK u:0.02 s:0.03 r:55.44
07/14/2005 12:29:35 AM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /var/www/html/cacti/rra/701gregory_min_350.rrd --template min:avg:max:dev:loss 1121318919:8.690:28.600:103.000:47.155:0
OK u:0.02 s:0.04 r:55.44
07/14/2005 12:29:35 AM - SYSTEM STATS: Time: 55.4715 s, Method: cmd.php, Processes: 1, Threads: N/A, Hosts: 42, Hosts/Process: 42, Data Sources 255, RRDs Processed 182
Here is a top and bottom snippet of the debug:
07/14/2005 12:28:39 AM - POLLER: Poller[0] DEBUG: About to Spawn a Remote Process [CMD: /usr/bin/php, ARGS: -q /var/www/html/cacti/cmd.php 0 69]
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
07/14/2005 12:28:40 AM - POLLER: Poller[0] Parsed MULTI output field '1min:0.30' [map 1min->load_1min]
07/14/2005 12:28:40 AM - POLLER: Poller[0] Parsed MULTI output field '5min:0.19' [map 5min->load_5min]
07/14/2005 12:28:40 AM - POLLER: Poller[0] Parsed MULTI output field '10min:0.12' [map 10min->load_15min]
07/14/2005 12:28:40 AM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /var/www/html/cacti/rra/localhost_mem_buffers_3.rrd --template mem_buffers 1121318919:121600
07/14/2005 12:28:40 AM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /var/www/html/cacti/rra/localhost_mem_swap_4.rrd --template mem_swap 1121318919:819304
07/14/2005 12:28:40 AM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /var/www/html/cacti/rra/localhost_load_1min_5.rrd --template load_1min:load_5min:load_15min 1121318919:0.30:0.19:0.12
OK u:0.00 s:0.01 r:1.01
OK u:0.00 s:0.01 r:1.01
07/14/2005 12:28:40 AM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /var/www/html/cacti/rra/localhost_users_6.rrd --template users 1121318919:2
........
Waiting on 1/1 pollers.
07/14/2005 12:29:35 AM - POLLER: Poller[0] Parsed MULTI output field 'min:8.690' [map min->min]
07/14/2005 12:29:35 AM - POLLER: Poller[0] Parsed MULTI output field 'avg:28.600' [map avg->avg]
07/14/2005 12:29:35 AM - POLLER: Poller[0] Parsed MULTI output field 'max:103.000' [map max->max]
07/14/2005 12:29:35 AM - POLLER: Poller[0] Parsed MULTI output field 'dev:47.155' [map dev->dev]
07/14/2005 12:29:35 AM - POLLER: Poller[0] Parsed MULTI output field 'loss:0' [map loss->loss]
07/14/2005 12:29:35 AM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /var/www/html/cacti/rra/forestpark_ping_294.rrd --template ping 1121318919:23.9
OK u:0.02 s:0.03 r:55.44
07/14/2005 12:29:35 AM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /var/www/html/cacti/rra/forestpark_cpu_user_293.rrd --template cpu_user 1121318919:1435969
OK u:0.02 s:0.03 r:55.44
07/14/2005 12:29:35 AM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /var/www/html/cacti/rra/forestpark_cpu_system_292.rrd --template cpu_system 1121318919:1131650
OK u:0.02 s:0.03 r:55.44
07/14/2005 12:29:35 AM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /var/www/html/cacti/rra/forestpark_cpu_nice_291.rrd --template cpu_nice 1121318919:1975
OK u:0.02 s:0.03 r:55.44
07/14/2005 12:29:35 AM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /var/www/html/cacti/rra/forestpark_traffic_in_289.rrd --template traffic_out:traffic_in 1121318919:885252472:1675366567
OK u:0.02 s:0.03 r:55.44
07/14/2005 12:29:35 AM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /var/www/html/cacti/rra/701gregory_min_350.rrd --template min:avg:max:dev:loss 1121318919:8.690:28.600:103.000:47.155:0
OK u:0.02 s:0.04 r:55.44
07/14/2005 12:29:35 AM - SYSTEM STATS: Time: 55.4715 s, Method: cmd.php, Processes: 1, Threads: N/A, Hosts: 42, Hosts/Process: 42, Data Sources 255, RRDs Processed 182
Ive stopped working on a fix for this, as someone has released a new ver of smokeping that does exactly what I was aiming for. See http://forums.cacti.net/viewtopic.php?t=8503
Who is online
Users browsing this forum: No registered users and 1 guest