I installed everything by the manual.
When i run manually run poller.php at the command prompt it doesn't show errors but it won't put files in de rra directory so i won't show the images. Not even with the administrator account. So it isn't a security issue.
C:\cactid>c:\php\php.exe g:\www\cacti\poller.php
Content-type: text/html
X-Powered-By: PHP/4.3.8
<br><strong>This script is only meant to run at the command line.</strong>
C:\cactid>
This is when i run cactid with debug mode on.
I have installed net-snmp from here http://net-snmp.sourceforge.net/ but it doens't respond. I don't understand why. How can i test if it works?
I have checked everything and looked on the forums for solutions and tried everything but i can't solve my problem.C:\cactid>cactid
CACTID: Using cactid config file [cactid.conf]
CACTID: DEBUG: The path_php_server variable is
CACTID: DEBUG: The path_cactilog variable is g:\www\cacti\log\cacti.log
CACTID: DEBUG: The log_destination variable is 1
CACTID: DEBUG: The path_php variable is c:\php\php.exe
CACTID: DEBUG: The availability_method variable is 2
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 2
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 1
CACTID: DEBUG: The threads variable is 1
CACTID: DEBUG: The polling interval is the system default
CACTID: DEBUG: The number of concurrent processes is 1
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 'cacti' on '127.0.0.1'...
CACTID: MYSQL: Connected to MySQL database 'cacti' on '127.0.0.1'...
CACTID: CACTID: Initializing Net-SNMP API
CACTID: CACTID: Initializing PHP Script Server
CACTID: DEBUG: Parent pid=2244, Script Server pid=0
CACTID: DEBUG: Initial Value of Active Threads is 0
CACTID: DEBUG: Valid Thread to be Created
CACTID: DEBUG: In Poller, About to Start Polling of Host
CACTID: DEBUG: The Value of Active Threads is 1
CACTID: MYSQL: Connecting to MySQL database 'cacti' on '127.0.0.1'...
CACTID: MYSQL: Connected to MySQL database 'cacti' on '127.0.0.1'...
CACTID: Host[0] DEBUG: HOST COMPLETE: About to Exit Host Polling Thread Function
CACTID: DEBUG: The Value of Active Threads is 0
CACTID: DEBUG: Valid Thread to be Created
CACTID: DEBUG: In Poller, About to Start Polling of Host
CACTID: DEBUG: The Value of Active Threads is 1
CACTID: MYSQL: Connecting to MySQL database 'cacti' on '127.0.0.1'...
CACTID: MYSQL: Connected to MySQL database 'cacti' on '127.0.0.1'...
CACTID: Host[1] SNMP Result: Host did not respond to SNMP
CACTID: DEBUG: SQLCMD: update host set status='1',status_event_count='25', statu
s_fail_date='0000-00-00 00:00:00',status_rec_date='0000-00-00 00:00:00',status_l
ast_error='Host did not respond to SNMP',min_time='9.999990',max_time='0.000000'
,cur_time='0.000000',avg_time='0.000000',total_polls='26',failed_polls='26',avai
lability='0.0000' where id='1'
CACTID: Host[1] DEBUG: HOST COMPLETE: About to Exit Host Polling Thread Function
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: 2.8680 s, Threads: 1, Hosts: 2
C:\cactid>