Hi,
I am testing on one device and DEBUG shows:-
07/11/2005 03:31:04 PM - POLLER: Poller[0] DEBUG: About to Spawn a Remote Process [CMD: c:\cactid\cactid.exe, ARGS: 0 3]
07/11/2005 03:31:04 PM - CACTID: Poller[0] DEBUG: The log_destination variable is 1
07/11/2005 03:31:04 PM - CACTID: Poller[0] DEBUG: The path_php variable is c:\php\php-win.exe
07/11/2005 03:31:04 PM - CACTID: Poller[0] DEBUG: The availability_method variable is 2
07/11/2005 03:31:04 PM - CACTID: Poller[0] DEBUG: The ping_recovery_count variable is 3
07/11/2005 03:31:04 PM - CACTID: Poller[0] DEBUG: The ping_failure_count variable is 2
07/11/2005 03:31:04 PM - CACTID: Poller[0] DEBUG: The ping_method variable is 2
07/11/2005 03:31:04 PM - CACTID: Poller[0] DEBUG: The ping_retries variable is 1
07/11/2005 03:31:04 PM - CACTID: Poller[0] DEBUG: The ping_timeout variable is 400
07/11/2005 03:31:04 PM - CACTID: Poller[0] DEBUG: The log_perror variable is 1
07/11/2005 03:31:04 PM - CACTID: Poller[0] DEBUG: The log_pwarn variable is 0
07/11/2005 03:31:04 PM - CACTID: Poller[0] DEBUG: The log_pstats variable is 0
07/11/2005 03:31:04 PM - CACTID: Poller[0] DEBUG: The threads variable is 1
07/11/2005 03:31:04 PM - CACTID: Poller[0] DEBUG: The polling interval is the system default
07/11/2005 03:31:04 PM - CACTID: Poller[0] DEBUG: The number of concurrent processes is 1
07/11/2005 03:31:04 PM - CACTID: Poller[0] DEBUG: The script timeout is 25
07/11/2005 03:31:04 PM - CACTID: Poller[0] DEBUG: StartHost='0', EndHost='3', TotalPHPScripts='0'
07/11/2005 03:31:04 PM - CACTID: Poller[0] DEBUG: The PHP Script Server is Not Required
07/11/2005 03:31:04 PM - CACTID: Poller[0] CACTID: Version 0.8.6e starting
07/11/2005 03:31:04 PM - CACTID: Poller[0] MYSQL: Connecting to MySQL database 'cacti' on '127.0.0.1'...
07/11/2005 03:31:04 PM - CACTID: Poller[0] MYSQL: Connected to MySQL database 'cacti' on '127.0.0.1'...
07/11/2005 03:31:04 PM - CACTID: Poller[0] CACTID: Initializing Net-SNMP API
07/11/2005 03:31:04 PM - CACTID: Poller[0] CACTID: Initializing PHP Script Server
07/11/2005 03:31:04 PM - CACTID: Poller[0] DEBUG: Parent pid=2240, Script Server pid=0
07/11/2005 03:31:04 PM - CACTID: Poller[0] DEBUG: Initial Value of Active Threads is 0
07/11/2005 03:31:04 PM - CACTID: Poller[0] DEBUG: Valid Thread to be Created
07/11/2005 03:31:04 PM - CACTID: Poller[0] DEBUG: In Poller, About to Start Polling of Host
07/11/2005 03:31:04 PM - CACTID: Poller[0] MYSQL: Connecting to MySQL database 'cacti' on '127.0.0.1'...
07/11/2005 03:31:04 PM - CACTID: Poller[0] MYSQL: Connected to MySQL database 'cacti' on '127.0.0.1'...
07/11/2005 03:31:04 PM - CACTID: Poller[0] Host[0] DEBUG: HOST COMPLETE: About to Exit Host Polling Thread Function
07/11/2005 03:31:04 PM - CACTID: Poller[0] DEBUG: The Value of Active Threads is 1
07/11/2005 03:31:04 PM - CACTID: Poller[0] DEBUG: The Value of Active Threads is 0
07/11/2005 03:31:04 PM - CACTID: Poller[0] DEBUG: Valid Thread to be Created
07/11/2005 03:31:04 PM - CACTID: Poller[0] DEBUG: The Value of Active Threads is 1
07/11/2005 03:31:04 PM - CACTID: Poller[0] DEBUG: In Poller, About to Start Polling of Host
07/11/2005 03:31:04 PM - CACTID: Poller[0] MYSQL: Connecting to MySQL database 'cacti' on '127.0.0.1'...
07/11/2005 03:31:04 PM - CACTID: Poller[0] MYSQL: Connected to MySQL database 'cacti' on '127.0.0.1'...
07/11/2005 03:31:04 PM - CACTID: Poller[0] Host[1] SNMP Result: Host does not require SNMP
07/11/2005 03:31:04 PM - CACTID: Poller[0] DEBUG: SQLCMD: update host set status='3',status_event_count='0', status_fail_date='0000-00-00 00:00:00',status_rec_date='0000-00-00 00:00:00',status_last_error='',min_time='0.000000',max_time='0.000000',cur_time='0.000000',avg_time='0.000000',total_polls='13',failed_polls='0',availability='100.0000' where id='1'
07/11/2005 03:31:04 PM - CACTID: Poller[0] Host[1] DEBUG: HOST COMPLETE: About to Exit Host Polling Thread Function
07/11/2005 03:31:04 PM - CACTID: Poller[0] DEBUG: The Value of Active Threads is 0
07/11/2005 03:31:04 PM - CACTID: Poller[0] DEBUG: Valid Thread to be Created
07/11/2005 03:31:04 PM - CACTID: Poller[0] DEBUG: In Poller, About to Start Polling of Host
07/11/2005 03:31:04 PM - CACTID: Poller[0] MYSQL: Connecting to MySQL database 'cacti' on '127.0.0.1'...
07/11/2005 03:31:04 PM - CACTID: Poller[0] MYSQL: Connected to MySQL database 'cacti' on '127.0.0.1'...
07/11/2005 03:31:04 PM - CACTID: Poller[0] DEBUG: The Value of Active Threads is 1
07/11/2005 03:31:04 PM - CACTID: Poller[0] Host[3] SNMP Result: Host responded to SNMP
07/11/2005 03:31:04 PM - CACTID: Poller[0] DEBUG: SQLCMD: update host set status='3',status_event_count='0', status_fail_date='0000-00-00 00:00:00',status_rec_date='0000-00-00 00:00:00',status_last_error='',min_time='6.999970',max_time='43.510000',cur_time='7.999900',avg_time='13.212467',total_polls='24',failed_polls='0',availability='100.0000' where id='3'
07/11/2005 03:31:04 PM - CACTID: Poller[0] Host[3] RECACHE: Processing 1 items in the auto reindex cache for 'strixrouter.Europe.strixgroup.com'
07/11/2005 03:31:04 PM - CACTID: Poller[0] Host[3] DS[10] SNMP: v2: strixrouter.Europe.strixgroup.com, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.2, value: 1996142655
07/11/2005 03:31:04 PM - CACTID: Poller[0] DEBUG: SQLCMD: insert into poller_output (local_data_id,rrd_name,time,output) values (10,'traffic_in','2005-07-11 15:31:04','1996142655')
07/11/2005 03:31:04 PM - CACTID: Poller[0] Host[3] DS[10] SNMP: v2: strixrouter.Europe.strixgroup.com, dsname: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.2, value: 198299967
07/11/2005 03:31:04 PM - CACTID: Poller[0] DEBUG: SQLCMD: insert into poller_output (local_data_id,rrd_name,time,output) values (10,'traffic_out','2005-07-11 15:31:04','198299967')
07/11/2005 03:31:04 PM - CACTID: Poller[0] Host[3] DS[8] SNMP: v2: strixrouter.Europe.strixgroup.com, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.4, value: 3432714727
07/11/2005 03:31:04 PM - CACTID: Poller[0] DEBUG: SQLCMD: insert into poller_output (local_data_id,rrd_name,time,output) values (8,'traffic_in','2005-07-11 15:31:04','3432714727')
07/11/2005 03:31:04 PM - CACTID: Poller[0] Host[3] DS[8] SNMP: v2: strixrouter.Europe.strixgroup.com, dsname: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.4, value: 1603388999
07/11/2005 03:31:04 PM - CACTID: Poller[0] DEBUG: SQLCMD: insert into poller_output (local_data_id,rrd_name,time,output) values (8,'traffic_out','2005-07-11 15:31:04','1603388999')
07/11/2005 03:31:04 PM - CACTID: Poller[0] Host[3] DS[9] SNMP: v2: strixrouter.Europe.strixgroup.com, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.8, value: 2435897036
07/11/2005 03:31:04 PM - CACTID: Poller[0] DEBUG: SQLCMD: insert into poller_output (local_data_id,rrd_name,time,output) values (9,'traffic_in','2005-07-11 15:31:04','2435897036')
07/11/2005 03:31:04 PM - CACTID: Poller[0] Host[3] DS[9] SNMP: v2: strixrouter.Europe.strixgroup.com, dsname: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.8, value: 4275348604
07/11/2005 03:31:04 PM - CACTID: Poller[0] DEBUG: SQLCMD: insert into poller_output (local_data_id,rrd_name,time,output) values (9,'traffic_out','2005-07-11 15:31:04','4275348604')
07/11/2005 03:31:04 PM - CACTID: Poller[0] Host[3] DEBUG: HOST COMPLETE: About to Exit Host Polling Thread Function
07/11/2005 03:31:04 PM - CACTID: Poller[0] DEBUG: The Value of Active Threads is 0
07/11/2005 03:31:05 PM - CACTID: Poller[0] DEBUG: SQLCMD: replace into settings (name,value) values ('date',NOW())
07/11/2005 03:31:05 PM - CACTID: Poller[0] DEBUG: SQLCMD: insert into poller_time (poller_id, start_time, end_time) values (0, NOW(), NOW())
07/11/2005 03:31:05 PM - CACTID: Poller[0] DEBUG: Thread Cleanup Complete
07/11/2005 03:31:05 PM - CACTID: Poller[0] DEBUG: PHP Script Server Pipes Closed
07/11/2005 03:31:05 PM - CACTID: Poller[0] DEBUG: Allocated Variable Memory Freed
07/11/2005 03:31:05 PM - CACTID: Poller[0] CACTID: Shutting down Net-SNMP API
07/11/2005 03:31:05 PM - CACTID: Poller[0] DEBUG: MYSQL Free & Close Completed
07/11/2005 03:31:05 PM - CACTID: Poller[0] Time: 0.6050 s, Threads: 1, Hosts: 3
07/11/2005 03:31:05 PM - POLLER: Poller[0] CACTI2RRD: c:\rrdtool\rrdtool.exe create C:\Inetpub\wwwroot\cacti/rra/strixrouter_europe_strixgroup_com_traffic_in_10.rrd --step 300 DS:traffic_out:COUNTER:600:0:100000000 DS:traffic_in:COUNTER:600:0:100000000 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
07/11/2005 03:31:05 PM - POLLER: Poller[0] CACTI2RRD: c:\rrdtool\rrdtool.exe update c:\Inetpub\wwwroot\cacti\rra\strixrouter_europe_strixgroup_com_traffic_in_10.rrd --template traffic_in:traffic_out N:1996142655:198299967
07/11/2005 03:31:05 PM - POLLER: Poller[0] CACTI2RRD: c:\rrdtool\rrdtool.exe create C:\Inetpub\wwwroot\cacti/rra/strixrouter_europe_strixgroup_com_traffic_in_8.rrd --step 300 DS:traffic_in:COUNTER:600:0:100000000 DS:traffic_out:COUNTER:600:0:100000000 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
07/11/2005 03:31:05 PM - POLLER: Poller[0] CACTI2RRD: c:\rrdtool\rrdtool.exe update c:\Inetpub\wwwroot\cacti\rra\strixrouter_europe_strixgroup_com_traffic_in_8.rrd --template traffic_in:traffic_out N:3432714727:1603388999
07/11/2005 03:31:05 PM - POLLER: Poller[0] CACTI2RRD: c:\rrdtool\rrdtool.exe create C:\Inetpub\wwwroot\cacti/rra/strixrouter_europe_strixgroup_com_traffic_in_9.rrd --step 300 DS:traffic_in:COUNTER:600:0:100000000 DS:traffic_out:COUNTER:600:0:100000000 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
07/11/2005 03:31:05 PM - POLLER: Poller[0] CACTI2RRD: c:\rrdtool\rrdtool.exe update c:\Inetpub\wwwroot\cacti\rra\strixrouter_europe_strixgroup_com_traffic_in_9.rrd --template traffic_in:traffic_out N:2435897036:4275348604
07/11/2005 03:31:05 PM - SYSTEM STATS: Time: 1.1153 s, Method: cactid, Processes: 1, Threads: 1, Hosts: 3, Hosts/Process: 3, Data Sources 6, RRDs Processed 3
The rra files are not being created. The paths are valid. If I copy and paste the c:\rrdtool\rrdtool.exe create.... commands into a cmd window and run from there the rra files are created. Could anybody tell me why the files are not created by the poller.php. This is run from scheduled tasks with administrator rights.
Any more information required?
Can anybody help?
RRA files only create manually
Moderators: Developers, Moderators
RRA files only create manually
Is it home time?
Possible duplicate DS issue or a user security problem.
You said if you ran rrdtool create, the files get created? Sure you've properly set up the user that runs the scheduled task, has the proper rights?
You said if you ran rrdtool create, the files get created? Sure you've properly set up the user that runs the scheduled task, has the proper rights?
| Scripts: Monitor processes | RFC1213 MIB | DOCSIS Stats | Dell PowerEdge | Speedfan | APC UPS | DOCSIS CMTS | 3ware | Motorola Canopy |
| Guides: Windows Install | [HOWTO] Debug Windows NTFS permission problems |
| Tools: Windows All-in-one Installer |
Who is online
Users browsing this forum: No registered users and 0 guests