I have the following problem, i execute manually the ./poller.php but the rrd files are not createds, the log is the following:
08/27/2007 11:00:29 AM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select realm_id from user_auth_realm where user_id=1"
08/27/2007 11:00:29 AM - CMDPHP: Poller[0] DEBUG: SQL Cell: "select username from user_auth where id=1"
08/27/2007 11:00:29 AM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select user_auth_realm.realm_id from user_auth_realm where user_auth_realm.user_id='1' and user_auth_realm.realm_id='15'"
08/27/2007 11:00:29 AM - CMDPHP: Poller[0] DEBUG: SQL Cell: "select id from user_auth where username='guest'"
08/27/2007 11:00:29 AM - CMDPHP: Poller[0] DEBUG: SQL Cell: "select cacti from version"
08/27/2007 11:00:19 AM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select realm_id from user_auth_realm where user_id=1"
08/27/2007 11:00:19 AM - CMDPHP: Poller[0] DEBUG: SQL Cell: "select username from user_auth where id=1"
08/27/2007 11:00:19 AM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select user_auth_realm.realm_id from user_auth_realm where user_auth_realm.user_id='1' and user_auth_realm.realm_id='15'"
08/27/2007 11:00:19 AM - CMDPHP: Poller[0] DEBUG: SQL Cell: "select id from user_auth where username='guest'"
08/27/2007 11:00:19 AM - CMDPHP: Poller[0] DEBUG: SQL Cell: "select cacti from version"
08/27/2007 11:00:16 AM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select realm_id from user_auth_realm where user_id=1"
08/27/2007 11:00:16 AM - CMDPHP: Poller[0] DEBUG: SQL Cell: "select username from user_auth where id=1"
08/27/2007 11:00:16 AM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select user_auth_realm.realm_id from user_auth_realm where user_auth_realm.user_id='1' and user_auth_realm.realm_id='15'"
08/27/2007 11:00:16 AM - CMDPHP: Poller[0] DEBUG: SQL Cell: "select id from user_auth where username='guest'"
08/27/2007 11:00:16 AM - CMDPHP: Poller[0] DEBUG: SQL Cell: "select cacti from version"
08/27/2007 10:59:58 AM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select realm_id from user_auth_realm where user_id=1"
08/27/2007 10:59:58 AM - CMDPHP: Poller[0] DEBUG: SQL Cell: "select username from user_auth where id=1"
08/27/2007 10:59:58 AM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select user_auth_realm.realm_id from user_auth_realm where user_auth_realm.user_id='1' and user_auth_realm.realm_id='15'"
08/27/2007 10:59:58 AM - CMDPHP: Poller[0] DEBUG: SQL Cell: "select id from user_auth where username='guest'"
08/27/2007 10:59:58 AM - CMDPHP: Poller[0] DEBUG: SQL Cell: "select cacti from version"
[root@localhost cacti-0.8.6j]# php -q poller.php
08/27/2007 01:33:34 PM - POLLER: Poller[0] DEBUG: About to Spawn a Remote Process [CMD: /usr/bin/php, ARGS: -q /www/htdocs/cacti-0.8.6j/cmd.php 0 4]
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
[root@localhost cacti-0.8.6j]# php -q cmd.php
08/27/2007 01:47:52 PM - CMDPHP: Poller[0] Host[1] SNMP: Device does not require SNMP
08/27/2007 01:47:52 PM - CMDPHP: Poller[0] Host[1] No host availability check possible for '127.0.0.1'.
08/27/2007 01:47:52 PM - CMDPHP: Poller[0] Host[1] DS[3] CMD: perl /www/htdocs/cacti-0.8.6j/scripts/linux_memory.pl MemFree:, output: 3676
08/27/2007 01:47:52 PM - CMDPHP: Poller[0] Host[1] DS[4] CMD: perl /www/htdocs/cacti-0.8.6j/scripts/linux_memory.pl SwapFree:, output: 384704
08/27/2007 01:47:52 PM - CMDPHP: Poller[0] Host[1] DS[5] CMD: perl /www/htdocs/cacti-0.8.6j/scripts/loadavg_multi.pl, output: 1min:0.70 5min:0.48 10min:0.25
08/27/2007 01:47:52 PM - CMDPHP: Poller[0] Host[1] DS[6] CMD: perl /www/htdocs/cacti-0.8.6j/scripts/unix_users.pl , output: 5
08/27/2007 01:47:52 PM - CMDPHP: Poller[0] Host[1] DS[7] CMD: perl /www/htdocs/cacti-0.8.6j/scripts/unix_processes.pl, output: 139
08/27/2007 01:47:52 PM - CMDPHP: Poller[0] Host[2] SNMP: Host responded to SNMP
08/27/2007 01:47:52 PM - CMDPHP: Poller[0] Host[2] RECACHE: Processing 1 items in the auto reindex cache for '10.10.1.9'.
08/27/2007 01:47:53 PM - CMDPHP: Poller[0] Host[2] DS[8] SNMP: v2: 10.10.1.9, dsname: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.1, output: 16995317
08/27/2007 01:47:53 PM - CMDPHP: Poller[0] Host[2] DS[8] SNMP: v2: 10.10.1.9, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.1, output: 25816253
08/27/2007 01:47:53 PM - CMDPHP: Poller[0] Host[2] DS[9] SNMP: v2: 10.10.1.9, dsname: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.4, output: 1753388
08/27/2007 01:47:53 PM - CMDPHP: Poller[0] Host[2] DS[10] SNMP: v2: 10.10.1.9, dsname: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.5, output: 0
08/27/2007 01:47:53 PM - CMDPHP: Poller[0] Host[2] DS[10] SNMP: v2: 10.10.1.9, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.5, output: 0
08/27/2007 01:47:54 PM - CMDPHP: Poller[0] Host[2] DS[11] SNMP: v2: 10.10.1.9, dsname: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.6, output: 15840
08/27/2007 01:47:54 PM - CMDPHP: Poller[0] Host[2] DS[11] SNMP: v2: 10.10.1.9, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.6, output: 7776
08/27/2007 01:47:54 PM - CMDPHP: Poller[0] Host[2] DS[12] SNMP: v2: 10.10.1.9, dsname: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.7, output: 0
08/27/2007 01:47:54 PM - CMDPHP: Poller[0] Host[2] DS[12] SNMP: v2: 10.10.1.9, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.7, output: 0
08/27/2007 01:47:54 PM - CMDPHP: Poller[0] Host[2] DS[9] SNMP: v2: 10.10.1.9, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.4, output: 486199
08/27/2007 01:47:54 PM - CMDPHP: Poller[0] Host[4] SNMP: Host responded to SNMP
08/27/2007 01:47:54 PM - CMDPHP: Poller[0] Host[4] RECACHE: Processing 2 items in the auto reindex cache for '10.10.1.29'.
08/27/2007 01:47:55 PM - CMDPHP: Poller[0] Host[4] DS[13] SNMP: v2: 10.10.1.29, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.3, output: 3000992
08/27/2007 01:47:55 PM - CMDPHP: Poller[0] Host[4] DS[13] SNMP: v2: 10.10.1.29, dsname: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.3, output: 915217
08/27/2007 01:47:55 PM - CMDPHP: Poller[0] Time: 2.9584 s, Theads: N/A, Hosts: 4
Thanks for yours replies.
rrd files, debug
Moderators: Developers, Moderators
-
- Cacti User
- Posts: 53
- Joined: Tue Apr 04, 2006 3:45 pm
- Location: Colombia
- Contact:
-
- Cacti User
- Posts: 53
- Joined: Tue Apr 04, 2006 3:45 pm
- Location: Colombia
- Contact:
Yes,,but any question
I logged with cacituser an execute the php -q poller.php and have the following results the first time:
[cactiuser@localhost cacti-0.8.6j]$ php -q poller.php
08/27/2007 02:55:00 PM - POLLER: Poller[0] DEBUG: About to Spawn a Remote Process [CMD: /usr/bin/php, ARGS: -q /www/htdocs/cacti-0.8.6j/cmd.php 0 4]
Waiting on 1/1 pollers.
08/27/2007 02:55:02 PM - POLLER: Poller[0] Parsed MULTI output field '1min:0.90' [map 1min->load_1min]
08/27/2007 02:55:02 PM - POLLER: Poller[0] Parsed MULTI output field '5min:0.51' [map 5min->load_5min]
08/27/2007 02:55:02 PM - POLLER: Poller[0] Parsed MULTI output field '10min:0.26' [map 10min->load_15min]
08/27/2007 02:55:02 PM - POLLER: Poller[0] Parsed MULTI output field '1min:0.70' [map 1min->load_1min]
08/27/2007 02:55:02 PM - POLLER: Poller[0] Parsed MULTI output field '5min:0.48' [map 5min->load_5min]
08/27/2007 02:55:02 PM - POLLER: Poller[0] Parsed MULTI output field '10min:0.25' [map 10min->load_15min]
08/27/2007 02:55:04 PM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool create /www/htdocs/cacti-0.8.6j/rra/localhost_mem_buffers_3.rrd --step 300 DS:mem_buffers:GAUGE:600:0:U RRA:AVERAGE:0.5:1:600 RRA:AVERAGE:0.5:6:700 RRA:AVERAGE:0.5:24:775 RRA:AVERAGE:0.5:288:797 RRA:MAX:0.5:1:600 RRA:MAX:0.5:6:700 RRA:MAX:0.5:24:775 RRA:MAX:0.5:288:797
08/27/2007 02:55:04 PM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /www/htdocs/cacti-0.8.6j/rra/localhost_mem_buffers_3.rrd --template mem_buffers N:3540
08/27/2007 02:55:04 PM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /www/htdocs/cacti-0.8.6j/rra/localhost_mem_buffers_3.rrd --template mem_buffers N:3676
08/27/2007 02:55:04 PM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool create /www/htdocs/cacti-0.8.6j/rra/localhost_mem_swap_4.rrd --step 300 DS:mem_swap:GAUGE:600:0:U RRA:AVERAGE:0.5:1:600 RRA:AVERAGE:0.5:6:700 RRA:AVERAGE:0.5:24:775 RRA:AVERAGE:0.5:288:797 RRA:MAX:0.5:1:600 RRA:MAX:0.5:6:700 RRA:MAX:0.5:24:775 RRA:MAX:0.5:288:797
08/27/2007 02:55:04 PM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /www/htdocs/cacti-0.8.6j/rra/localhost_mem_swap_4.rrd --template mem_swap N:384704
08/27/2007 02:55:04 PM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /www/htdocs/cacti-0.8.6j/rra/localhost_mem_swap_4.rrd --template mem_swap N:384704
08/27/2007 02:55:04 PM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool create /www/htdocs/cacti-0.8.6j/rra/localhost_load_1min_5.rrd --step 300 DS:load_1min:GAUGE:600:0:500 DS:load_5min:GAUGE:600:0:500 DS:load_15min:GAUGE:600:0:500 RRA:AVERAGE:0.5:1:600 RRA:AVERAGE:0.5:6:700 RRA:AVERAGE:0.5:24:775 RRA:AVERAGE:0.5:288:797 RRA:MAX:0.5:1:600 RRA:MAX:0.5:6:700 RRA:MAX:0.5:24:775 RRA:MAX:0.5:288:797
08/27/2007 02:55:04 PM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /www/htdocs/cacti-0.8.6j/rra/localhost_load_1min_5.rrd --template load_1min:load_5min:load_15min N:0.90:0.51:0.26
08/27/2007 02:55:04 PM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /www/htdocs/cacti-0.8.6j/rra/localhost_load_1min_5.rrd --template load_1min:load_5min:load_15min N:0.70:0.48:0.25
08/27/2007 02:55:04 PM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool create /www/htdocs/cacti-0.8.6j/rra/localhost_users_6.rrd --step 300 DS:users:GAUGE:600:0:500 RRA:AVERAGE:0.5:1:600 RRA:AVERAGE:0.5:6:700 RRA:AVERAGE:0.5:24:775 RRA:AVERAGE:0.5:288:797 RRA:MAX:0.5:1:600 RRA:MAX:0.5:6:700 RRA:MAX:0.5:24:775 RRA:MAX:0.5:288:797
08/27/2007 02:55:04 PM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /www/htdocs/cacti-0.8.6j/rra/localhost_users_6.rrd --template users N:5
08/27/2007 02:55:04 PM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /www/htdocs/cacti-0.8.6j/rra/localhost_users_6.rrd --template users N:5
08/27/2007 02:55:04 PM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool create /www/htdocs/cacti-0.8.6j/rra/localhost_proc_7.rrd --step 300 DS:proc:GAUGE:600:0:1000 RRA:AVERAGE:0.5:1:600 RRA:AVERAGE:0.5:6:700 RRA:AVERAGE:0.5:24:775 RRA:AVERAGE:0.5:288:797 RRA:MAX:0.5:1:600 RRA:MAX:0.5:6:700 RRA:MAX:0.5:24:775 RRA:MAX:0.5:288:797
08/27/2007 02:55:04 PM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /www/htdocs/cacti-0.8.6j/rra/localhost_proc_7.rrd --template proc N:139
08/27/2007 02:55:04 PM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /www/htdocs/cacti-0.8.6j/rra/localhost_proc_7.rrd --template proc N:139
08/27/2007 02:55:04 PM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool create /www/htdocs/cacti-0.8.6j/rra/router_bismark_traffic_in_8.rrd --step 300 DS:traffic_in:COUNTER:600:0:200000000 DS:traffic_out:COUNTER:600:0:200000000 RRA:AVERAGE:0.5:1:600 RRA:AVERAGE:0.5:6:700 RRA:AVERAGE:0.5:24:775 RRA:AVERAGE:0.5:288:797 RRA:MAX:0.5:1:600 RRA:MAX:0.5:6:700 RRA:MAX:0.5:24:775 RRA:MAX:0.5:288:797
08/27/2007 02:55:04 PM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /www/htdocs/cacti-0.8.6j/rra/router_bismark_traffic_in_8.rrd --template traffic_out:traffic_in N:16995317:25816253
08/27/2007 02:55:04 PM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool create /www/htdocs/cacti-0.8.6j/rra/router_bismark_traffic_in_9.rrd --step 300 DS:traffic_in:COUNTER:600:0:112000 DS:traffic_out:COUNTER:600:0:112000 RRA:AVERAGE:0.5:1:600 RRA:AVERAGE:0.5:6:700 RRA:AVERAGE:0.5:24:775 RRA:AVERAGE:0.5:288:797 RRA:MAX:0.5:1:600 RRA:MAX:0.5:6:700 RRA:MAX:0.5:24:775 RRA:MAX:0.5:288:797
08/27/2007 02:55:04 PM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /www/htdocs/cacti-0.8.6j/rra/router_bismark_traffic_in_9.rrd --template traffic_out:traffic_in N:1753388:486199
08/27/2007 02:55:04 PM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool create /www/htdocs/cacti-0.8.6j/rra/router_bismark_traffic_in_10.rrd --step 300 DS:traffic_in:COUNTER:600:0:18000 DS:traffic_out:COUNTER:600:0:18000 RRA:AVERAGE:0.5:1:600 RRA:AVERAGE:0.5:6:700 RRA:AVERAGE:0.5:24:775 RRA:AVERAGE:0.5:288:797 RRA:MAX:0.5:1:600 RRA:MAX:0.5:6:700 RRA:MAX:0.5:24:775 RRA:MAX:0.5:288:797
08/27/2007 02:55:04 PM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /www/htdocs/cacti-0.8.6j/rra/router_bismark_traffic_in_10.rrd --template traffic_out:traffic_in N:0:0
08/27/2007 02:55:04 PM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool create /www/htdocs/cacti-0.8.6j/rra/router_bismark_traffic_in_11.rrd --step 300 DS:traffic_in:COUNTER:600:0:18000 DS:traffic_out:COUNTER:600:0:18000 RRA:AVERAGE:0.5:1:600 RRA:AVERAGE:0.5:6:700 RRA:AVERAGE:0.5:24:775 RRA:AVERAGE:0.5:288:797 RRA:MAX:0.5:1:600 RRA:MAX:0.5:6:700 RRA:MAX:0.5:24:775 RRA:MAX:0.5:288:797
08/27/2007 02:55:04 PM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /www/htdocs/cacti-0.8.6j/rra/router_bismark_traffic_in_11.rrd --template traffic_out:traffic_in N7776
08/27/2007 02:55:04 PM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool create /www/htdocs/cacti-0.8.6j/rra/router_bismark_traffic_in_12.rrd --step 300 DS:traffic_in:COUNTER:600:0:18000 DS:traffic_out:COUNTER:600:0:18000 RRA:AVERAGE:0.5:1:600 RRA:AVERAGE:0.5:6:700 RRA:AVERAGE:0.5:24:775 RRA:AVERAGE:0.5:288:797 RRA:MAX:0.5:1:600 RRA:MAX:0.5:6:700 RRA:MAX:0.5:24:775 RRA:MAX:0.5:288:797
08/27/2007 02:55:04 PM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /www/htdocs/cacti-0.8.6j/rra/router_bismark_traffic_in_12.rrd --template traffic_out:traffic_in N:0:0
08/27/2007 02:55:04 PM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool create /www/htdocs/cacti-0.8.6j/rra/oscar_edo__traffic_in_13.rrd --step 300 DS:traffic_in:COUNTER:600:0:11000000 DS:traffic_out:COUNTER:600:0:11000000 RRA:AVERAGE:0.5:1:600 RRA:AVERAGE:0.5:6:700 RRA:AVERAGE:0.5:24:775 RRA:AVERAGE:0.5:288:797 RRA:MAX:0.5:1:600 RRA:MAX:0.5:6:700 RRA:MAX:0.5:24:775 RRA:MAX:0.5:288:797
08/27/2007 02:55:04 PM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /www/htdocs/cacti-0.8.6j/rra/oscar_edo__traffic_in_13.rrd --template traffic_in:traffic_out N:3000992:915217
OK u:0.00 s:0.01 r:1.80
OK u:0.00 s:0.01 r:1.81
OK u:0.00 s:0.01 r:1.81
OK u:0.00 s:0.01 r:1.81
OK u:0.00 s:0.01 r:1.81
OK u:0.00 s:0.01 r:1.81
OK u:0.00 s:0.01 r:1.81
OK u:0.00 s:0.01 r:1.81
OK u:0.00 s:0.01 r:1.81
OK u:0.00 s:0.02 r:1.81
OK u:0.00 s:0.02 r:1.81
OK u:0.00 s:0.02 r:1.81
OK u:0.00 s:0.02 r:1.81
OK u:0.00 s:0.02 r:1.81
OK u:0.00 s:0.02 r:1.81
OK u:0.00 s:0.02 r:1.82
OK u:0.00 s:0.02 r:1.82
OK u:0.00 s:0.02 r:1.82
OK u:0.01 s:0.02 r:1.82
OK u:0.01 s:0.02 r:1.82
OK u:0.01 s:0.02 r:1.82
OK u:0.01 s:0.02 r:1.82
OK u:0.01 s:0.02 r:1.82
OK u:0.01 s:0.02 r:1.83
OK u:0.01 s:0.02 r:1.83
OK u:0.01 s:0.03 r:1.83
OK u:0.01 s:0.03 r:1.83
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
[1]+ Stopped php -q poller.php
And created the rrd files
The second time i had the following:
[cactiuser@localhost cacti-0.8.6j]$ php -q poller.php
08/27/2007 03:03:09 PM - POLLER: Poller[0] DEBUG: About to Spawn a Remote Process [CMD: /usr/bin/php, ARGS: -q /www/htdocs/cacti-0.8.6j/cmd.php 0 4]
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
[4]+ Stopped php -q poller.php
And do not update the firsts *.rrd files.
I have so my permisions:
[root@localhost cacti-0.8.6j]# ls -l
total 1128
-rwxrwxrwx 1 root root 5892 Aug 27 09:49 about.php
-rwxrwxrwx 1 root root 4773 Aug 27 09:49 auth_changepassword.php
-rwxrwxrwx 1 root root 6203 Aug 27 09:49 auth_login.php
-rwxrwxrwx 1 root root 170951 Aug 27 09:49 cacti.sql
-rwxrwxrwx 1 root root 13108 Aug 27 09:49 cdef.php
-rwxrwxrwx 1 root root 17023 Aug 27 14:06 cmd.php
-rwxrwxrwx 1 root root 5917 Aug 27 09:49 color.php
-rwxrwxrwx 1 root root 2846 Aug 27 09:49 copy_cacti_user.php
-rwxrwxrwx 1 root root 18387 Aug 27 09:49 data_input.php
-rwxrwxrwx 1 root root 28762 Aug 27 09:49 data_queries.php
-rwxrwxrwx 1 root root 45400 Aug 27 09:49 data_sources.php
-rwxrwxrwx 1 root root 31307 Aug 27 09:49 data_templates.php
drwxrwxrwx 5 root root 4096 Aug 27 09:49 docs
-rwxrwxrwx 1 root root 6110 Aug 27 09:49 gprint_presets.php
-rw-r--r-- 1 root root 927 Mar 4 10:31 graph_debug_lockup_fix.patch
-rwxrwxrwx 1 root root 3423 Aug 27 09:49 graph_image.php
-rwxrwxrwx 1 root root 10572 Aug 27 09:49 graph.php
-rwxrwxrwx 1 root root 6502 Aug 27 09:49 graph_settings.php
-rwxrwxrwx 1 root root 12446 Aug 27 09:49 graphs_items.php
-rwxrwxrwx 1 root root 30927 Aug 27 09:49 graphs_new.php
-rwxrwxrwx 1 root root 48109 Aug 27 09:49 graphs.php
-rwxrwxrwx 1 root root 10097 Aug 27 09:49 graph_templates_inputs.php
-rwxrwxrwx 1 root root 17367 Aug 27 09:49 graph_templates_items.php
-rwxrwxrwx 1 root root 23468 Aug 27 09:49 graph_templates.php
-rwxrwxrwx 1 root root 23261 Aug 27 09:49 graph_view.php
-rwxrwxrwx 1 root root 35150 Aug 27 09:49 host.php
-rwxrwxrwx 1 root root 15014 Aug 27 09:49 host_templates.php
drwxrwxrwx 2 root root 4096 Aug 27 09:49 images
drwxrwxrwx 5 root root 4096 Aug 27 14:36 include
-rwxrwxrwx 1 root root 2271 Aug 27 09:49 index.php
drwxrwxrwx 2 root root 4096 Aug 27 09:49 install
drwxrwxrwx 3 root root 4096 Aug 27 14:29 lib
-rwxrwxrwx 1 root root 15141 Aug 27 09:49 LICENSE
drwxrwxrwx 2 cactiuser root 4096 Aug 27 09:49 log
-rwxrwxrwx 1 root root 1796 Aug 27 09:49 logout.php
-rw-r--r-- 1 root root 1262 Jan 27 2007 ping_php_version4_snmpgetnext.patch
-rwxrwxrwx 1 root root 4462 Aug 27 09:49 poller_commands.php
-rwxrwxrwx 1 root root 2399 Aug 27 09:49 poller_export.php
-rwxrwxrwx 1 root root 9314 Aug 27 09:49 poller.php
-rwxrwxrwx 1 root root 4417 Aug 27 09:49 poller_reindex_hosts.php
-rwxrwxrwx 1 root root 71 Aug 27 09:49 README
-rwxrwxrwx 1 root root 4244 Aug 27 09:49 rebuild_poller_cache.php
drwxrwxrwx 5 root root 4096 Aug 27 09:49 resource
drwxrwxrwx 2 root root 4096 Aug 27 14:55 rra
-rwxrwxrwx 1 root root 7236 Aug 27 09:49 rra.php
drwxrwxrwx 2 root root 4096 Aug 27 09:49 scripts
-rwxrwxrwx 1 root root 7363 Aug 27 09:49 script_server.php
-rwxrwxrwx 1 root root 353 Aug 27 09:49 script_server.pl
-rwxrwxrwx 1 root root 5148 Aug 27 09:49 settings.php
-rw-r--r-- 1 root root 1056 May 15 20:29 snmpwalk_fix.patch
-rwxrwxrwx 1 root root 6813 Aug 27 09:49 templates_export.php
-rwxrwxrwx 1 root root 5954 Aug 27 09:49 templates_import.php
-rw-r--r-- 1 root root 1515 Feb 18 2007 thumbnail_graphs_not_working.patch
-rw-r--r-- 1 root root 1515 Feb 18 2007 thumbnail_graphs_not_working.patch.1
-rw-r--r-- 1 root root 771 Jan 27 2007 tree_console_missing_hosts.patch
-rwxrwxrwx 1 root root 17958 Aug 27 09:49 tree.php
-rwxrwxrwx 1 root root 28925 Aug 27 09:49 user_admin.php
-rwxrwxrwx 1 root root 35851 Aug 27 09:49 utilities.php
[root@localhost cacti-0.8.6j]#
[root@localhost rra]# ls -l
total 980
-rw-rw-r-- 1 cactiuser cactiuser 141488 Aug 27 14:55 localhost_load_1min_5.rrd
-rw-rw-r-- 1 cactiuser cactiuser 47840 Aug 27 14:55 localhost_mem_buffers_3.rrd
-rw-rw-r-- 1 cactiuser cactiuser 47840 Aug 27 14:55 localhost_mem_swap_4.rrd
-rw-rw-r-- 1 cactiuser cactiuser 47840 Aug 27 14:55 localhost_proc_7.rrd
-rw-rw-r-- 1 cactiuser cactiuser 47840 Aug 27 14:55 localhost_users_6.rrd
-rw-rw-r-- 1 cactiuser cactiuser 94664 Aug 27 14:55 oscar_edo__traffic_in_13.rrd
-rw-rw-r-- 1 cactiuser cactiuser 94664 Aug 27 14:55 router_bismark_traffic_in_10.rrd
-rw-rw-r-- 1 cactiuser cactiuser 94664 Aug 27 14:55 router_bismark_traffic_in_11.rrd
-rw-rw-r-- 1 cactiuser cactiuser 94664 Aug 27 14:55 router_bismark_traffic_in_12.rrd
-rw-rw-r-- 1 cactiuser cactiuser 94664 Aug 27 14:55 router_bismark_traffic_in_8.rrd
-rw-rw-r-- 1 cactiuser cactiuser 94664 Aug 27 14:55 router_bismark_traffic_in_9.rrd
the cron job i must do like a cactiuser o like root user?...
Thanks for u replies.
[cactiuser@localhost cacti-0.8.6j]$ php -q poller.php
08/27/2007 02:55:00 PM - POLLER: Poller[0] DEBUG: About to Spawn a Remote Process [CMD: /usr/bin/php, ARGS: -q /www/htdocs/cacti-0.8.6j/cmd.php 0 4]
Waiting on 1/1 pollers.
08/27/2007 02:55:02 PM - POLLER: Poller[0] Parsed MULTI output field '1min:0.90' [map 1min->load_1min]
08/27/2007 02:55:02 PM - POLLER: Poller[0] Parsed MULTI output field '5min:0.51' [map 5min->load_5min]
08/27/2007 02:55:02 PM - POLLER: Poller[0] Parsed MULTI output field '10min:0.26' [map 10min->load_15min]
08/27/2007 02:55:02 PM - POLLER: Poller[0] Parsed MULTI output field '1min:0.70' [map 1min->load_1min]
08/27/2007 02:55:02 PM - POLLER: Poller[0] Parsed MULTI output field '5min:0.48' [map 5min->load_5min]
08/27/2007 02:55:02 PM - POLLER: Poller[0] Parsed MULTI output field '10min:0.25' [map 10min->load_15min]
08/27/2007 02:55:04 PM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool create /www/htdocs/cacti-0.8.6j/rra/localhost_mem_buffers_3.rrd --step 300 DS:mem_buffers:GAUGE:600:0:U RRA:AVERAGE:0.5:1:600 RRA:AVERAGE:0.5:6:700 RRA:AVERAGE:0.5:24:775 RRA:AVERAGE:0.5:288:797 RRA:MAX:0.5:1:600 RRA:MAX:0.5:6:700 RRA:MAX:0.5:24:775 RRA:MAX:0.5:288:797
08/27/2007 02:55:04 PM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /www/htdocs/cacti-0.8.6j/rra/localhost_mem_buffers_3.rrd --template mem_buffers N:3540
08/27/2007 02:55:04 PM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /www/htdocs/cacti-0.8.6j/rra/localhost_mem_buffers_3.rrd --template mem_buffers N:3676
08/27/2007 02:55:04 PM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool create /www/htdocs/cacti-0.8.6j/rra/localhost_mem_swap_4.rrd --step 300 DS:mem_swap:GAUGE:600:0:U RRA:AVERAGE:0.5:1:600 RRA:AVERAGE:0.5:6:700 RRA:AVERAGE:0.5:24:775 RRA:AVERAGE:0.5:288:797 RRA:MAX:0.5:1:600 RRA:MAX:0.5:6:700 RRA:MAX:0.5:24:775 RRA:MAX:0.5:288:797
08/27/2007 02:55:04 PM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /www/htdocs/cacti-0.8.6j/rra/localhost_mem_swap_4.rrd --template mem_swap N:384704
08/27/2007 02:55:04 PM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /www/htdocs/cacti-0.8.6j/rra/localhost_mem_swap_4.rrd --template mem_swap N:384704
08/27/2007 02:55:04 PM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool create /www/htdocs/cacti-0.8.6j/rra/localhost_load_1min_5.rrd --step 300 DS:load_1min:GAUGE:600:0:500 DS:load_5min:GAUGE:600:0:500 DS:load_15min:GAUGE:600:0:500 RRA:AVERAGE:0.5:1:600 RRA:AVERAGE:0.5:6:700 RRA:AVERAGE:0.5:24:775 RRA:AVERAGE:0.5:288:797 RRA:MAX:0.5:1:600 RRA:MAX:0.5:6:700 RRA:MAX:0.5:24:775 RRA:MAX:0.5:288:797
08/27/2007 02:55:04 PM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /www/htdocs/cacti-0.8.6j/rra/localhost_load_1min_5.rrd --template load_1min:load_5min:load_15min N:0.90:0.51:0.26
08/27/2007 02:55:04 PM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /www/htdocs/cacti-0.8.6j/rra/localhost_load_1min_5.rrd --template load_1min:load_5min:load_15min N:0.70:0.48:0.25
08/27/2007 02:55:04 PM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool create /www/htdocs/cacti-0.8.6j/rra/localhost_users_6.rrd --step 300 DS:users:GAUGE:600:0:500 RRA:AVERAGE:0.5:1:600 RRA:AVERAGE:0.5:6:700 RRA:AVERAGE:0.5:24:775 RRA:AVERAGE:0.5:288:797 RRA:MAX:0.5:1:600 RRA:MAX:0.5:6:700 RRA:MAX:0.5:24:775 RRA:MAX:0.5:288:797
08/27/2007 02:55:04 PM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /www/htdocs/cacti-0.8.6j/rra/localhost_users_6.rrd --template users N:5
08/27/2007 02:55:04 PM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /www/htdocs/cacti-0.8.6j/rra/localhost_users_6.rrd --template users N:5
08/27/2007 02:55:04 PM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool create /www/htdocs/cacti-0.8.6j/rra/localhost_proc_7.rrd --step 300 DS:proc:GAUGE:600:0:1000 RRA:AVERAGE:0.5:1:600 RRA:AVERAGE:0.5:6:700 RRA:AVERAGE:0.5:24:775 RRA:AVERAGE:0.5:288:797 RRA:MAX:0.5:1:600 RRA:MAX:0.5:6:700 RRA:MAX:0.5:24:775 RRA:MAX:0.5:288:797
08/27/2007 02:55:04 PM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /www/htdocs/cacti-0.8.6j/rra/localhost_proc_7.rrd --template proc N:139
08/27/2007 02:55:04 PM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /www/htdocs/cacti-0.8.6j/rra/localhost_proc_7.rrd --template proc N:139
08/27/2007 02:55:04 PM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool create /www/htdocs/cacti-0.8.6j/rra/router_bismark_traffic_in_8.rrd --step 300 DS:traffic_in:COUNTER:600:0:200000000 DS:traffic_out:COUNTER:600:0:200000000 RRA:AVERAGE:0.5:1:600 RRA:AVERAGE:0.5:6:700 RRA:AVERAGE:0.5:24:775 RRA:AVERAGE:0.5:288:797 RRA:MAX:0.5:1:600 RRA:MAX:0.5:6:700 RRA:MAX:0.5:24:775 RRA:MAX:0.5:288:797
08/27/2007 02:55:04 PM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /www/htdocs/cacti-0.8.6j/rra/router_bismark_traffic_in_8.rrd --template traffic_out:traffic_in N:16995317:25816253
08/27/2007 02:55:04 PM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool create /www/htdocs/cacti-0.8.6j/rra/router_bismark_traffic_in_9.rrd --step 300 DS:traffic_in:COUNTER:600:0:112000 DS:traffic_out:COUNTER:600:0:112000 RRA:AVERAGE:0.5:1:600 RRA:AVERAGE:0.5:6:700 RRA:AVERAGE:0.5:24:775 RRA:AVERAGE:0.5:288:797 RRA:MAX:0.5:1:600 RRA:MAX:0.5:6:700 RRA:MAX:0.5:24:775 RRA:MAX:0.5:288:797
08/27/2007 02:55:04 PM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /www/htdocs/cacti-0.8.6j/rra/router_bismark_traffic_in_9.rrd --template traffic_out:traffic_in N:1753388:486199
08/27/2007 02:55:04 PM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool create /www/htdocs/cacti-0.8.6j/rra/router_bismark_traffic_in_10.rrd --step 300 DS:traffic_in:COUNTER:600:0:18000 DS:traffic_out:COUNTER:600:0:18000 RRA:AVERAGE:0.5:1:600 RRA:AVERAGE:0.5:6:700 RRA:AVERAGE:0.5:24:775 RRA:AVERAGE:0.5:288:797 RRA:MAX:0.5:1:600 RRA:MAX:0.5:6:700 RRA:MAX:0.5:24:775 RRA:MAX:0.5:288:797
08/27/2007 02:55:04 PM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /www/htdocs/cacti-0.8.6j/rra/router_bismark_traffic_in_10.rrd --template traffic_out:traffic_in N:0:0
08/27/2007 02:55:04 PM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool create /www/htdocs/cacti-0.8.6j/rra/router_bismark_traffic_in_11.rrd --step 300 DS:traffic_in:COUNTER:600:0:18000 DS:traffic_out:COUNTER:600:0:18000 RRA:AVERAGE:0.5:1:600 RRA:AVERAGE:0.5:6:700 RRA:AVERAGE:0.5:24:775 RRA:AVERAGE:0.5:288:797 RRA:MAX:0.5:1:600 RRA:MAX:0.5:6:700 RRA:MAX:0.5:24:775 RRA:MAX:0.5:288:797
08/27/2007 02:55:04 PM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /www/htdocs/cacti-0.8.6j/rra/router_bismark_traffic_in_11.rrd --template traffic_out:traffic_in N7776
08/27/2007 02:55:04 PM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool create /www/htdocs/cacti-0.8.6j/rra/router_bismark_traffic_in_12.rrd --step 300 DS:traffic_in:COUNTER:600:0:18000 DS:traffic_out:COUNTER:600:0:18000 RRA:AVERAGE:0.5:1:600 RRA:AVERAGE:0.5:6:700 RRA:AVERAGE:0.5:24:775 RRA:AVERAGE:0.5:288:797 RRA:MAX:0.5:1:600 RRA:MAX:0.5:6:700 RRA:MAX:0.5:24:775 RRA:MAX:0.5:288:797
08/27/2007 02:55:04 PM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /www/htdocs/cacti-0.8.6j/rra/router_bismark_traffic_in_12.rrd --template traffic_out:traffic_in N:0:0
08/27/2007 02:55:04 PM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool create /www/htdocs/cacti-0.8.6j/rra/oscar_edo__traffic_in_13.rrd --step 300 DS:traffic_in:COUNTER:600:0:11000000 DS:traffic_out:COUNTER:600:0:11000000 RRA:AVERAGE:0.5:1:600 RRA:AVERAGE:0.5:6:700 RRA:AVERAGE:0.5:24:775 RRA:AVERAGE:0.5:288:797 RRA:MAX:0.5:1:600 RRA:MAX:0.5:6:700 RRA:MAX:0.5:24:775 RRA:MAX:0.5:288:797
08/27/2007 02:55:04 PM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /www/htdocs/cacti-0.8.6j/rra/oscar_edo__traffic_in_13.rrd --template traffic_in:traffic_out N:3000992:915217
OK u:0.00 s:0.01 r:1.80
OK u:0.00 s:0.01 r:1.81
OK u:0.00 s:0.01 r:1.81
OK u:0.00 s:0.01 r:1.81
OK u:0.00 s:0.01 r:1.81
OK u:0.00 s:0.01 r:1.81
OK u:0.00 s:0.01 r:1.81
OK u:0.00 s:0.01 r:1.81
OK u:0.00 s:0.01 r:1.81
OK u:0.00 s:0.02 r:1.81
OK u:0.00 s:0.02 r:1.81
OK u:0.00 s:0.02 r:1.81
OK u:0.00 s:0.02 r:1.81
OK u:0.00 s:0.02 r:1.81
OK u:0.00 s:0.02 r:1.81
OK u:0.00 s:0.02 r:1.82
OK u:0.00 s:0.02 r:1.82
OK u:0.00 s:0.02 r:1.82
OK u:0.01 s:0.02 r:1.82
OK u:0.01 s:0.02 r:1.82
OK u:0.01 s:0.02 r:1.82
OK u:0.01 s:0.02 r:1.82
OK u:0.01 s:0.02 r:1.82
OK u:0.01 s:0.02 r:1.83
OK u:0.01 s:0.02 r:1.83
OK u:0.01 s:0.03 r:1.83
OK u:0.01 s:0.03 r:1.83
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
[1]+ Stopped php -q poller.php
And created the rrd files
The second time i had the following:
[cactiuser@localhost cacti-0.8.6j]$ php -q poller.php
08/27/2007 03:03:09 PM - POLLER: Poller[0] DEBUG: About to Spawn a Remote Process [CMD: /usr/bin/php, ARGS: -q /www/htdocs/cacti-0.8.6j/cmd.php 0 4]
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
[4]+ Stopped php -q poller.php
And do not update the firsts *.rrd files.
I have so my permisions:
[root@localhost cacti-0.8.6j]# ls -l
total 1128
-rwxrwxrwx 1 root root 5892 Aug 27 09:49 about.php
-rwxrwxrwx 1 root root 4773 Aug 27 09:49 auth_changepassword.php
-rwxrwxrwx 1 root root 6203 Aug 27 09:49 auth_login.php
-rwxrwxrwx 1 root root 170951 Aug 27 09:49 cacti.sql
-rwxrwxrwx 1 root root 13108 Aug 27 09:49 cdef.php
-rwxrwxrwx 1 root root 17023 Aug 27 14:06 cmd.php
-rwxrwxrwx 1 root root 5917 Aug 27 09:49 color.php
-rwxrwxrwx 1 root root 2846 Aug 27 09:49 copy_cacti_user.php
-rwxrwxrwx 1 root root 18387 Aug 27 09:49 data_input.php
-rwxrwxrwx 1 root root 28762 Aug 27 09:49 data_queries.php
-rwxrwxrwx 1 root root 45400 Aug 27 09:49 data_sources.php
-rwxrwxrwx 1 root root 31307 Aug 27 09:49 data_templates.php
drwxrwxrwx 5 root root 4096 Aug 27 09:49 docs
-rwxrwxrwx 1 root root 6110 Aug 27 09:49 gprint_presets.php
-rw-r--r-- 1 root root 927 Mar 4 10:31 graph_debug_lockup_fix.patch
-rwxrwxrwx 1 root root 3423 Aug 27 09:49 graph_image.php
-rwxrwxrwx 1 root root 10572 Aug 27 09:49 graph.php
-rwxrwxrwx 1 root root 6502 Aug 27 09:49 graph_settings.php
-rwxrwxrwx 1 root root 12446 Aug 27 09:49 graphs_items.php
-rwxrwxrwx 1 root root 30927 Aug 27 09:49 graphs_new.php
-rwxrwxrwx 1 root root 48109 Aug 27 09:49 graphs.php
-rwxrwxrwx 1 root root 10097 Aug 27 09:49 graph_templates_inputs.php
-rwxrwxrwx 1 root root 17367 Aug 27 09:49 graph_templates_items.php
-rwxrwxrwx 1 root root 23468 Aug 27 09:49 graph_templates.php
-rwxrwxrwx 1 root root 23261 Aug 27 09:49 graph_view.php
-rwxrwxrwx 1 root root 35150 Aug 27 09:49 host.php
-rwxrwxrwx 1 root root 15014 Aug 27 09:49 host_templates.php
drwxrwxrwx 2 root root 4096 Aug 27 09:49 images
drwxrwxrwx 5 root root 4096 Aug 27 14:36 include
-rwxrwxrwx 1 root root 2271 Aug 27 09:49 index.php
drwxrwxrwx 2 root root 4096 Aug 27 09:49 install
drwxrwxrwx 3 root root 4096 Aug 27 14:29 lib
-rwxrwxrwx 1 root root 15141 Aug 27 09:49 LICENSE
drwxrwxrwx 2 cactiuser root 4096 Aug 27 09:49 log
-rwxrwxrwx 1 root root 1796 Aug 27 09:49 logout.php
-rw-r--r-- 1 root root 1262 Jan 27 2007 ping_php_version4_snmpgetnext.patch
-rwxrwxrwx 1 root root 4462 Aug 27 09:49 poller_commands.php
-rwxrwxrwx 1 root root 2399 Aug 27 09:49 poller_export.php
-rwxrwxrwx 1 root root 9314 Aug 27 09:49 poller.php
-rwxrwxrwx 1 root root 4417 Aug 27 09:49 poller_reindex_hosts.php
-rwxrwxrwx 1 root root 71 Aug 27 09:49 README
-rwxrwxrwx 1 root root 4244 Aug 27 09:49 rebuild_poller_cache.php
drwxrwxrwx 5 root root 4096 Aug 27 09:49 resource
drwxrwxrwx 2 root root 4096 Aug 27 14:55 rra
-rwxrwxrwx 1 root root 7236 Aug 27 09:49 rra.php
drwxrwxrwx 2 root root 4096 Aug 27 09:49 scripts
-rwxrwxrwx 1 root root 7363 Aug 27 09:49 script_server.php
-rwxrwxrwx 1 root root 353 Aug 27 09:49 script_server.pl
-rwxrwxrwx 1 root root 5148 Aug 27 09:49 settings.php
-rw-r--r-- 1 root root 1056 May 15 20:29 snmpwalk_fix.patch
-rwxrwxrwx 1 root root 6813 Aug 27 09:49 templates_export.php
-rwxrwxrwx 1 root root 5954 Aug 27 09:49 templates_import.php
-rw-r--r-- 1 root root 1515 Feb 18 2007 thumbnail_graphs_not_working.patch
-rw-r--r-- 1 root root 1515 Feb 18 2007 thumbnail_graphs_not_working.patch.1
-rw-r--r-- 1 root root 771 Jan 27 2007 tree_console_missing_hosts.patch
-rwxrwxrwx 1 root root 17958 Aug 27 09:49 tree.php
-rwxrwxrwx 1 root root 28925 Aug 27 09:49 user_admin.php
-rwxrwxrwx 1 root root 35851 Aug 27 09:49 utilities.php
[root@localhost cacti-0.8.6j]#
[root@localhost rra]# ls -l
total 980
-rw-rw-r-- 1 cactiuser cactiuser 141488 Aug 27 14:55 localhost_load_1min_5.rrd
-rw-rw-r-- 1 cactiuser cactiuser 47840 Aug 27 14:55 localhost_mem_buffers_3.rrd
-rw-rw-r-- 1 cactiuser cactiuser 47840 Aug 27 14:55 localhost_mem_swap_4.rrd
-rw-rw-r-- 1 cactiuser cactiuser 47840 Aug 27 14:55 localhost_proc_7.rrd
-rw-rw-r-- 1 cactiuser cactiuser 47840 Aug 27 14:55 localhost_users_6.rrd
-rw-rw-r-- 1 cactiuser cactiuser 94664 Aug 27 14:55 oscar_edo__traffic_in_13.rrd
-rw-rw-r-- 1 cactiuser cactiuser 94664 Aug 27 14:55 router_bismark_traffic_in_10.rrd
-rw-rw-r-- 1 cactiuser cactiuser 94664 Aug 27 14:55 router_bismark_traffic_in_11.rrd
-rw-rw-r-- 1 cactiuser cactiuser 94664 Aug 27 14:55 router_bismark_traffic_in_12.rrd
-rw-rw-r-- 1 cactiuser cactiuser 94664 Aug 27 14:55 router_bismark_traffic_in_8.rrd
-rw-rw-r-- 1 cactiuser cactiuser 94664 Aug 27 14:55 router_bismark_traffic_in_9.rrd
the cron job i must do like a cactiuser o like root user?...
Thanks for u replies.
-
- Cacti User
- Posts: 53
- Joined: Tue Apr 04, 2006 3:45 pm
- Location: Colombia
- Contact:
New coute
I have the following debug:
I execute php -q cmd.ph and have:
[cactiuser@localhost cacti-0.8.6j]$ php -q cmd.php
08/27/2007 03:16:33 PM - CMDPHP: Poller[0] Host[1] SNMP: Device does not require SNMP
08/27/2007 03:16:33 PM - CMDPHP: Poller[0] Host[1] No host availability check possible for '127.0.0.1'.
08/27/2007 03:16:33 PM - CMDPHP: Poller[0] Host[1] DS[3] CMD: perl /www/htdocs/cacti-0.8.6j/scripts/linux_memory.pl MemFree:, output: 3596
08/27/2007 03:16:33 PM - CMDPHP: Poller[0] Host[1] DS[4] CMD: perl /www/htdocs/cacti-0.8.6j/scripts/linux_memory.pl SwapFree:, output: 352792
08/27/2007 03:16:34 PM - CMDPHP: Poller[0] Host[1] DS[5] CMD: perl /www/htdocs/cacti-0.8.6j/scripts/loadavg_multi.pl, output: 1min:0.91 5min:0.81 10min:0.54
08/27/2007 03:16:34 PM - CMDPHP: Poller[0] Host[1] DS[6] CMD: perl /www/htdocs/cacti-0.8.6j/scripts/unix_users.pl , output: 6
08/27/2007 03:16:34 PM - CMDPHP: Poller[0] Host[1] DS[7] CMD: perl /www/htdocs/cacti-0.8.6j/scripts/unix_processes.pl, output: 165
08/27/2007 03:16:34 PM - CMDPHP: Poller[0] Host[2] SNMP: Host responded to SNMP
08/27/2007 03:16:34 PM - CMDPHP: Poller[0] Host[2] RECACHE: Processing 1 items in the auto reindex cache for '10.10.1.9'.
08/27/2007 03:16:35 PM - CMDPHP: Poller[0] Host[2] DS[8] SNMP: v2: 10.10.1.9, dsname: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.1, output: 17910088
08/27/2007 03:16:35 PM - CMDPHP: Poller[0] Host[2] DS[8] SNMP: v2: 10.10.1.9, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.1, output: 27641299
08/27/2007 03:16:35 PM - CMDPHP: Poller[0] Host[2] DS[9] SNMP: v2: 10.10.1.9, dsname: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.4, output: 2029986
08/27/2007 03:16:35 PM - CMDPHP: Poller[0] Host[2] DS[10] SNMP: v2: 10.10.1.9, dsname: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.5, output: 0
08/27/2007 03:16:36 PM - CMDPHP: Poller[0] Host[2] DS[10] SNMP: v2: 10.10.1.9, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.5, output: 0
08/27/2007 03:16:36 PM - CMDPHP: Poller[0] Host[2] DS[11] SNMP: v2: 10.10.1.9, dsname: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.6, output: 15840
08/27/2007 03:16:36 PM - CMDPHP: Poller[0] Host[2] DS[11] SNMP: v2: 10.10.1.9, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.6, output: 7776
08/27/2007 03:16:36 PM - CMDPHP: Poller[0] Host[2] DS[12] SNMP: v2: 10.10.1.9, dsname: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.7, output: 0
08/27/2007 03:16:36 PM - CMDPHP: Poller[0] Host[2] DS[12] SNMP: v2: 10.10.1.9, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.7, output: 0
08/27/2007 03:16:36 PM - CMDPHP: Poller[0] Host[2] DS[9] SNMP: v2: 10.10.1.9, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.4, output: 704558
08/27/2007 03:16:37 PM - CMDPHP: Poller[0] Host[4] SNMP: Host responded to SNMP
08/27/2007 03:16:37 PM - CMDPHP: Poller[0] Host[4] RECACHE: Processing 2 items in the auto reindex cache for '10.10.1.29'.
08/27/2007 03:16:37 PM - CMDPHP: Poller[0] Host[4] DS[13] SNMP: v2: 10.10.1.29, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.3, output: 11211528
08/27/2007 03:16:37 PM - CMDPHP: Poller[0] Host[4] DS[13] SNMP: v2: 10.10.1.29, dsname: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.3, output: 3783448
08/27/2007 03:16:37 PM - CMDPHP: Poller[0] Time: 4.5956 s, Theads: N/A, Hosts: 4
Next, i execute again the php -q poller.php and have good results again and updated the rrd files:
[cactiuser@localhost cacti-0.8.6j]$ php -q poller.php
08/27/2007 03:16:41 PM - POLLER: Poller[0] DEBUG: About to Spawn a Remote Process [CMD: /usr/bin/php, ARGS: -q /www/htdocs/cacti-0.8.6j/cmd.php 0 4]
Waiting on 1/1 pollers.
08/27/2007 03:16:42 PM - POLLER: Poller[0] Parsed MULTI output field '1min:0.91' [map 1min->load_1min]
08/27/2007 03:16:42 PM - POLLER: Poller[0] Parsed MULTI output field '5min:0.81' [map 5min->load_5min]
08/27/2007 03:16:42 PM - POLLER: Poller[0] Parsed MULTI output field '10min:0.54' [map 10min->load_15min]
08/27/2007 03:16:42 PM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /www/htdocs/cacti-0.8.6j/rra/localhost_mem_buffers_3.rrd --template mem_buffers 1188245793:3596
08/27/2007 03:16:42 PM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /www/htdocs/cacti-0.8.6j/rra/localhost_mem_swap_4.rrd --template mem_swap 1188245793:352792
08/27/2007 03:16:42 PM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /www/htdocs/cacti-0.8.6j/rra/localhost_load_1min_5.rrd --template load_1min:load_5min:load_15min 1188245793:0.91:0.81:0.54
08/27/2007 03:16:42 PM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /www/htdocs/cacti-0.8.6j/rra/localhost_users_6.rrd --template users 1188245793:6
08/27/2007 03:16:42 PM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /www/htdocs/cacti-0.8.6j/rra/localhost_proc_7.rrd --template proc 1188245793:165
08/27/2007 03:16:42 PM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /www/htdocs/cacti-0.8.6j/rra/router_bismark_traffic_in_8.rrd --template traffic_out:traffic_in 1188245794:17910088:27641299
08/27/2007 03:16:42 PM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /www/htdocs/cacti-0.8.6j/rra/router_bismark_traffic_in_9.rrd --template traffic_out:traffic_in 1188245794:2029986:704558
08/27/2007 03:16:42 PM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /www/htdocs/cacti-0.8.6j/rra/router_bismark_traffic_in_10.rrd --template traffic_out:traffic_in 1188245794:0:0
08/27/2007 03:16:42 PM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /www/htdocs/cacti-0.8.6j/rra/router_bismark_traffic_in_11.rrd --template traffic_out:traffic_in 11882457947776
08/27/2007 03:16:42 PM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /www/htdocs/cacti-0.8.6j/rra/router_bismark_traffic_in_12.rrd --template traffic_out:traffic_in 1188245794:0:0
08/27/2007 03:16:42 PM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /www/htdocs/cacti-0.8.6j/rra/oscar_edo__traffic_in_13.rrd --template traffic_in:traffic_out 1188245796:11211528:3783448
OK u:0.00 s:0.00 r:0.27
OK u:0.00 s:0.00 r:0.27
OK u:0.00 s:0.00 r:0.28
OK u:0.00 s:0.00 r:0.28
OK u:0.00 s:0.00 r:0.29
OK u:0.00 s:0.00 r:0.32
OK u:0.00 s:0.00 r:0.33
OK u:0.00 s:0.01 r:0.34
OK u:0.00 s:0.01 r:0.34
OK u:0.00 s:0.01 r:0.35
OK u:0.00 s:0.01 r:0.36
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
08/27/2007 03:54:37 PM - POLLER: Poller[0] Maximum runtime of 292 seconds exceeded. Exiting.
08/27/2007 03:54:37 PM - SYSTEM STATS: Time:293.6133 Method:cmd.php Processes:1 Threads:N/A Hosts:5 HostsPerProcess:5 DataSources:17 RRDsProcessed:11
Warning: pclose(): 57 is not a valid stream resource in /www/htdocs/cacti-0.8.6j/lib/rrd.php on line 47
But, i f i intented execute again the php -q poller.php i dont have results, i must execute before the php -q cmd.php command.
What is the reason i how to can fix that problem
Thanks a lot men,
I execute php -q cmd.ph and have:
[cactiuser@localhost cacti-0.8.6j]$ php -q cmd.php
08/27/2007 03:16:33 PM - CMDPHP: Poller[0] Host[1] SNMP: Device does not require SNMP
08/27/2007 03:16:33 PM - CMDPHP: Poller[0] Host[1] No host availability check possible for '127.0.0.1'.
08/27/2007 03:16:33 PM - CMDPHP: Poller[0] Host[1] DS[3] CMD: perl /www/htdocs/cacti-0.8.6j/scripts/linux_memory.pl MemFree:, output: 3596
08/27/2007 03:16:33 PM - CMDPHP: Poller[0] Host[1] DS[4] CMD: perl /www/htdocs/cacti-0.8.6j/scripts/linux_memory.pl SwapFree:, output: 352792
08/27/2007 03:16:34 PM - CMDPHP: Poller[0] Host[1] DS[5] CMD: perl /www/htdocs/cacti-0.8.6j/scripts/loadavg_multi.pl, output: 1min:0.91 5min:0.81 10min:0.54
08/27/2007 03:16:34 PM - CMDPHP: Poller[0] Host[1] DS[6] CMD: perl /www/htdocs/cacti-0.8.6j/scripts/unix_users.pl , output: 6
08/27/2007 03:16:34 PM - CMDPHP: Poller[0] Host[1] DS[7] CMD: perl /www/htdocs/cacti-0.8.6j/scripts/unix_processes.pl, output: 165
08/27/2007 03:16:34 PM - CMDPHP: Poller[0] Host[2] SNMP: Host responded to SNMP
08/27/2007 03:16:34 PM - CMDPHP: Poller[0] Host[2] RECACHE: Processing 1 items in the auto reindex cache for '10.10.1.9'.
08/27/2007 03:16:35 PM - CMDPHP: Poller[0] Host[2] DS[8] SNMP: v2: 10.10.1.9, dsname: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.1, output: 17910088
08/27/2007 03:16:35 PM - CMDPHP: Poller[0] Host[2] DS[8] SNMP: v2: 10.10.1.9, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.1, output: 27641299
08/27/2007 03:16:35 PM - CMDPHP: Poller[0] Host[2] DS[9] SNMP: v2: 10.10.1.9, dsname: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.4, output: 2029986
08/27/2007 03:16:35 PM - CMDPHP: Poller[0] Host[2] DS[10] SNMP: v2: 10.10.1.9, dsname: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.5, output: 0
08/27/2007 03:16:36 PM - CMDPHP: Poller[0] Host[2] DS[10] SNMP: v2: 10.10.1.9, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.5, output: 0
08/27/2007 03:16:36 PM - CMDPHP: Poller[0] Host[2] DS[11] SNMP: v2: 10.10.1.9, dsname: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.6, output: 15840
08/27/2007 03:16:36 PM - CMDPHP: Poller[0] Host[2] DS[11] SNMP: v2: 10.10.1.9, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.6, output: 7776
08/27/2007 03:16:36 PM - CMDPHP: Poller[0] Host[2] DS[12] SNMP: v2: 10.10.1.9, dsname: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.7, output: 0
08/27/2007 03:16:36 PM - CMDPHP: Poller[0] Host[2] DS[12] SNMP: v2: 10.10.1.9, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.7, output: 0
08/27/2007 03:16:36 PM - CMDPHP: Poller[0] Host[2] DS[9] SNMP: v2: 10.10.1.9, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.4, output: 704558
08/27/2007 03:16:37 PM - CMDPHP: Poller[0] Host[4] SNMP: Host responded to SNMP
08/27/2007 03:16:37 PM - CMDPHP: Poller[0] Host[4] RECACHE: Processing 2 items in the auto reindex cache for '10.10.1.29'.
08/27/2007 03:16:37 PM - CMDPHP: Poller[0] Host[4] DS[13] SNMP: v2: 10.10.1.29, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.3, output: 11211528
08/27/2007 03:16:37 PM - CMDPHP: Poller[0] Host[4] DS[13] SNMP: v2: 10.10.1.29, dsname: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.3, output: 3783448
08/27/2007 03:16:37 PM - CMDPHP: Poller[0] Time: 4.5956 s, Theads: N/A, Hosts: 4
Next, i execute again the php -q poller.php and have good results again and updated the rrd files:
[cactiuser@localhost cacti-0.8.6j]$ php -q poller.php
08/27/2007 03:16:41 PM - POLLER: Poller[0] DEBUG: About to Spawn a Remote Process [CMD: /usr/bin/php, ARGS: -q /www/htdocs/cacti-0.8.6j/cmd.php 0 4]
Waiting on 1/1 pollers.
08/27/2007 03:16:42 PM - POLLER: Poller[0] Parsed MULTI output field '1min:0.91' [map 1min->load_1min]
08/27/2007 03:16:42 PM - POLLER: Poller[0] Parsed MULTI output field '5min:0.81' [map 5min->load_5min]
08/27/2007 03:16:42 PM - POLLER: Poller[0] Parsed MULTI output field '10min:0.54' [map 10min->load_15min]
08/27/2007 03:16:42 PM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /www/htdocs/cacti-0.8.6j/rra/localhost_mem_buffers_3.rrd --template mem_buffers 1188245793:3596
08/27/2007 03:16:42 PM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /www/htdocs/cacti-0.8.6j/rra/localhost_mem_swap_4.rrd --template mem_swap 1188245793:352792
08/27/2007 03:16:42 PM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /www/htdocs/cacti-0.8.6j/rra/localhost_load_1min_5.rrd --template load_1min:load_5min:load_15min 1188245793:0.91:0.81:0.54
08/27/2007 03:16:42 PM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /www/htdocs/cacti-0.8.6j/rra/localhost_users_6.rrd --template users 1188245793:6
08/27/2007 03:16:42 PM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /www/htdocs/cacti-0.8.6j/rra/localhost_proc_7.rrd --template proc 1188245793:165
08/27/2007 03:16:42 PM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /www/htdocs/cacti-0.8.6j/rra/router_bismark_traffic_in_8.rrd --template traffic_out:traffic_in 1188245794:17910088:27641299
08/27/2007 03:16:42 PM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /www/htdocs/cacti-0.8.6j/rra/router_bismark_traffic_in_9.rrd --template traffic_out:traffic_in 1188245794:2029986:704558
08/27/2007 03:16:42 PM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /www/htdocs/cacti-0.8.6j/rra/router_bismark_traffic_in_10.rrd --template traffic_out:traffic_in 1188245794:0:0
08/27/2007 03:16:42 PM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /www/htdocs/cacti-0.8.6j/rra/router_bismark_traffic_in_11.rrd --template traffic_out:traffic_in 11882457947776
08/27/2007 03:16:42 PM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /www/htdocs/cacti-0.8.6j/rra/router_bismark_traffic_in_12.rrd --template traffic_out:traffic_in 1188245794:0:0
08/27/2007 03:16:42 PM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /www/htdocs/cacti-0.8.6j/rra/oscar_edo__traffic_in_13.rrd --template traffic_in:traffic_out 1188245796:11211528:3783448
OK u:0.00 s:0.00 r:0.27
OK u:0.00 s:0.00 r:0.27
OK u:0.00 s:0.00 r:0.28
OK u:0.00 s:0.00 r:0.28
OK u:0.00 s:0.00 r:0.29
OK u:0.00 s:0.00 r:0.32
OK u:0.00 s:0.00 r:0.33
OK u:0.00 s:0.01 r:0.34
OK u:0.00 s:0.01 r:0.34
OK u:0.00 s:0.01 r:0.35
OK u:0.00 s:0.01 r:0.36
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
08/27/2007 03:54:37 PM - POLLER: Poller[0] Maximum runtime of 292 seconds exceeded. Exiting.
08/27/2007 03:54:37 PM - SYSTEM STATS: Time:293.6133 Method:cmd.php Processes:1 Threads:N/A Hosts:5 HostsPerProcess:5 DataSources:17 RRDsProcessed:11
Warning: pclose(): 57 is not a valid stream resource in /www/htdocs/cacti-0.8.6j/lib/rrd.php on line 47
But, i f i intented execute again the php -q poller.php i dont have results, i must execute before the php -q cmd.php command.
What is the reason i how to can fix that problem
Thanks a lot men,
-
- Cacti User
- Posts: 53
- Joined: Tue Apr 04, 2006 3:45 pm
- Location: Colombia
- Contact:
See the problem.
My ./poller.php do not run, i have first execute the php -q cmd.php manually and after execute php -q poller.php, i dont have other way to generate the rrd files; if i run only the ./poller.php this dont generate the rrd files, neither work my crontab job for this reason.
When i execute the cmd.php and next the poller.php i have the following:
[cactiuser@localhost cacti-0.8.6j]$ php ./cmd.php
08/30/2007 08:46:24 AM - CMDPHP: Poller[0] Time: 1.0415 s, Theads: N/A, Hosts: 2
[cactiuser@localhost cacti-0.8.6j]$ php ./poller.php
OK u:0.00 s:0.00 r:0.02
OK u:0.00 s:0.00 r:0.03
OK u:0.00 s:0.00 r:0.05
OK u:0.00 s:0.01 r:0.05
OK u:0.00 s:0.01 r:0.05
OK u:0.00 s:0.01 r:0.08
^[[B^[[B08/30/2007 08:51:20 AM - POLLER: Poller[0] Maximum runtime of 292 seconds exceeded. Exiting.
08/30/2007 08:51:20 AM - SYSTEM STATS: Time:292.4530 Method:cmd.php Processes:1 Threads:N/A Hosts:3 HostsPerProcess:3 DataSources:7 RRDsProcessed:6
Warning: pclose(): 48 is not a valid stream resource in /www/htdocs/cacti-0.8.6j/lib/rrd.php on line 47
Thanks for u replies.
When i execute the cmd.php and next the poller.php i have the following:
[cactiuser@localhost cacti-0.8.6j]$ php ./cmd.php
08/30/2007 08:46:24 AM - CMDPHP: Poller[0] Time: 1.0415 s, Theads: N/A, Hosts: 2
[cactiuser@localhost cacti-0.8.6j]$ php ./poller.php
OK u:0.00 s:0.00 r:0.02
OK u:0.00 s:0.00 r:0.03
OK u:0.00 s:0.00 r:0.05
OK u:0.00 s:0.01 r:0.05
OK u:0.00 s:0.01 r:0.05
OK u:0.00 s:0.01 r:0.08
^[[B^[[B08/30/2007 08:51:20 AM - POLLER: Poller[0] Maximum runtime of 292 seconds exceeded. Exiting.
08/30/2007 08:51:20 AM - SYSTEM STATS: Time:292.4530 Method:cmd.php Processes:1 Threads:N/A Hosts:3 HostsPerProcess:3 DataSources:7 RRDsProcessed:6
Warning: pclose(): 48 is not a valid stream resource in /www/htdocs/cacti-0.8.6j/lib/rrd.php on line 47
Thanks for u replies.
Who is online
Users browsing this forum: No registered users and 1 guest