upgraded net-snmp, polling stopped working, please help

Post general support questions here that do not specifically fall into the Linux or Windows categories.

Moderators: Developers, Moderators

Post Reply
henryd31
Posts: 30
Joined: Wed Apr 13, 2005 3:11 pm

upgraded net-snmp, polling stopped working, please help

Post by henryd31 »

Hi, running FC3 system, I wanted to try the weathermap plugin and discovered I didn't have the gd installed. When, I used yum to install it and at the same time it upgraded my php. After that, poller was complaining about lacking net-snmp. Well, I upgraded net-snmp with yum,
but now in my cacti.log I get messy results, I see it complains as if hosts are not responding to snmp, but manually they do respond.

Ie:

05/04/2006 06:51:17 PM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select poller_id,end_time from poller_time where poller_id = 0"
05/04/2006 06:51:17 PM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select poller_output.output, poller_output.time, poller_output.local_data_id, poller_item.rrd_path, poller_item.rrd_name, poller_item.rrd_num from (poller_output,poller_item) where (poller_output.local_data_id=poller_item.local_data_id and poller_output.rrd_name=poller_item.rrd_name)"
05/04/2006 06:51:17 PM - CACTID: Poller[0] Host[312] SNMP Result: Host did not respond to SNMP
05/04/2006 06:51:17 PM - CACTID: Poller[0] DEBUG: SQLCMD: update host set status='1',status_event_count='17', status_fail_date='2006-05-04 17:51:00',status_rec_date='2006-05-04 17:10:00',status_last_error='Host did not respond to SNMP',min_time='9.999990',max_time='94.011070',cur_time='86.525920',avg_time='86.332190',total_polls='371',failed_polls='33',availability='91.1051' where id='312'

05/04/2006 06:51:17 PM - CACTID: Poller[0] Host[312] DEBUG: HOST COMPLETE: About to Exit Host Polling Thread Function
05/04/2006 06:51:17 PM - CACTID: Poller[0] DEBUG: The Value of Active Threads is 1
05/04/2006 06:51:17 PM - CACTID: Poller[0] Host[313] SNMP Result: Host did not respond to SNMP
05/04/2006 06:51:17 PM - CACTID: Poller[0] DEBUG: SQLCMD: update host set status='1',status_event_count='17', status_fail_date='2006-05-04 17:51:00',status_rec_date='2006-05-04 17:10:00',status_last_error='Host did not respond to SNMP',min_time='9.999990',max_time='87.929960',cur_time='77.809100',avg_time='78.405300',total_polls='370',failed_polls='33',availability='91.0811' where id='313'

05/04/2006 06:51:17 PM - CACTID: Poller[0] Host[313] DEBUG: HOST COMPLETE: About to Exit Host Polling Thread Function
05/04/2006 06:51:17 PM - CACTID: Poller[0] DEBUG: The Value of Active Threads is 0
05/04/2006 06:51:18 PM - CACTID: Poller[0] DEBUG: SQLCMD: replace into settings (name,value) values ('date',NOW())
05/04/2006 06:51:18 PM - CACTID: Poller[0] DEBUG: SQLCMD: insert into poller_time (poller_id, start_time, end_time) values (0, NOW(), NOW())
05/04/2006 06:51:18 PM - CACTID: Poller[0] DEBUG: Thread Cleanup Complete
05/04/2006 06:51:18 PM - CACTID: Poller[0] DEBUG: PHP Script Server Pipes Closed
05/04/2006 06:51:18 PM - CACTID: Poller[0] DEBUG: Allocated Variable Memory Freed
05/04/2006 06:51:18 PM - CACTID: Poller[0] CACTID: Shutting down Net-SNMP API
05/04/2006 06:51:18 PM - CACTID: Poller[0] DEBUG: MYSQL Free & Close Completed
05/04/2006 06:51:18 PM - CACTID: Poller[0] Time: 74.9614 s, Threads: 4, Hosts: 119
05/04/2006 06:51:18 PM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select poller_id,end_time from poller_time where poller_id = 0"
05/04/2006 06:51:18 PM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select poller_output.output, poller_output.time, poller_output.local_data_id, poller_item.rrd_path, poller_item.rrd_name, poller_item.rrd_num from (poller_output,poller_item) where (poller_output.local_data_id=poller_item.local_data_id and poller_output.rrd_name=poller_item.rrd_name)"
05/04/2006 06:51:18 PM - SYSTEM STATS: Time:76.5742 Method:cactid Processes:2 Threads:4 Hosts:236 HostsPerProcess:118 DataSources:8982 RRDsProcessed:33

No graphs are being updated anymore, all devices show "Down" status.
What else can I check here ?
henryd31
Posts: 30
Joined: Wed Apr 13, 2005 3:11 pm

Post by henryd31 »

Forgot to mention, I can also go to a device and create new graphs,
yet when poller is running using cactid (I was running 0.8.6f, just few minutes ago upgraded to 0.8.6g to see if that would make a difference)
no graphs are updated, all devices show "Down" status, in the debug mode it shows hosts not responding to snmp, and graphs created with
running shell scripts are working properly. It would seem being totally related to the net-snmp upgrade, but I can't figure out why it works my hand, and in other cases like being able to get this info thru creation of new graphs. Any ideas anyone ?
henryd31
Posts: 30
Joined: Wed Apr 13, 2005 3:11 pm

Post by henryd31 »

Ok, I guess I should have known not to use the damn "yum"....It chose to upgrade my php with net-snmp, and this broke the whole thing. I manually removed the php and net-snmp packages. Downloaded the older
versions, installed, and what a surprise, the whole thing started working again. fyi, yum upgraded php to 4.3.11 and net-snmp to 5.2.1. I reverted
this back to php 4.3.9 and net-snmp 5.1.2.

Thanks !
Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests