hey all,
freebsd 6.0 netsnmp5 newest cacti with patchs.
I am able to pull data correctly and create the graphs but when I go into the preview there is nothing there. I ran the poller.php over and over still nothing. Anything I can try ?
/usr/local/apache/htdocs/cacti/rra
rwxr-xr-x 1 root 100 47840 Nov 14 21:01 grandpuba_load_1min_164.rrd
-rwxr-xr-x 1 root 100 47840 Nov 14 21:01 grandpuba_load_5min_144.rrd
-rwxr-xr-x 1 root 100 47840 Nov 14 21:01 grandpuba_load_5min_166.rrd
-rwxr-xr-x 1 root 100 47840 Nov 14 21:01 grandpuba_mem_buffers_145.rrd
-rwxr-xr-x 1 root 100 47840 Nov 14 21:01 grandpuba_mem_cache_146.rrd
-rwxr-xr-x 1 root 100 47840 Nov 14 21:01 grandpuba_mem_free_147.rrd
-rwxr-xr-x 1 root 100 47840 Nov 14 21:01 grandpuba_ping_169.rrd
-rwxr-xr-x 1 root 100 94664 Nov 14 21:01 grandpuba_traffic_in_148.rrd
-rwxr-xr-x 1 root 100 94664 Nov 14 21:01 grandpuba_traffic_in_149.rrd
-rwxr-xr-x 1 root 100 94664 Nov 14 21:01 grandpuba_traffic_in_150.rrd
-rwxr-xr-x 1 root 100 94664 Nov 14 21:01 grandpuba_traffic_in_167.rrd
-rwxr-xr-x 1 root 100 47840 Nov 14 21:01 grandpuba_users_168.rrd
more cacti.log
andpuba.org 7 2:161:500:rocommunity:furthur:leoleo:MD5::[None] get used 14, output: 15644248064
11/14/2005 09:05:05 PM - CMDPHP: Poller[0] Host[7] DS[184] SERVER: /usr/local/apache/htdocs/cacti/scripts/ss_host_disk.php ss_host_disk gr
andpuba.org 7 2:161:500:rocommunity:furthur:leoleo:MD5::[None] get total 15, output: 97041891328
11/14/2005 09:05:05 PM - CMDPHP: Poller[0] Host[7] DS[184] SERVER: /usr/local/apache/htdocs/cacti/scripts/ss_host_disk.php ss_host_disk gr
andpuba.org 7 2:161:500:rocommunity:furthur:leoleo:MD5::[None] get used 15, output: 75169859584
11/14/2005 09:05:05 PM - CMDPHP: Poller[0] Host[7] DS[185] SERVER: /usr/local/apache/htdocs/cacti/scripts/ss_host_disk.php ss_host_disk gr
andpuba.org 7 2:161:500:rocommunity:furthur:leoleo:MD5::[None] get total 16, output: 119627046912
11/14/2005 09:05:05 PM - CMDPHP: Poller[0] Host[7] DS[185] SERVER: /usr/local/apache/htdocs/cacti/scripts/ss_host_disk.php ss_host_disk gr
andpuba.org 7 2:161:500:rocommunity:furthur:leoleo:MD5::[None] get used 16, output: 44000657408
11/14/2005 09:05:05 PM - CMDPHP: Poller[0] Host[7] DS[186] SERVER: /usr/local/apache/htdocs/cacti/scripts/ss_host_disk.php ss_host_disk gr
andpuba.org 7 2:161:500:rocommunity:furthur:leoleo:MD5::[None] get total 17, output: 189018826752
11/14/2005 09:05:05 PM - CMDPHP: Poller[0] Host[7] DS[186] SERVER: /usr/local/apache/htdocs/cacti/scripts/ss_host_disk.php ss_host_disk gr
andpuba.org 7 2:161:500:rocommunity:furthur:leoleo:MD5::[None] get used 17, output: 170249244672
11/14/2005 09:05:05 PM - CMDPHP: Poller[0] Time: 4.4706 s, Theads: N/A, Hosts: 2
11/14/2005 09:05:05 PM - SYSTEM STATS: Time:5.1228 Method:cmd.php Processes:1 Threads:N/A Hosts:3 HostsPerProcess:3 DataSources:78 RRDsPro
cessed:46
thanks!
Jeff
no graphs but have all the data
Moderators: Developers, Moderators
no graphs but have all the data
Same thing here. I upgraded from 0.8.6f to 0.8.6g. I also installed all patches.
Anyone with a solution or ideas yet?
Anyone with a solution or ideas yet?
no graphs but have all the data
A little more digging and I've found something. It appears that the problem is with COMMENT when calling rrdtool. My rrdtool version is 1.2.11. About the same time I upgraded Cacti, I also upgraded from Mandrake 10.2 to 2006. I'm still working on if there is a problem there.
here is the broken rrdtool command.
/usr/bin/rrdtool graph - --imgformat=PNG --start=1131917030 --end=1132003430 --title="calore-dor-frrm-sw-02 - Unicast Packets - Gi1/0/25" --rigid --base=1000 --height=100 --width=300 --alt-autoscale-max --lower-limit=0 --no-legend COMMENT:"From 2005/11/13 13:23:50 To 2005/11/14 13:23:50\c" COMMENT:" \n" --vertical-label="packets/sec" DEF:a="/var/www/html/cacti/rra/caloredorfrrmsw02_unicast_in_294.rrd":unicast_in:AVERAGE DEF:b="/var/www/html/cacti/rra/caloredorfrrmsw02_unicast_in_294.rrd":unicast_out:AVERAGE AREA:a#FFF200:"" LINE1:b#00234B:""
Here's a working one. Only difference is I removed the COMMENT stuff.
/usr/bin/rrdtool graph - --imgformat=PNG --start=1131917030 --end=1132003430 --title="calore-dor-frrm-sw-02 - Unicast Packets - Gi1/0/25" --rigid --base=1000 --height=100 --width=300 --alt-autoscale-max --lower-limit=0 --no-legend --vertical-label="packets/sec" DEF:a="/var/www/html/cacti/rra/caloredorfrrmsw02_unicast_in_294.rrd":unicast_in:AVERAGE DEF:b="/var/www/html/cacti/rra/caloredorfrrmsw02_unicast_in_294.rrd":unicast_out:AVERAGE AREA:a#FFF200:"" LINE1:b#00234B:""
Here's the error I received on the broken one:
ERROR: Garbage ':23:50 To 2005/11/14 13:23:50' after command:
COMMENT:From 2005/11/13 13:23:50 To 2005/11/14 13:23:50
Charlie
here is the broken rrdtool command.
/usr/bin/rrdtool graph - --imgformat=PNG --start=1131917030 --end=1132003430 --title="calore-dor-frrm-sw-02 - Unicast Packets - Gi1/0/25" --rigid --base=1000 --height=100 --width=300 --alt-autoscale-max --lower-limit=0 --no-legend COMMENT:"From 2005/11/13 13:23:50 To 2005/11/14 13:23:50\c" COMMENT:" \n" --vertical-label="packets/sec" DEF:a="/var/www/html/cacti/rra/caloredorfrrmsw02_unicast_in_294.rrd":unicast_in:AVERAGE DEF:b="/var/www/html/cacti/rra/caloredorfrrmsw02_unicast_in_294.rrd":unicast_out:AVERAGE AREA:a#FFF200:"" LINE1:b#00234B:""
Here's a working one. Only difference is I removed the COMMENT stuff.
/usr/bin/rrdtool graph - --imgformat=PNG --start=1131917030 --end=1132003430 --title="calore-dor-frrm-sw-02 - Unicast Packets - Gi1/0/25" --rigid --base=1000 --height=100 --width=300 --alt-autoscale-max --lower-limit=0 --no-legend --vertical-label="packets/sec" DEF:a="/var/www/html/cacti/rra/caloredorfrrmsw02_unicast_in_294.rrd":unicast_in:AVERAGE DEF:b="/var/www/html/cacti/rra/caloredorfrrmsw02_unicast_in_294.rrd":unicast_out:AVERAGE AREA:a#FFF200:"" LINE1:b#00234B:""
Here's the error I received on the broken one:
ERROR: Garbage ':23:50 To 2005/11/14 13:23:50' after command:
COMMENT:From 2005/11/13 13:23:50 To 2005/11/14 13:23:50
Charlie
no graphs but have all the data
Crap. Found the problem. Hopfully this will help the original poster as well.
Mandrake 2006 updated to rrdtool 1.2x where Mandrake 10.2 used 1.0.x.
Apologies for the ramblings. Sometimes it helps to talk things out. Thanks for listening.
Charlie
Mandrake 2006 updated to rrdtool 1.2x where Mandrake 10.2 used 1.0.x.
Apologies for the ramblings. Sometimes it helps to talk things out. Thanks for listening.
Charlie
Go to Settings under Configuration on the main admin screen and make sure your RRDTool is set for 1.2.x instead of 1.0.x. That was the fix in my case.
The other thing to do is turn on all debugging. Then copy/paste the rrdtool command and see if you get an error running it from the CLI. That's how I found my issue.
Charlie
The other thing to do is turn on all debugging. Then copy/paste the rrdtool command and see if you get an error running it from the CLI. That's how I found my issue.
Charlie
blah this is ticking me off everthing is right... I dont think its cacti I went back to the old version and the same issues here is my debug log.
11/15/2005 09:11:51 PM - CMDPHP: Poller[0] Host[2] SNMP: v1: 10.x.x.x, dsname: mem_buffers, oid: .1.3.6.1.4.1.2021.4.14.0, output: 35248
11/15/2005 09:11:51 PM - CMDPHP: Poller[0] Host[2] SNMP: v1: 10.x.x.x, dsname: load_5min, oid: .1.3.6.1.4.1.2021.10.1.3.2, output: 1.40
11/15/2005 09:11:51 PM - CMDPHP: Poller[0] Host[2] SNMP: v1: 10.x.x.x, dsname: load_15min, oid: .1.3.6.1.4.1.2021.10.1.3.3, output: 1.33
11/15/2005 09:11:51 PM - CMDPHP: Poller[0] Host[2] SNMP: v1: 10.x.x.x, dsname: load_1min, oid: .1.3.6.1.4.1.2021.10.1.3.1, output: 1.30
11/15/2005 09:11:51 PM - CMDPHP: Poller[0] Host[2] SNMP: v1: 10.x.x.x, dsname: cpu_user, oid: .1.3.6.1.4.1.2021.11.50.0, output: 67894553
11/15/2005 09:11:50 PM - CMDPHP: Poller[0] Host[2] SNMP: v1: 10.x.x.x, dsname: cpu_system, oid: .1.3.6.1.4.1.2021.11.52.0, output: 10872078
11/15/2005 09:11:50 PM - CMDPHP: Poller[0] Host[2] SNMP: v1: 10.x.x.x, dsname: cpu_nice, oid: .1.3.6.1.4.1.2021.11.51.0, output: 561
11/15/2005 09:11:50 PM - CMDPHP: Poller[0] Host[2] RECACHE: Processing 2 items in the auto reindex cache for '10.x.x.x.
11/15/2005 09:11:50 PM - CMDPHP: Poller[0] Host[2] SNMP: Host responded to SNMP
11/15/2005 09:11:50 PM - CMDPHP: Poller[0] Host[1] SNMP: Host did not respond to SNMP
11/15/2005 09:11:46 PM - CMDPHP: Poller[0] PHP Script Server Started Properly
11/15/2005 09:11:46 PM - PHPSVR: Poller[0] PHP Script Server has Started - Parent is cmd
11/15/2005 09:11:46 PM - PHPSVR: Poller[0] DEBUG: FILENM: /usr/local/apache/htdocs/cacti/script_server.php
11/15/2005 09:11:46 PM - PHPSVR: Poller[0] DEBUG: DIRNAM: /usr/local/apache/htdocs/cacti
11/15/2005 09:11:46 PM - PHPSVR: Poller[0] DEBUG: GETCWD: /usr/local/apache/htdocs/cacti
11/15/2005 09:11:46 PM - PHPSVR: Poller[0] DEBUG: SERVER: cmd
11/15/2005 09:11:46 PM - POLLER: Poller[0] DEBUG: About to Spawn a Remote Process [CMD: /usr/local/bin/php, ARGS: -q /usr/local/apache/htdocs/cacti/cmd.php 0 2]
11/15/2005 09:10:41 PM - SYSTEM STATS: Time: 6.2613 s, Method: cmd.php, Processes: 1, Threads: N/A, Hosts: 3, Hosts/Process: 3
11/15/2005 09:10:05 PM - SYSTEM STATS: Time: 5.0899 s, Method: cmd.php, Processes: 1, Threads: N/A, Hosts: 2, Hosts/Process: 2
11/15/2005 09:09:48 PM - SYSTEM STATS: Time: 5.1036 s, Method: cmd.php, Processes: 1, Threads: N/A, Hosts: 2, Hosts/Process: 2
11/15/2005 09:09:38 PM - SYSTEM STATS: Time: 5.0672 s, Method: cmd.php, Processes: 1, Threads: N/A, Hosts: 2, Hosts/Process: 2
11/15/2005 09:11:51 PM - CMDPHP: Poller[0] Host[2] SNMP: v1: 10.x.x.x, dsname: mem_buffers, oid: .1.3.6.1.4.1.2021.4.14.0, output: 35248
11/15/2005 09:11:51 PM - CMDPHP: Poller[0] Host[2] SNMP: v1: 10.x.x.x, dsname: load_5min, oid: .1.3.6.1.4.1.2021.10.1.3.2, output: 1.40
11/15/2005 09:11:51 PM - CMDPHP: Poller[0] Host[2] SNMP: v1: 10.x.x.x, dsname: load_15min, oid: .1.3.6.1.4.1.2021.10.1.3.3, output: 1.33
11/15/2005 09:11:51 PM - CMDPHP: Poller[0] Host[2] SNMP: v1: 10.x.x.x, dsname: load_1min, oid: .1.3.6.1.4.1.2021.10.1.3.1, output: 1.30
11/15/2005 09:11:51 PM - CMDPHP: Poller[0] Host[2] SNMP: v1: 10.x.x.x, dsname: cpu_user, oid: .1.3.6.1.4.1.2021.11.50.0, output: 67894553
11/15/2005 09:11:50 PM - CMDPHP: Poller[0] Host[2] SNMP: v1: 10.x.x.x, dsname: cpu_system, oid: .1.3.6.1.4.1.2021.11.52.0, output: 10872078
11/15/2005 09:11:50 PM - CMDPHP: Poller[0] Host[2] SNMP: v1: 10.x.x.x, dsname: cpu_nice, oid: .1.3.6.1.4.1.2021.11.51.0, output: 561
11/15/2005 09:11:50 PM - CMDPHP: Poller[0] Host[2] RECACHE: Processing 2 items in the auto reindex cache for '10.x.x.x.
11/15/2005 09:11:50 PM - CMDPHP: Poller[0] Host[2] SNMP: Host responded to SNMP
11/15/2005 09:11:50 PM - CMDPHP: Poller[0] Host[1] SNMP: Host did not respond to SNMP
11/15/2005 09:11:46 PM - CMDPHP: Poller[0] PHP Script Server Started Properly
11/15/2005 09:11:46 PM - PHPSVR: Poller[0] PHP Script Server has Started - Parent is cmd
11/15/2005 09:11:46 PM - PHPSVR: Poller[0] DEBUG: FILENM: /usr/local/apache/htdocs/cacti/script_server.php
11/15/2005 09:11:46 PM - PHPSVR: Poller[0] DEBUG: DIRNAM: /usr/local/apache/htdocs/cacti
11/15/2005 09:11:46 PM - PHPSVR: Poller[0] DEBUG: GETCWD: /usr/local/apache/htdocs/cacti
11/15/2005 09:11:46 PM - PHPSVR: Poller[0] DEBUG: SERVER: cmd
11/15/2005 09:11:46 PM - POLLER: Poller[0] DEBUG: About to Spawn a Remote Process [CMD: /usr/local/bin/php, ARGS: -q /usr/local/apache/htdocs/cacti/cmd.php 0 2]
11/15/2005 09:10:41 PM - SYSTEM STATS: Time: 6.2613 s, Method: cmd.php, Processes: 1, Threads: N/A, Hosts: 3, Hosts/Process: 3
11/15/2005 09:10:05 PM - SYSTEM STATS: Time: 5.0899 s, Method: cmd.php, Processes: 1, Threads: N/A, Hosts: 2, Hosts/Process: 2
11/15/2005 09:09:48 PM - SYSTEM STATS: Time: 5.1036 s, Method: cmd.php, Processes: 1, Threads: N/A, Hosts: 2, Hosts/Process: 2
11/15/2005 09:09:38 PM - SYSTEM STATS: Time: 5.0672 s, Method: cmd.php, Processes: 1, Threads: N/A, Hosts: 2, Hosts/Process: 2
Who is online
Users browsing this forum: No registered users and 0 guests