Oh..
I just manually removed stuff from the db as listed in forums in different sponts and cleared the pollercache
Before you say it, yes, I know pollor.php creates the rdd files. But this is a quick and dirty way to see if the snmp is still failing.
Running ./cactid 1 3 yeilds this:
Code: Select all
CACTID: Using cactid config file [cactid.conf]
WARNING: Unrecongized directive: LogFile=/var/log/cactid.log in cactid.conf
CACTID: DEBUG: The path_php_server variable is /Web/cacti/script_server.php
CACTID: DEBUG: The path_cactilog variable is /Web/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 3
CACTID: DEBUG: The ping_recovery_count variable is 2
CACTID: DEBUG: The ping_failure_count variable is 5
CACTID: Non Window envrionment, running as root, ICMP Ping available
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 0
CACTID: DEBUG: The log_pstats variable is 0
CACTID: DEBUG: The threads variable is 1
CACTID: CACTID: Version 0.8.6c starting
CACTID: MYSQL: Connecting to MySQL database 'cacti' on 'localhost'...
CACTID: DEBUG: PHP Script Server Routine Started
CACTID: DEBUG: PHP Script Server About to FORK Child Process
CACTID: DEBUG: PHP Script Server Child FORK Success
CACTID: DEBUG: Confirmed PHP Script Server Running
CACTID: DEBUG: Initial Value of Active Threads is 0
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 'cacti' on 'localhost'...
CACTID: Host[1] PING: Result ICMP: Host is Alive
CACTID: 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.888000',cur_time='0.521030',avg_time='0.522110',total_polls='56',failed_polls='0',availability='100.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: In Poller, About to Start Polling of Host
CACTID: MYSQL: Connecting to MySQL database 'cacti' on 'localhost'...
CACTID: DEBUG: Valid Thread to be Created
CACTID: DEBUG: The Value of Active Threads is 1
CACTID: Host[3] PING: Result ICMP: Host is Alive
CACTID: DEBUG: SQLCMD: update host set status='3',status_event_count='0', status_fail_date='2005-01-15 10:45:00',status_rec_date='2005-01-15 10:59:00',status_last_error='Host did not respond to SNMP',min_time='0.206110',max_time='999.999990',cur_time='1.047960',avg_time='241.768339',total_polls='78',failed_polls='10',availability='87.0000' where id='3'
CACTID: Host[3] ERROR: SNMP timeout detected [50000 milliseconds], ignoring host '192.168.2.2'
CACTID: Host[3] SNMP: v2: 192.168.2.2, dsname: load_15min, oid: .1.3.6.1.4.1.2021.10.1.3.3, value: U
CACTID: DEBUG: SQLCMD: insert into poller_output (local_data_id,rrd_name,time,output) values (12,'load_15min','2005-01-16 02:12:35','U')
CACTID: Host[3] 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 Shutdown Started
CACTID: DEBUG: PHP Script Server Pipes Closed
CACTID: DEBUG: Allocated Variable Memory Freed
CACTID: DEBUG: MYSQL Free & Close Completed
CACTID: Time: 5.3411 s, Threads: 1, Hosts: 2