graphs not generating after upgrade

Post support questions that directly relate to Linux/Unix operating systems.

Moderators: Developers, Moderators

grzeslaw
Posts: 26
Joined: Thu Mar 26, 2009 4:38 pm
Location: Poland

graphs not generating after upgrade

Post by grzeslaw »

Hello,

Few days ago, I remove my cacti and spine from my debian packages, and compile it from source. After install my cacti, I patch it wich pPlugin Architecture. And compile spine.
Only what i save it's the database and the RRA files. After it, I inject new database, copy rra files to my rra dir. Make the RRA dir 777 and make owner and group cactiuser:www-data for this dir, above. Make the same owner and group for the rra files. Make 664 permission for files.

Unfortunetely all my graphs din't draw. My DEBUG logs looks like that:

Code: Select all

03/22/2010 05:14:09 PM - WEBLOG: Poller[0] CACTI2RRD: /usr/bin/rrdtool graph - --imgformat=PNG --start=1269188049 --end=1269274449 --title="H4 - Memory Usage" --rigid --base=1000 --height=120 --width=500 --alt-autoscale-max --lower-limit=0 COMMENT:"From 2010/03/21 17:14:09 To 2010/03/22 17:14:09\c" COMMENT:" \n" --vertical-label="bytes" DEF:a="/usr/share/cacti/rra/h4_mem_free_307.rrd":mem_free:AVERAGE DEF:b="/usr/share/cacti/rra/h4_mem_buffers_305.rrd":mem_buffers:AVERAGE DEF:c="/usr/share/cacti/rra/h4_mem_cache_306.rrd":mem_cache:AVERAGE CDEF:cdefa=a,1024,* CDEF:cdefe=b,1024,* CDEF:cdefi=c,1024,* AREA:cdefa#8F005C:"Memory Free" GPRINT:cdefa:LAST:" Current\:%8.2lf %s" GPRINT:cdefa:AVERAGE:"Average\:%8.2lf %s" GPRINT:cdefa:MAX:"Maximum\:%8.2lf %s\n" STACK:cdefe#FF5700:"Memory Buffers" GPRINT:cdefe:LAST:"Current\:%8.2lf %s" GPRINT:cdefe:AVERAGE:"Average\:%8.2lf %s" GPRINT:cdefe:MAX:"Maximum\:%8.2lf %s\n" STACK:cdefi#FFC73B:"Cache Memory" GPRINT:cdefi:LAST:" Current\:%8.2lf %s" GPRINT:cdefi:AVERAGE:"Average\:%8.2lf %s" GPRINT:cdefi:MAX:"Maximum\:%8.2lf %s\n"
03/22/2010 05:14:09 PM - WEBLOG: Poller[0] CACTI2RRD: /usr/bin/rrdtool graph - --imgformat=PNG --start=1269188049 --end=1269274449 --title="H4 - Load Average" --rigid --base=1000 --height=120 --width=500 --alt-autoscale-max --lower-limit=0 --units-exponent=0 COMMENT:"From 2010/03/21 17:14:09 To 2010/03/22 17:14:09\c" COMMENT:" \n" --vertical-label="processes in the run queue" DEF:a="/usr/share/cacti/rra/h4_load_1min_302.rrd":load_1min:AVERAGE DEF:b="/usr/share/cacti/rra/h4_load_5min_304.rrd":load_5min:AVERAGE DEF:c="/usr/share/cacti/rra/h4_load_15min_303.rrd":load_15min:AVERAGE CDEF:cdefg=TIME,1269274149,GT,a,a,UN,0,a,IF,IF,TIME,1269274149,GT,b,b,UN,0,b,IF,IF,TIME,1269274149,GT,c,c,UN,0,c,IF,IF,+,+ AREA:a#EACC00:"1 Minute Average" GPRINT:a:LAST:" Current\:%8.2lf\n" STACK:b#EA8F00:"5 Minute Average" GPRINT:b:LAST:" Current\:%8.2lf\n" STACK:c#FF0000:"15 Minute Average" GPRINT:c:LAST:"Current\:%8.2lf\n" LINE1:cdefg#000000:"Total"
03/22/2010 05:14:09 PM - WEBLOG: Poller[0] CACTI2RRD: /usr/bin/rrdtool graph - --imgformat=PNG --start=1269188049 --end=1269274449 --title="H4 - Traffic - eth0" --rigid --base=1000 --height=120 --width=500 --alt-autoscale-max --lower-limit=0 COMMENT:"From 2010/03/21 17:14:09 To 2010/03/22 17:14:09\c" COMMENT:" \n" --vertical-label="bits per second" DEF:a="/usr/share/cacti/rra/h4_traffic_in_281.rrd":traffic_in:AVERAGE DEF:b="/usr/share/cacti/rra/h4_traffic_in_281.rrd":traffic_out:AVERAGE CDEF:cdefa=a,8,* CDEF:cdefe=b,8,* AREA:cdefa#00CF00:"Inbound" GPRINT:cdefa:LAST:" Current\:%8.2lf %s" GPRINT:cdefa:AVERAGE:"Average\:%8.2lf %s" GPRINT:cdefa:MAX:"Maximum\:%8.2lf %s\n" LINE1:cdefe#002A97:"Outbound" GPRINT:cdefe:LAST:"Current\:%8.2lf %s" GPRINT:cdefe:AVERAGE:"Average\:%8.2lf %s" GPRINT:cdefe:MAX:"Maximum\:%8.2lf %s"
03/22/2010 05:10:01 PM - POLLER: Poller[0] DEBUG: About to Spawn a Remote Process [CMD: /usr/local/spine/bin/spine, ARGS: 0 23]
03/22/2010 05:10:01 PM - POLLER: Poller[0] NOTE: Poller Int: '300', Cron Int: '300', Time Since Last: '300', Max Runtime '298', Poller Runs: '1'
03/22/2010 05:10:00 PM - SYSTEM STATS: Time:299.2103 Method:spine Processes:1 Threads:1 Hosts:7 HostsPerProcess:7 DataSources:45 RRDsProcessed:0
03/22/2010 05:10:00 PM - POLLER: Poller[0] Maximum runtime of 298 seconds exceeded. Exiting. 

What could be the problem about?[/code]
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

Please see 2nd link of my sig for some debugging hints
R.
grzeslaw
Posts: 26
Joined: Thu Mar 26, 2009 4:38 pm
Location: Poland

Post by grzeslaw »

Ok, So:

1) Check Cacti Log File
Logs OK

2) Check Basic Data Gathering

Code: Select all

cactiuser@hp1:~$ perl /usr/share/cacti/scripts/linux_memory.pl p1 p2
cactiuser@hp1:~$ 
3) Check Cacti's Poller

Code: Select all

cactiuser@hp1:~$ id
uid=1008(cactiuser) gid=1008(cactiuser) grupy=1008(cactiuser)
cactiuser@hp1:~$ /usr/local/bin/spine --verbosity=5 1008 1008
SPINE: Using spine config file [/etc/spine.conf]
03/23/2010 03:14:01 PM - SPINE: Poller[0] DEBUG: The path_php_server variable is /usr/share/cacti/script_server.php
03/23/2010 03:14:01 PM - SPINE: Poller[0] DEBUG: The path_cactilog variable is /var/log/cacti.log
03/23/2010 03:14:01 PM - SPINE: Poller[0] DEBUG: The log_destination variable is 1 (FILE)
03/23/2010 03:14:01 PM - SPINE: Poller[0] DEBUG: The path_php variable is /usr/bin/php
03/23/2010 03:14:01 PM - SPINE: Poller[0] DEBUG: The availability_method variable is 2
03/23/2010 03:14:01 PM - SPINE: Poller[0] DEBUG: The ping_recovery_count variable is 3
03/23/2010 03:14:01 PM - SPINE: Poller[0] DEBUG: The ping_failure_count variable is 2
03/23/2010 03:14:01 PM - SPINE: Poller[0] DEBUG: The ping_method variable is 2
03/23/2010 03:14:01 PM - SPINE: Poller[0] DEBUG: The ping_retries variable is 1
03/23/2010 03:14:01 PM - SPINE: Poller[0] DEBUG: The ping_timeout variable is 400
03/23/2010 03:14:01 PM - SPINE: Poller[0] DEBUG: The snmp_retries variable is 3
03/23/2010 03:14:01 PM - SPINE: Poller[0] DEBUG: The log_perror variable is 1
03/23/2010 03:14:01 PM - SPINE: Poller[0] DEBUG: The log_pwarn variable is 1
03/23/2010 03:14:01 PM - SPINE: Poller[0] DEBUG: The boost_redirect variable is 0
03/23/2010 03:14:01 PM - SPINE: Poller[0] DEBUG: The log_pstats variable is 1
03/23/2010 03:14:01 PM - SPINE: Poller[0] DEBUG: The threads variable is 1
03/23/2010 03:14:01 PM - SPINE: Poller[0] DEBUG: The polling interval is 300 seconds
03/23/2010 03:14:01 PM - SPINE: Poller[0] DEBUG: The number of concurrent processes is 1
03/23/2010 03:14:01 PM - SPINE: Poller[0] DEBUG: The script timeout is 25
03/23/2010 03:14:01 PM - SPINE: Poller[0] DEBUG: The number of php script servers to run is 1
03/23/2010 03:14:01 PM - SPINE: Poller[0] DEBUG: StartHost='1008', EndHost='1008', TotalPHPScripts='0'
03/23/2010 03:14:01 PM - SPINE: Poller[0] DEBUG: The PHP Script Server is Not Required
03/23/2010 03:14:01 PM - SPINE: Poller[0] DEBUG: The Maximum SNMP OID Get Size is 10
03/23/2010 03:14:01 PM - SPINE: Poller[0] Version 0.8.7e starting
03/23/2010 03:14:01 PM - SPINE: Poller[0] DEBUG: MySQL is Thread Safe!
03/23/2010 03:14:01 PM - SPINE: Poller[0] SPINE: Initializing Net-SNMP API
03/23/2010 03:14:01 PM - SPINE: Poller[0] DEBUG: SNMP Header Version is 5.4.1
03/23/2010 03:14:01 PM - SPINE: Poller[0] DEBUG: SNMP Library Version is 5.4.1
03/23/2010 03:14:01 PM - SPINE: Poller[0] SPINE: Initializing PHP Script Server(s)
03/23/2010 03:14:01 PM - SPINE: Poller[0] DEBUG: Initial Value of Active Threads is 0
03/23/2010 03:14:01 PM - SPINE: Poller[0] DEBUG: Valid Thread to be Created
03/23/2010 03:14:01 PM - SPINE: Poller[0] DEBUG: In Poller, About to Start Polling of Host
03/23/2010 03:14:01 PM - SPINE: Poller[0] DEBUG: The Value of Active Threads is 1
03/23/2010 03:14:01 PM - SPINE: Poller[0] Host[0] DEBUG: HOST COMPLETE: About to Exit Host Polling Thread Function
03/23/2010 03:14:01 PM - SPINE: Poller[0] DEBUG: The Value of Active Threads is 0
03/23/2010 03:14:01 PM - SPINE: Poller[0] DEBUG: Thread Cleanup Complete
03/23/2010 03:14:01 PM - SPINE: Poller[0] DEBUG: PHP Script Server Pipes Closed
03/23/2010 03:14:01 PM - SPINE: Poller[0] DEBUG: Allocated Variable Memory Freed
03/23/2010 03:14:01 PM - SPINE: Poller[0] DEBUG: MYSQL Free & Close Completed
03/23/2010 03:14:01 PM - SPINE: Poller[0] Time: 0.0892 s, Threads: 1, Hosts: 1
cactiuser@hp1:~$ 

4) Check MySQL Update
database was automaticly upgraded after patch new cacti, and start the web interface.

5) Check RRD File Update
files are updated correctly

Code: Select all

cactiuser@hp1:~$ ls /usr/share/cacti/rra -l |head -n2
total 2280
-rw-r--r-- 1 cactiuser cactiuser  48000 Mar 23 15:25 h3_load_15min_297.rrd
cactiuser@hp1:~$ date
Tue Mar 23 15:28:11 CET 2010
6) Check RRD File Ownership
Ownership are ok.

7) Check RRD File Numbers

Code: Select all

cactiuser@hp1:~$ rrdtool fetch /usr/share/cacti/rra/localhost_load_1min_322.rrd AVERAGE|tail 
1269353100: 0.0000000000e+00 0.0000000000e+00 0.0000000000e+00
1269353400: 0.0000000000e+00 0.0000000000e+00 0.0000000000e+00
1269353700: 0.0000000000e+00 0.0000000000e+00 0.0000000000e+00
1269354000: 0.0000000000e+00 0.0000000000e+00 0.0000000000e+00
1269354300: 9.9666666667e-03 9.9666666667e-03 0.0000000000e+00
1269354600: 1.0966666667e-01 1.1963333333e-01 4.9833333333e-02
1269354900: 3.6666666667e-04 5.0233333333e-02 3.0066666667e-02
1269355200: 1.5893333333e-01 5.0000000000e-02 2.0066666667e-02
1269355500: 9.0233333333e-02 4.0033333333e-02 1.0033333333e-02
1269355800: nan nan nan
cactiuser@hp1:~$ rrdtool fetch /usr/share/cacti/rra/h5_mem_free_313.rrd AVERAGE|tail 
1269353700: 1.4972830800e+06
1269354000: 1.4889285067e+06
1269354300: 1.5147415733e+06
1269354600: 1.5200146533e+06
1269354900: 9.3790292000e+05
1269355200: 9.5018053333e+05
1269355500: 9.6853493333e+05
1269355800: 9.7321698667e+05
1269356100: 8.4076708000e+05
1269356400: nan
cactiuser@hp1:~$ rrdtool info /usr/share/cacti/rra/h5_mem_free_313.rrd |grep ds
ds[mem_free].index = 0
ds[mem_free].type = "GAUGE"
ds[mem_free].minimal_heartbeat = 600
ds[mem_free].min = 0.0000000000e+00
ds[mem_free].max = 1.0000000000e+07
ds[mem_free].last_ds = "840324"
ds[mem_free].value = 1.6806480000e+06
ds[mem_free].unknown_sec = 0
cactiuser@hp1:~$ 
cactiuser@hp1:~$ rrdtool tune /usr/share/cacti/rra/h5_mem_free_313.rrd --maximum mem_free=100
8) Check RRDTool Graph Statement
That's OK

9) Miscellaneous
It gives me the number: 0

10) RPM Installation?
No. Build from source

11) Not NaN, but 0 (zero) values?
No
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

grzeslaw wrote:7) Check RRD File Numbers

Code: Select all

cactiuser@hp1:~$ rrdtool fetch /usr/share/cacti/rra/localhost_load_1min_322.rrd AVERAGE|tail 
1269353100: 0.0000000000e+00 0.0000000000e+00 0.0000000000e+00
1269353400: 0.0000000000e+00 0.0000000000e+00 0.0000000000e+00
1269353700: 0.0000000000e+00 0.0000000000e+00 0.0000000000e+00
1269354000: 0.0000000000e+00 0.0000000000e+00 0.0000000000e+00
1269354300: 9.9666666667e-03 9.9666666667e-03 0.0000000000e+00
1269354600: 1.0966666667e-01 1.1963333333e-01 4.9833333333e-02
1269354900: 3.6666666667e-04 5.0233333333e-02 3.0066666667e-02
1269355200: 1.5893333333e-01 5.0000000000e-02 2.0066666667e-02
1269355500: 9.0233333333e-02 4.0033333333e-02 1.0033333333e-02
1269355800: nan nan nan
[/quote]This tells us, that data is available. So we have an issue with graphing only. Assuming, that data is available for the rrd in the following command as well, please execute
[code]/usr/bin/rrdtool graph /tmp/foo.png --imgformat=PNG --start=1269188049 --end=1269274449 --title="H4 - Load Average" --rigid --base=1000 --height=120 --width=500 --alt-autoscale-max --lower-limit=0 --units-exponent=0 COMMENT:"From 2010/03/21 17:14:09 To 2010/03/22 17:14:09\c" COMMENT:" \n" --vertical-label="processes in the run queue" DEF:a="/usr/share/cacti/rra/h4_load_1min_302.rrd":load_1min:AVERAGE DEF:b="/usr/share/cacti/rra/h4_load_5min_304.rrd":load_5min:AVERAGE DEF:c="/usr/share/cacti/rra/h4_load_15min_303.rrd":load_15min:AVERAGE CDEF:cdefg=TIME,1269274149,GT,a,a,UN,0,a,IF,IF,TIME,1269274149,GT,b,b,UN,0,b,IF,IF,TIME,1269274149,GT,c,c,UN,0,c,IF,IF,+,+ AREA:a#EACC00:"1 Minute Average" GPRINT:a:LAST:" Current\:%8.2lf\n" STACK:b#EA8F00:"5 Minute Average" GPRINT:b:LAST:" Current\:%8.2lf\n" STACK:c#FF0000:"15 Minute Average" GPRINT:c:LAST:"Current\:%8.2lf\n" LINE1:cdefg#000000:"Total"
03/22/2010 05:14:09 PM - WEBLOG: Poller[0] CACTI2RRD: /usr/bin/rrdtool graph - --imgformat=PNG --start=1269188049 --end=1269274449 --title="H4 - Traffic - eth0" --rigid --base=1000 --height=120 --width=500 --alt-autoscale-max --lower-limit=0 COMMENT:"From 2010/03/21 17:14:09 To 2010/03/22 17:14:09\c" COMMENT:" \n" --vertical-label="bits per second" DEF:a="/usr/share/cacti/rra/h4_traffic_in_281.rrd":traffic_in:AVERAGE DEF:b="/usr/share/cacti/rra/h4_traffic_in_281.rrd":traffic_out:AVERAGE CDEF:cdefa=a,8,* CDEF:cdefe=b,8,* AREA:cdefa#00CF00:"Inbound" GPRINT:cdefa:LAST:" Current\:%8.2lf %s" GPRINT:cdefa:AVERAGE:"Average\:%8.2lf %s" GPRINT:cdefa:MAX:"Maximum\:%8.2lf %s\n" LINE1:cdefe#002A97:"Outbound" GPRINT:cdefe:LAST:"Current\:%8.2lf %s" GPRINT:cdefe:AVERAGE:"Average\:%8.2lf %s" GPRINT:cdefe:MAX:"Maximum\:%8.2lf %s" 
and tell us the results
R.
grzeslaw
Posts: 26
Joined: Thu Mar 26, 2009 4:38 pm
Location: Poland

Post by grzeslaw »

you give me a wrong cmd I suppose:

Code: Select all

root@hp1:/# /usr/bin/rrdtool graph /tmp/foo.png --imgformat=PNG --start=1269188049 --end=1269274449 --title="H4 - Load Average" --rigid --base=1000 --height=120 --width=500 --alt-autoscale-max --lower-limit=0 --units-exponent=0 COMMENT:"From 2010/03/21 17:14:09 To 2010/03/22 17:14:09\c" COMMENT:" \n" --vertical-label="processes in the run queue" DEF:a="/usr/share/cacti/rra/h4_load_1min_302.rrd":load_1min:AVERAGE DEF:b="/usr/share/cacti/rra/h4_load_5min_304.rrd":load_5min:AVERAGE DEF:c="/usr/share/cacti/rra/h4_load_15min_303.rrd":load_15min:AVERAGE CDEF:cdefg=TIME,1269274149,GT,a,a,UN,0,a,IF,IF,TIME,1269274149,GT,b,b,UN,0,b,IF,IF,TIME,1269274149,GT,c,c,UN,0,c,IF,IF,+,+ AREA:a#EACC00:"1 Minute Average" GPRINT:a:LAST:" Current\:%8.2lf\n" STACK:b#EA8F00:"5 Minute Average" GPRINT:b:LAST:" Current\:%8.2lf\n" STACK:c#FF0000:"15 Minute Average" GPRINT:c:LAST:"Current\:%8.2lf\n" LINE1:cdefg#000000:"Total" 03/22/2010 05:14:09 PM - WEBLOG: Poller[0] CACTI2RRD: /usr/bin/rrdtool graph - --imgformat=PNG --start=1269188049 --end=1269274449 --title="H4 - Traffic - eth0" --rigid --base=1000 --height=120 --width=500 --alt-autoscale-max --lower-limit=0 COMMENT:"From 2010/03/21 17:14:09 To 2010/03/22 17:14:09\c" COMMENT:" \n" --vertical-label="bits per second" DEF:a="/usr/share/cacti/rra/h4_traffic_in_281.rrd":traffic_in:AVERAGE DEF:b="/usr/share/cacti/rra/h4_traffic_in_281.rrd":traffic_out:AVERAGE CDEF:cdefa=a,8,* CDEF:cdefe=b,8,* AREA:cdefa#00CF00:"Inbound" GPRINT:cdefa:LAST:" Current\:%8.2lf %s" GPRINT:cdefa:AVERAGE:"Average\:%8.2lf %s" GPRINT:cdefa:MAX:"Maximum\:%8.2lf %s\n" LINE1:cdefe#002A97:"Outbound" GPRINT:cdefe:LAST:"Current\:%8.2lf %s" GPRINT:cdefe:AVERAGE:"Average\:%8.2lf %s" GPRINT:cdefe:MAX:"Maximum\:%8.2lf %s" 
ERROR: I don't understand ':14:09 To 2010/03/22 17:14:09\c' in command: 'COMMENT:From 2010/03/21 17:14:09 To 2010/03/22 17:14:09\c'.
root@hp1:/#
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

This should be better. Ugly formatting, that was

Code: Select all

root@hp1:/# /usr/bin/rrdtool graph /tmp/foo.png --imgformat=PNG --start=1269188049 --end=1269274449 --title="H4 - Load Average" --rigid --base=1000 --height=120 --width=500 --alt-autoscale-max --lower-limit=0 --units-exponent=0 COMMENT:"From 2010/03/21 17:14:09 To 2010/03/22 17:14:09\c" COMMENT:" \n" --vertical-label="processes in the run queue" DEF:a="/usr/share/cacti/rra/h4_load_1min_302.rrd":load_1min:AVERAGE DEF:b="/usr/share/cacti/rra/h4_load_5min_304.rrd":load_5min:AVERAGE DEF:c="/usr/share/cacti/rra/h4_load_15min_303.rrd":load_15min:AVERAGE CDEF:cdefg=TIME,1269274149,GT,a,a,UN,0,a,IF,IF,TIME,1269274149,GT,b,b,UN,0,b,IF,IF,TIME,1269274149,GT,c,c,UN,0,c,IF,IF,+,+ AREA:a#EACC00:"1 Minute Average" GPRINT:a:LAST:" Current\:%8.2lf\n" STACK:b#EA8F00:"5 Minute Average" GPRINT:b:LAST:" Current\:%8.2lf\n" STACK:c#FF0000:"15 Minute Average" GPRINT:c:LAST:"Current\:%8.2lf\n" LINE1:cdefg#000000:"Total" 
R.
grzeslaw
Posts: 26
Joined: Thu Mar 26, 2009 4:38 pm
Location: Poland

Post by grzeslaw »

the same:

Code: Select all

root@hp1:/# /usr/bin/rrdtool graph /tmp/foo.png --imgformat=PNG --start=1269188049 --end=1269274449 --title="H4 - Load Average" --rigid --base=1000 --height=120 --width=500 --alt-autoscale-max --lower-limit=0 --units-exponent=0 COMMENT:"From 2010/03/21 17:14:09 To 2010/03/22 17:14:09\c" COMMENT:" \n" --vertical-label="processes in the run queue" DEF:a="/usr/share/cacti/rra/h4_load_1min_302.rrd":load_1min:AVERAGE DEF:b="/usr/share/cacti/rra/h4_load_5min_304.rrd":load_5min:AVERAGE DEF:c="/usr/share/cacti/rra/h4_load_15min_303.rrd":load_15min:AVERAGE CDEF:cdefg=TIME,1269274149,GT,a,a,UN,0,a,IF,IF,TIME,1269274149,GT,b,b,UN,0,b,IF,IF,TIME,1269274149,GT,c,c,UN,0,c,IF,IF,+,+ AREA:a#EACC00:"1 Minute Average" GPRINT:a:LAST:" Current\:%8.2lf\n" STACK:b#EA8F00:"5 Minute Average" GPRINT:b:LAST:" Current\:%8.2lf\n" STACK:c#FF0000:"15 Minute Average" GPRINT:c:LAST:"Current\:%8.2lf\n" LINE1:cdefg#000000:"Total"
ERROR: I don't understand ':14:09 To 2010/03/22 17:14:09\c' in command: 'COMMENT:From 2010/03/21 17:14:09 To 2010/03/22 17:14:09\c'.
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

Ok, which rrdtool version are you running? And which one has been defined under "Settings"?
R.
grzeslaw2
Posts: 2
Joined: Fri Mar 26, 2010 5:50 am

Post by grzeslaw2 »

I use RRDtool 1.4.2

But when I look into my packages, there is no system package rrdtool, but the binary file exist. Mabe it is included into cacti cacti-spine or cacti-plugin -sources which I compile? Or mabe is it some remnant from old packages?
User avatar
Sirup
Cacti Moderator
Posts: 348
Joined: Tue Mar 02, 2010 9:03 am

Post by Sirup »

gandalf wrote:And which one has been defined under "Settings"?
User avatar
hufnmouth
Posts: 10
Joined: Mon Jun 21, 2004 1:19 pm

Post by hufnmouth »

I'm having the same issue.

I have rrdtool 1.4 (from yum install)

The Settings only list to 1.3. That's at the level my Settings option is set.

I know 1.4 will be supported in 0.88, so how do we deal with it now.
grzeslaw
Posts: 26
Joined: Thu Mar 26, 2009 4:38 pm
Location: Poland

Post by grzeslaw »

Sirup wrote:
gandalf wrote:And which one has been defined under "Settings"?
The same version 1.4.2
User avatar
hufnmouth
Posts: 10
Joined: Mon Jun 21, 2004 1:19 pm

Post by hufnmouth »

Mine is fixed. I set rrdtool to 1.3, but that didn't fix it. Changing params in the cacti poller file did it.

This is for future reference:

I went into /etc/cron.d and changed the user in the cacti poller file named "cacti" to "cactiuser". The user in the default file was "cacti". The user I created that owned rra/ and log/ was cactiuser.

Changing the user name and running the poller manually should kickstart it.

BTW, great software ladies and gentlemen. I started using Cacti four years ago then tried Zenoss. Zenoss became too unwieldly and complicated to use and train with. I'm back to Cacti. It works great for Network admin classes.
grzeslaw
Posts: 26
Joined: Thu Mar 26, 2009 4:38 pm
Location: Poland

Post by grzeslaw »

I download the 1.3.9 version of rrdtool, and the situation is the same. Also I check permission and crontab user - all looks fine. I don't know what can it be. Any more hints?
User avatar
hufnmouth
Posts: 10
Joined: Mon Jun 21, 2004 1:19 pm

Post by hufnmouth »

We aren't using Spine, just cmd.php.

Have you tried to run /poller.php ?
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest