Hello,
I recently installed Cacti on RegHat 9.
Software versions:
Cacti - 0.8.6f
Cactid - 0.8.6e
MySql - 3.23
PHP - 4.3.6
RRDTool - 1.2.11
Net-SNMP - 5.1.3.1
The graphs are not working. When I run cactid from prompt (using su) I get:
[cactiuser@ids01-socal cactid]$ ./cactid
CACTID: Using cactid config file [cactid.conf]
CACTID: DEBUG: The path_php_server variable is /var/www/html/cacti/script_server.php
CACTID: DEBUG: The path_cactilog variable is /var/www/html/cacti/log/cacti.log
CACTID: DEBUG: The log_destination variable is 1
CACTID: DEBUG: The path_php variable is /usr/local/bin/php
CACTID: DEBUG: The availability_method variable is 1
CACTID: DEBUG: The ping_recovery_count variable is 3
CACTID: DEBUG: The ping_failure_count variable is 2
CACTID: DEBUG: The ping_method variable is 1
CACTID: DEBUG: The ping_retries variable is 1
CACTID: DEBUG: The ping_timeout variable is 400
CACTID: DEBUG: The log_perror variable is 1
CACTID: DEBUG: The log_pwarn variable is 1
CACTID: DEBUG: The log_pstats variable is 0
CACTID: DEBUG: The threads variable is 4
CACTID: DEBUG: The polling interval is the system default
CACTID: DEBUG: The number of concurrent processes is 4
CACTID: DEBUG: The script timeout is 25
CACTID: DEBUG: StartHost='0', EndHost='0', TotalPHPScripts='0'
CACTID: DEBUG: The PHP Script Server is Not Required
CACTID: CACTID: Version 0.8.6e starting
CACTID: MYSQL: Connecting to MySQL database 'cactidb' on 'localhost'...
CACTID: MYSQL: Connected to MySQL database 'cactidb' on 'localhost'...
CACTID: CACTID: Initializing Net-SNMP API
CACTID: CACTID: Initializing PHP Script Server
CACTID: DEBUG: Parent pid=24095, Script Server pid=0
CACTID: DEBUG: Initial Value of Active Threads is 0
CACTID: DEBUG: In Poller, About to Start Polling of Host
CACTID: MYSQL: Connecting to MySQL database 'cactidb' on 'localhost'...
CACTID: MYSQL: Connected to MySQL database 'cactidb' on 'localhost'...
CACTID: Host[0] DEBUG: HOST COMPLETE: About to Exit Host Polling Thread Function
CACTID: DEBUG: Valid Thread to be Created
CACTID: DEBUG: The Value of Active Threads is 1
CACTID: DEBUG: In Poller, About to Start Polling of Host
CACTID: MYSQL: Connecting to MySQL database 'cactidb' on 'localhost'...
CACTID: MYSQL: Connected to MySQL database 'cactidb' on 'localhost'...
CACTID: WARNING: Falling back to UDP Ping due to inability to set asroot permissions
CACTID: DEBUG: Falling back to UDP Ping due to inability to set asroot permissions
CACTID: DEBUG: Valid Thread to be Created
CACTID: DEBUG: The Value of Active Threads is 2
CACTID: DEBUG: The UDP Ping return_code was -1, errno was 111, total_time was 1.8411
CACTID: Host[2] PING Result: UDP: Host is Alive
CACTID: Host[2] SNMP Result: Host responded to SNMP
CACTID: Host[2] NOTICE: HOST EVENT: Host Returned from DOWN State
CACTID: DEBUG: SQLCMD: update host set status='3',status_event_count='0', status_fail_date='2005-07-28 02:05:07',status_rec_date='2005-07-28 14:25:00',status_last_error='SNMP not performed due to setting or ping result.,',min_time='0.987090',max_time='3.679020',cur_time='1.953000',avg_time='1.486274',total_polls='48',failed_polls='6',availability='87.5000' where id='2'
CACTID: Host[2] RECACHE: Processing 1 items in the auto reindex cache for '10.32.0.4'
CACTID: Host[2] DS[10] SNMP: v1: 10.32.0.4, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.3, value: 3243920036
CACTID: DEBUG: SQLCMD: insert into poller_output (local_data_id,rrd_name,time,output) values (10,'traffic_in','2005-07-28 14:34:00','3243920036')
CACTID: Host[2] DS[10] SNMP: v1: 10.32.0.4, dsname: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.3, value: 2901061459
CACTID: DEBUG: SQLCMD: insert into poller_output (local_data_id,rrd_name,time,output) values (10,'traffic_out','2005-07-28 14:34:00','2901061459')
CACTID: Host[2] DS[11] SNMP: v1: 10.32.0.4, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.4, value: 3048898102
CACTID: DEBUG: SQLCMD: insert into poller_output (local_data_id,rrd_name,time,output) values (11,'traffic_in','2005-07-28 14:34:00','3048898102')
CACTID: Host[2] DS[11] SNMP: v1: 10.32.0.4, dsname: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.4, value: 957660308
CACTID: DEBUG: SQLCMD: insert into poller_output (local_data_id,rrd_name,time,output) values (11,'traffic_out','2005-07-28 14:34:00','957660308')
CACTID: Host[2] DS[12] SNMP: v1: 10.32.0.4, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.7, value: 1498511838
CACTID: DEBUG: SQLCMD: insert into poller_output (local_data_id,rrd_name,time,output) values (12,'traffic_in','2005-07-28 14:34:00','1498511838')
CACTID: Host[2] DS[12] SNMP: v1: 10.32.0.4, dsname: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.7, value: 3934188703
CACTID: DEBUG: SQLCMD: insert into poller_output (local_data_id,rrd_name,time,output) values (12,'traffic_out','2005-07-28 14:34:00','3934188703')
CACTID: Host[2] DS[13] SNMP: v1: 10.32.0.4, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.8, value: 3157196523
CACTID: DEBUG: SQLCMD: insert into poller_output (local_data_id,rrd_name,time,output) values (13,'traffic_in','2005-07-28 14:34:00','3157196523')
CACTID: Host[2] DS[13] SNMP: v1: 10.32.0.4, dsname: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.8, value: 309784620
CACTID: DEBUG: SQLCMD: insert into poller_output (local_data_id,rrd_name,time,output) values (13,'traffic_out','2005-07-28 14:34:00','309784620')
CACTID: Host[2] DS[14] SNMP: v1: 10.32.0.4, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.9, value: 1341492084
CACTID: DEBUG: SQLCMD: insert into poller_output (local_data_id,rrd_name,time,output) values (14,'traffic_in','2005-07-28 14:34:00','1341492084')
CACTID: Host[2] DS[14] SNMP: v1: 10.32.0.4, dsname: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.9, value: 2325880789
CACTID: DEBUG: SQLCMD: insert into poller_output (local_data_id,rrd_name,time,output) values (14,'traffic_out','2005-07-28 14:34:00','2325880789')
CACTID: Host[2] DS[15] SNMP: v1: 10.32.0.4, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.10, value: 1556625247
CACTID: DEBUG: SQLCMD: insert into poller_output (local_data_id,rrd_name,time,output) values (15,'traffic_in','2005-07-28 14:34:00','1556625247')
CACTID: Host[2] DS[15] SNMP: v1: 10.32.0.4, dsname: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.10, value: 2994854156
CACTID: DEBUG: SQLCMD: insert into poller_output (local_data_id,rrd_name,time,output) values (15,'traffic_out','2005-07-28 14:34:00','2994854156')
CACTID: Host[2] DS[16] SNMP: v1: 10.32.0.4, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.11, value: 1264984019
CACTID: DEBUG: SQLCMD: insert into poller_output (local_data_id,rrd_name,time,output) values (16,'traffic_in','2005-07-28 14:34:00','1264984019')
CACTID: Host[2] DS[16] SNMP: v1: 10.32.0.4, dsname: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.11, value: 299734151
CACTID: DEBUG: SQLCMD: insert into poller_output (local_data_id,rrd_name,time,output) values (16,'traffic_out','2005-07-28 14:34:00','299734151')
CACTID: Host[2] DS[17] SNMP: v1: 10.32.0.4, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.12, value: 3497902048
CACTID: DEBUG: SQLCMD: insert into poller_output (local_data_id,rrd_name,time,output) values (17,'traffic_in','2005-07-28 14:34:00','3497902048')
CACTID: Host[2] DS[17] SNMP: v1: 10.32.0.4, dsname: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.12, value: 2929031785
CACTID: DEBUG: SQLCMD: insert into poller_output (local_data_id,rrd_name,time,output) values (17,'traffic_out','2005-07-28 14:34:00','2929031785')
CACTID: Host[2] DS[18] SNMP: v1: 10.32.0.4, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.13, value: 561913615
CACTID: DEBUG: SQLCMD: insert into poller_output (local_data_id,rrd_name,time,output) values (18,'traffic_in','2005-07-28 14:34:00','561913615')
CACTID: Host[2] DS[18] SNMP: v1: 10.32.0.4, dsname: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.13, value: 3270788241
CACTID: DEBUG: SQLCMD: insert into poller_output (local_data_id,rrd_name,time,output) values (18,'traffic_out','2005-07-28 14:34:00','3270788241')
CACTID: Host[2] DS[19] SNMP: v1: 10.32.0.4, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.14, value: 2996522511
CACTID: DEBUG: SQLCMD: insert into poller_output (local_data_id,rrd_name,time,output) values (19,'traffic_in','2005-07-28 14:34:00','2996522511')
CACTID: Host[2] DS[19] SNMP: v1: 10.32.0.4, dsname: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.14, value: 3765338906
CACTID: DEBUG: SQLCMD: insert into poller_output (local_data_id,rrd_name,time,output) values (19,'traffic_out','2005-07-28 14:34:00','3765338906')
CACTID: Host[2] DS[20] SNMP: v1: 10.32.0.4, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.15, value: 3632840761
CACTID: DEBUG: SQLCMD: insert into poller_output (local_data_id,rrd_name,time,output) values (20,'traffic_in','2005-07-28 14:34:00','3632840761')
CACTID: Host[2] DS[20] SNMP: v1: 10.32.0.4, dsname: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.15, value: 1873549906
CACTID: DEBUG: SQLCMD: insert into poller_output (local_data_id,rrd_name,time,output) values (20,'traffic_out','2005-07-28 14:34:00','1873549906')
CACTID: Host[2] DS[21] SNMP: v1: 10.32.0.4, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.16, value: 160612733
CACTID: DEBUG: SQLCMD: insert into poller_output (local_data_id,rrd_name,time,output) values (21,'traffic_in','2005-07-28 14:34:00','160612733')
CACTID: Host[2] DS[21] SNMP: v1: 10.32.0.4, dsname: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.16, value: 2963532423
CACTID: DEBUG: SQLCMD: insert into poller_output (local_data_id,rrd_name,time,output) values (21,'traffic_out','2005-07-28 14:34:00','2963532423')
CACTID: Host[2] DS[22] SNMP: v1: 10.32.0.4, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.17, value: 1273198503
CACTID: DEBUG: SQLCMD: insert into poller_output (local_data_id,rrd_name,time,output) values (22,'traffic_in','2005-07-28 14:34:00','1273198503')
CACTID: Host[2] DS[22] SNMP: v1: 10.32.0.4, dsname: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.17, value: 2390208572
CACTID: DEBUG: SQLCMD: insert into poller_output (local_data_id,rrd_name,time,output) values (22,'traffic_out','2005-07-28 14:34:00','2390208572')
CACTID: Host[2] DS[23] SNMP: v1: 10.32.0.4, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.18, value: 329703358
CACTID: DEBUG: SQLCMD: insert into poller_output (local_data_id,rrd_name,time,output) values (23,'traffic_in','2005-07-28 14:34:00','329703358')
CACTID: Host[2] DS[23] SNMP: v1: 10.32.0.4, dsname: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.18, value: 157099374
CACTID: DEBUG: SQLCMD: insert into poller_output (local_data_id,rrd_name,time,output) values (23,'traffic_out','2005-07-28 14:34:00','157099374')
CACTID: Host[2] DS[24] SNMP: v1: 10.32.0.4, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.20, value: 1038688820
CACTID: DEBUG: SQLCMD: insert into poller_output (local_data_id,rrd_name,time,output) values (24,'traffic_in','2005-07-28 14:34:00','1038688820')
CACTID: Host[2] DS[24] SNMP: v1: 10.32.0.4, dsname: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.20, value: 2051750041
CACTID: DEBUG: SQLCMD: insert into poller_output (local_data_id,rrd_name,time,output) values (24,'traffic_out','2005-07-28 14:34:00','2051750041')
CACTID: Host[2] DS[25] SNMP: v1: 10.32.0.4, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.4, value: 3048904028
CACTID: DEBUG: SQLCMD: insert into poller_output (local_data_id,rrd_name,time,output) values (25,'traffic_in','2005-07-28 14:34:00','3048904028')
CACTID: Host[2] DS[25] SNMP: v1: 10.32.0.4, dsname: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.4, value: 957667276
CACTID: DEBUG: SQLCMD: insert into poller_output (local_data_id,rrd_name,time,output) values (25,'traffic_out','2005-07-28 14:34:00','957667276')
CACTID: Host[2] DS[8] SNMP: v1: 10.32.0.4, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.1, value: 0
CACTID: DEBUG: SQLCMD: insert into poller_output (local_data_id,rrd_name,time,output) values (8,'traffic_in','2005-07-28 14:34:00','0')
CACTID: Host[2] DS[8] SNMP: v1: 10.32.0.4, dsname: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.1, value: 0
CACTID: DEBUG: SQLCMD: insert into poller_output (local_data_id,rrd_name,time,output) values (8,'traffic_out','2005-07-28 14:34:00','0')
CACTID: Host[2] DS[9] SNMP: v1: 10.32.0.4, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.2, value: 0
CACTID: DEBUG: SQLCMD: insert into poller_output (local_data_id,rrd_name,time,output) values (9,'traffic_in','2005-07-28 14:34:00','0')
CACTID: Host[2] DS[9] SNMP: v1: 10.32.0.4, dsname: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.2, value: 0
CACTID: DEBUG: SQLCMD: insert into poller_output (local_data_id,rrd_name,time,output) values (9,'traffic_out','2005-07-28 14:34:00','0')
CACTID: Host[2] DEBUG: HOST COMPLETE: About to Exit Host Polling Thread Function
CACTID: DEBUG: The Value of Active Threads is 1
CACTID: DEBUG: The Value of Active Threads is 0
CACTID: DEBUG: SQLCMD: replace into settings (name,value) values ('date',NOW())
CACTID: DEBUG: SQLCMD: insert into poller_time (poller_id, start_time, end_time) values (0, NOW(), NOW())
CACTID: DEBUG: Thread Cleanup Complete
CACTID: DEBUG: PHP Script Server Pipes Closed
CACTID: DEBUG: Allocated Variable Memory Freed
CACTID: CACTID: Shutting down Net-SNMP API
CACTID: DEBUG: MYSQL Free & Close Completed
CACTID: Execution Time: 0.8608 s, Threads: 4, Hosts: 2
[cactiuser@ids01-socal cactid]$
When running poller.php I get:
07/28/2005 02:41:44 PM - POLLER: Poller[0] DEBUG: About to Spawn a Remote Process [CMD: /usr/local/cactid/cactid, ARGS: 0 0]
07/28/2005 02:41:44 PM - POLLER: Poller[0] DEBUG: About to Spawn a Remote Process [CMD: /usr/local/cactid/cactid, ARGS: 2 2]
Waiting on 2/2 pollers.
07/28/2005 02:41:44 PM - POLLER: Poller[0] CACTI2RRD: /usr/local/rrdtool-1.2.11/bin/rrdtool update /var/www/html/cacti/rra/burbank_vpn_traffic_in_8.rrd --template traffic_out:traffic_in 1122585978:0:0
07/28/2005 02:41:44 PM - POLLER: Poller[0] CACTI2RRD: /usr/local/rrdtool-1.2.11/bin/rrdtool update /var/www/html/cacti/rra/burbank_vpn_traffic_in_8.rrd --template traffic_out:traffic_in 1122586440:0:0
07/28/2005 02:41:44 PM - POLLER: Poller[0] CACTI2RRD: /usr/local/rrdtool-1.2.11/bin/rrdtool update /var/www/html/cacti/rra/burbank_vpn_traffic_in_9.rrd --template traffic_out:traffic_in 1122585978:0:0
07/28/2005 02:41:44 PM - POLLER: Poller[0] CACTI2RRD: /usr/local/rrdtool-1.2.11/bin/rrdtool update /var/www/html/cacti/rra/burbank_vpn_traffic_in_9.rrd --template traffic_out:traffic_in 1122586440:0:0
07/28/2005 02:41:44 PM - POLLER: Poller[0] CACTI2RRD: /usr/local/rrdtool-1.2.11/bin/rrdtool update /var/www/html/cacti/rra/burbank_vpn_traffic_in_10.rrd --template traffic_in:traffic_out 1122585978:3101050171:2849852245
07/28/2005 02:41:44 PM - POLLER: Poller[0] CACTI2RRD: /usr/local/rrdtool-1.2.11/bin/rrdtool update /var/www/html/cacti/rra/burbank_vpn_traffic_in_10.rrd --template traffic_in:traffic_out 1122586440:3243920036:2901061459
07/28/2005 02:41:44 PM - POLLER: Poller[0] CACTI2RRD: /usr/local/rrdtool-1.2.11/bin/rrdtool update /var/www/html/cacti/rra/burbank_vpn_traffic_in_11.rrd --template traffic_in:traffic_out 1122585978:2984233167:799214257
07/28/2005 02:41:44 PM - POLLER: Poller[0] CACTI2RRD: /usr/local/rrdtool-1.2.11/bin/rrdtool update /var/www/html/cacti/rra/burbank_vpn_traffic_in_11.rrd --template traffic_in:traffic_out 1122586440:3048898102:957660308
07/28/2005 02:41:44 PM - POLLER: Poller[0] CACTI2RRD: /usr/local/rrdtool-1.2.11/bin/rrdtool update /var/www/html/cacti/rra/burbank_vpn_traffic_in_12.rrd --template traffic_in:traffic_out 1122585978:1483504038:3854483218
07/28/2005 02:41:44 PM - POLLER: Poller[0] CACTI2RRD: /usr/local/rrdtool-1.2.11/bin/rrdtool update /var/www/html/cacti/rra/burbank_vpn_traffic_in_12.rrd --template traffic_in:traffic_out 1122586440:1498511838:3934188703
07/28/2005 02:41:44 PM - POLLER: Poller[0] CACTI2RRD: /usr/local/rrdtool-1.2.11/bin/rrdtool update /var/www/html/cacti/rra/burbank_vpn_traffic_in_13.rrd --template traffic_in:traffic_out 1122585978:3155298802:303921462
07/28/2005 02:41:44 PM - POLLER: Poller[0] CACTI2RRD: /usr/local/rrdtool-1.2.11/bin/rrdtool update /var/www/html/cacti/rra/burbank_vpn_traffic_in_13.rrd --template traffic_in:traffic_out 1122586440:3157196523:309784620
07/28/2005 02:41:44 PM - POLLER: Poller[0] CACTI2RRD: /usr/local/rrdtool-1.2.11/bin/rrdtool update /var/www/html/cacti/rra/burbank_vpn_traffic_in_14.rrd --template traffic_in:traffic_out 1122585978:1338718599:2325020758
07/28/2005 02:41:44 PM - POLLER: Poller[0] CACTI2RRD: /usr/local/rrdtool-1.2.11/bin/rrdtool update /var/www/html/cacti/rra/burbank_vpn_traffic_in_14.rrd --template traffic_in:traffic_out 1122586440:1341492084:2325880789
07/28/2005 02:41:44 PM - POLLER: Poller[0] CACTI2RRD: /usr/local/rrdtool-1.2.11/bin/rrdtool update /var/www/html/cacti/rra/burbank_vpn_traffic_in_15.rrd --template traffic_in:traffic_out 1122585978:1555877552:2993288880
07/28/2005 02:41:44 PM - POLLER: Poller[0] CACTI2RRD: /usr/local/rrdtool-1.2.11/bin/rrdtool update /var/www/html/cacti/rra/burbank_vpn_traffic_in_15.rrd --template traffic_in:traffic_out 1122586440:1556625247:2994854156
07/28/2005 02:41:44 PM - POLLER: Poller[0] CACTI2RRD: /usr/local/rrdtool-1.2.11/bin/rrdtool update /var/www/html/cacti/rra/burbank_vpn_traffic_in_16.rrd --template traffic_in:traffic_out 1122585978:1264976755:299726679
07/28/2005 02:41:44 PM - POLLER: Poller[0] CACTI2RRD: /usr/local/rrdtool-1.2.11/bin/rrdtool update /var/www/html/cacti/rra/burbank_vpn_traffic_in_16.rrd --template traffic_in:traffic_out 1122586440:1264984019:299734151
07/28/2005 02:41:44 PM - POLLER: Poller[0] CACTI2RRD: /usr/local/rrdtool-1.2.11/bin/rrdtool update /var/www/html/cacti/rra/burbank_vpn_traffic_in_17.rrd --template traffic_in:traffic_out 1122585978:3470820891:2894906584
07/28/2005 02:41:44 PM - POLLER: Poller[0] CACTI2RRD: /usr/local/rrdtool-1.2.11/bin/rrdtool update /var/www/html/cacti/rra/burbank_vpn_traffic_in_17.rrd --template traffic_in:traffic_out 1122586440:3497902048:2929031785
07/28/2005 02:41:44 PM - POLLER: Poller[0] CACTI2RRD: /usr/local/rrdtool-1.2.11/bin/rrdtool update /var/www/html/cacti/rra/burbank_vpn_traffic_in_18.rrd --template traffic_in:traffic_out 1122585978:561674318:3270441413
07/28/2005 02:41:44 PM - POLLER: Poller[0] CACTI2RRD: /usr/local/rrdtool-1.2.11/bin/rrdtool update /var/www/html/cacti/rra/burbank_vpn_traffic_in_18.rrd --template traffic_in:traffic_out 1122586440:561913615:3270788241
07/28/2005 02:41:44 PM - POLLER: Poller[0] CACTI2RRD: /usr/local/rrdtool-1.2.11/bin/rrdtool update /var/www/html/cacti/rra/burbank_vpn_traffic_in_19.rrd --template traffic_in:traffic_out 1122585978:2994012947:3761861589
07/28/2005 02:41:44 PM - POLLER: Poller[0] CACTI2RRD: /usr/local/rrdtool-1.2.11/bin/rrdtool update /var/www/html/cacti/rra/burbank_vpn_traffic_in_19.rrd --template traffic_in:traffic_out 1122586440:2996522511:3765338906
07/28/2005 02:41:44 PM - POLLER: Poller[0] CACTI2RRD: /usr/local/rrdtool-1.2.11/bin/rrdtool update /var/www/html/cacti/rra/burbank_vpn_traffic_in_20.rrd --template traffic_in:traffic_out 1122585978:3632552444:1873346933
07/28/2005 02:41:44 PM - POLLER: Poller[0] CACTI2RRD: /usr/local/rrdtool-1.2.11/bin/rrdtool update /var/www/html/cacti/rra/burbank_vpn_traffic_in_20.rrd --template traffic_in:traffic_out 1122586440:3632840761:1873549906
07/28/2005 02:41:44 PM - POLLER: Poller[0] CACTI2RRD: /usr/local/rrdtool-1.2.11/bin/rrdtool update /var/www/html/cacti/rra/burbank_vpn_traffic_in_21.rrd --template traffic_in:traffic_out 1122585978:158077391:2944573838
07/28/2005 02:41:44 PM - POLLER: Poller[0] CACTI2RRD: /usr/local/rrdtool-1.2.11/bin/rrdtool update /var/www/html/cacti/rra/burbank_vpn_traffic_in_21.rrd --template traffic_in:traffic_out 1122586440:160612733:2963532423
07/28/2005 02:41:44 PM - POLLER: Poller[0] CACTI2RRD: /usr/local/rrdtool-1.2.11/bin/rrdtool update /var/www/html/cacti/rra/burbank_vpn_traffic_in_22.rrd --template traffic_in:traffic_out 1122585978:1273189975:2390200060
07/28/2005 02:41:44 PM - POLLER: Poller[0] CACTI2RRD: /usr/local/rrdtool-1.2.11/bin/rrdtool update /var/www/html/cacti/rra/burbank_vpn_traffic_in_22.rrd --template traffic_in:traffic_out 1122586440:1273198503:2390208572
07/28/2005 02:41:44 PM - POLLER: Poller[0] CACTI2RRD: /usr/local/rrdtool-1.2.11/bin/rrdtool update /var/www/html/cacti/rra/burbank_vpn_traffic_in_23.rrd --template traffic_in:traffic_out 1122585978:329673124:157073851
07/28/2005 02:41:44 PM - POLLER: Poller[0] CACTI2RRD: /usr/local/rrdtool-1.2.11/bin/rrdtool update /var/www/html/cacti/rra/burbank_vpn_traffic_in_23.rrd --template traffic_in:traffic_out 1122586440:329703358:157099374
07/28/2005 02:41:44 PM - POLLER: Poller[0] CACTI2RRD: /usr/local/rrdtool-1.2.11/bin/rrdtool update /var/www/html/cacti/rra/burbank_vpn_traffic_in_24.rrd --template traffic_in:traffic_out 1122585978:1038644540:2051640030
07/28/2005 02:41:44 PM - POLLER: Poller[0] CACTI2RRD: /usr/local/rrdtool-1.2.11/bin/rrdtool update /var/www/html/cacti/rra/burbank_vpn_traffic_in_24.rrd --template traffic_in:traffic_out 1122586440:1038688820:2051750041
07/28/2005 02:41:44 PM - POLLER: Poller[0] CACTI2RRD: /usr/local/rrdtool-1.2.11/bin/rrdtool update /var/www/html/cacti/rra/burbank_vpn_traffic_in_25.rrd --template traffic_in:traffic_out 1122585978:2984239537:799223799
07/28/2005 02:41:44 PM - POLLER: Poller[0] CACTI2RRD: /usr/local/rrdtool-1.2.11/bin/rrdtool update /var/www/html/cacti/rra/burbank_vpn_traffic_in_25.rrd --template traffic_in:traffic_out 1122586440:3048904028:957667276
OK u:0.00 s:0.00 r:0.03
OK u:0.00 s:0.00 r:0.03
OK u:0.00 s:0.00 r:0.03
OK u:0.00 s:0.00 r:0.03
OK u:0.00 s:0.00 r:0.03
OK u:0.00 s:0.00 r:0.03
OK u:0.00 s:0.00 r:0.03
OK u:0.00 s:0.00 r:0.03
OK u:0.00 s:0.00 r:0.03
OK u:0.00 s:0.00 r:0.03
OK u:0.00 s:0.00 r:0.03
OK u:0.00 s:0.00 r:0.03
OK u:0.00 s:0.00 r:0.03
OK u:0.00 s:0.00 r:0.03
OK u:0.00 s:0.00 r:0.03
OK u:0.00 s:0.00 r:0.03
OK u:0.00 s:0.00 r:0.03
OK u:0.00 s:0.00 r:0.03
OK u:0.00 s:0.00 r:0.03
OK u:0.00 s:0.00 r:0.03
OK u:0.00 s:0.00 r:0.03
OK u:0.00 s:0.00 r:0.03
OK u:0.00 s:0.00 r:0.03
OK u:0.00 s:0.00 r:0.03
OK u:0.00 s:0.00 r:0.03
OK u:0.00 s:0.00 r:0.03
OK u:0.00 s:0.00 r:0.03
OK u:0.00 s:0.00 r:0.03
OK u:0.00 s:0.00 r:0.03
OK u:0.00 s:0.00 r:0.03
OK u:0.00 s:0.00 r:0.03
OK u:0.00 s:0.00 r:0.03
OK u:0.00 s:0.00 r:0.03
OK u:0.00 s:0.00 r:0.03
OK u:0.00 s:0.00 r:0.03
OK u:0.00 s:0.00 r:0.03
07/28/2005 02:41:45 PM - POLLER: Poller[0] CACTI2RRD: /usr/local/rrdtool-1.2.11/bin/rrdtool update /var/www/html/cacti/rra/burbank_vpn_traffic_in_9.rrd --template traffic_out:traffic_in 1122586904:0:0
07/28/2005 02:41:45 PM - POLLER: Poller[0] CACTI2RRD: /usr/local/rrdtool-1.2.11/bin/rrdtool update /var/www/html/cacti/rra/burbank_vpn_traffic_in_8.rrd --template traffic_out:traffic_in 1122586904:0:0
07/28/2005 02:41:45 PM - POLLER: Poller[0] CACTI2RRD: /usr/local/rrdtool-1.2.11/bin/rrdtool update /var/www/html/cacti/rra/burbank_vpn_traffic_in_25.rrd --template traffic_out:traffic_in 1122586904:1026716272:3109556366
07/28/2005 02:41:45 PM - POLLER: Poller[0] CACTI2RRD: /usr/local/rrdtool-1.2.11/bin/rrdtool update /var/www/html/cacti/rra/burbank_vpn_traffic_in_24.rrd --template traffic_out:traffic_in 1122586904:2051776445:1038711509
07/28/2005 02:41:45 PM - POLLER: Poller[0] CACTI2RRD: /usr/local/rrdtool-1.2.11/bin/rrdtool update /var/www/html/cacti/rra/burbank_vpn_traffic_in_23.rrd --template traffic_out:traffic_in 1122586904:157125235:329733190
07/28/2005 02:41:45 PM - POLLER: Poller[0] CACTI2RRD: /usr/local/rrdtool-1.2.11/bin/rrdtool update /var/www/html/cacti/rra/burbank_vpn_traffic_in_22.rrd --template traffic_out:traffic_in 1122586904:2390216572:1273206575
07/28/2005 02:41:45 PM - POLLER: Poller[0] CACTI2RRD: /usr/local/rrdtool-1.2.11/bin/rrdtool update /var/www/html/cacti/rra/burbank_vpn_traffic_in_21.rrd --template traffic_out:traffic_in 1122586904:2965477560:163617446
07/28/2005 02:41:45 PM - POLLER: Poller[0] CACTI2RRD: /usr/local/rrdtool-1.2.11/bin/rrdtool update /var/www/html/cacti/rra/burbank_vpn_traffic_in_20.rrd --template traffic_out:traffic_in 1122586904:1873805339:3632908656
07/28/2005 02:41:45 PM - POLLER: Poller[0] CACTI2RRD: /usr/local/rrdtool-1.2.11/bin/rrdtool update /var/www/html/cacti/rra/burbank_vpn_traffic_in_19.rrd --template traffic_out:traffic_in 1122586904:3768790588:2999777701
07/28/2005 02:41:45 PM - POLLER: Poller[0] CACTI2RRD: /usr/local/rrdtool-1.2.11/bin/rrdtool update /var/www/html/cacti/rra/burbank_vpn_traffic_in_18.rrd --template traffic_out:traffic_in 1122586904:3271051757:562070943
07/28/2005 02:41:45 PM - POLLER: Poller[0] CACTI2RRD: /usr/local/rrdtool-1.2.11/bin/rrdtool update /var/www/html/cacti/rra/burbank_vpn_traffic_in_17.rrd --template traffic_out:traffic_in 1122586904:2958860430:3521828586
07/28/2005 02:41:45 PM - POLLER: Poller[0] CACTI2RRD: /usr/local/rrdtool-1.2.11/bin/rrdtool update /var/www/html/cacti/rra/burbank_vpn_traffic_in_16.rrd --template traffic_out:traffic_in 1122586904:299742267:1264991979
07/28/2005 02:41:45 PM - POLLER: Poller[0] CACTI2RRD: /usr/local/rrdtool-1.2.11/bin/rrdtool update /var/www/html/cacti/rra/burbank_vpn_traffic_in_15.rrd --template traffic_out:traffic_in 1122586904:2995643912:1558869448
07/28/2005 02:41:45 PM - POLLER: Poller[0] CACTI2RRD: /usr/local/rrdtool-1.2.11/bin/rrdtool update /var/www/html/cacti/rra/burbank_vpn_traffic_in_14.rrd --template traffic_out:traffic_in 1122586904:2326453061:1341827461
07/28/2005 02:41:45 PM - POLLER: Poller[0] CACTI2RRD: /usr/local/rrdtool-1.2.11/bin/rrdtool update /var/www/html/cacti/rra/burbank_vpn_traffic_in_11.rrd --template traffic_out:traffic_in 1122586904:1026709584:3109528778
07/28/2005 02:41:45 PM - POLLER: Poller[0] CACTI2RRD: /usr/local/rrdtool-1.2.11/bin/rrdtool update /var/www/html/cacti/rra/burbank_vpn_traffic_in_12.rrd --template traffic_in:traffic_out 1122586904:1514711078:3945765875
07/28/2005 02:41:45 PM - POLLER: Poller[0] CACTI2RRD: /usr/local/rrdtool-1.2.11/bin/rrdtool update /var/www/html/cacti/rra/burbank_vpn_traffic_in_13.rrd --template traffic_in:traffic_out 1122586904:3159477036:322182380
07/28/2005 02:41:45 PM - POLLER: Poller[0] CACTI2RRD: /usr/local/rrdtool-1.2.11/bin/rrdtool update /var/www/html/cacti/rra/burbank_vpn_traffic_in_10.rrd --template traffic_in:traffic_out 1122586904:3303527207:2950986687
07/28/2005 02:41:45 PM - SYSTEM STATS: Time: 1.0951 s, Method: cactid, Processes: 4, Threads: 4, Hosts: 2, Hosts/Process: 1, Data Sources 36, RRDs Processed 54
OK u:0.00 s:0.00 r:1.05
OK u:0.00 s:0.00 r:1.05
OK u:0.00 s:0.00 r:1.05
OK u:0.00 s:0.00 r:1.05
OK u:0.00 s:0.00 r:1.05
OK u:0.00 s:0.00 r:1.05
OK u:0.00 s:0.00 r:1.05
OK u:0.00 s:0.00 r:1.05
OK u:0.00 s:0.00 r:1.05
OK u:0.00 s:0.00 r:1.06
OK u:0.00 s:0.00 r:1.06
OK u:0.00 s:0.00 r:1.06
OK u:0.00 s:0.00 r:1.06
OK u:0.00 s:0.00 r:1.06
OK u:0.00 s:0.00 r:1.06
OK u:0.00 s:0.00 r:1.06
OK u:0.00 s:0.00 r:1.06
OK u:0.00 s:0.00 r:1.06
It seems to work from command promt, but cron job does not work.
Here is the cron file for cactiuser:
*/5 * * * * cactiuser /usr/local/bin/php /var/www/html/cacti/poller.php > /dev/null 2>&1
Also, when I run the cmd.php I get the following:
#!/usr/bin/php -q
07/28/2005 02:45:06 PM - CMDPHP: Poller[0] PHP Script Server Started Properly
Warning: socket_create() Unable to create socket [1]: Operation not permitted in /var/www/html/cacti/lib/ping.php on line 100
Warning: socket_set_block() expects parameter 1 to be resource, boolean given in /var/www/html/cacti/lib/ping.php on line 101
Warning: socket_set_option() expects parameter 1 to be resource, boolean given in /var/www/html/cacti/lib/ping.php on line 110
07/28/2005 02:45:06 PM - CMDPHP: Poller[0] Host[2] PING: Cannot connect to host
07/28/2005 02:45:06 PM - CMDPHP: Poller[0] Host[2] SNMP: SNMP not performed due to setting or ping result.
07/28/2005 02:45:06 PM - CMDPHP: Poller[0] Time: 0.0680 s, Theads: N/A, Hosts: 1
I've read through many of the forum posts, but still can't figure it out.
Thanks you in advance for your assistance,
Akash
Problem with graph - not graphing data
Moderators: Developers, Moderators
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Your poller is attempting to create a RAW SOCKET and does not have the ability to. You either need to set your availability method to "SNMP Only" Settings->Poller, or have the poller process run as root.
TheWitness
TheWitness
True understanding begins only when we realize how little we truly understand...
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Who is online
Users browsing this forum: No registered users and 4 guests