Does cacti has device number limit ?

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

Moderators: Developers, Moderators

Post Reply
izhou
Posts: 9
Joined: Wed Jan 04, 2006 10:11 pm

Does cacti has device number limit ?

Post by izhou »

Hi
Does cacti has max device limit?
I have add 30 devices, the cacti is ok,
when I add a new port in cacti, then the cacti not work any more,and rra file don't update. what's wrong ?

My log:
03/26/2006 11:00:10 AM - CACTID: Poller[0] Host[27] DS[1177] WARNING: Result from SNMP not valid. Partial Result: ...
03/26/2006 11:00:11 AM - CACTID: Poller[0] Host[28] DS[1226] WARNING: Result from SNMP not valid. Partial Result: ...
03/26/2006 11:00:12 AM - SYSTEM STATS: Time:11.2290 Method:cactid Processes:10 Threads:10 Hosts:32 HostsPerProcess:4 DataSources:2907 RRDsProcessed:1471
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

Those two data sources are trying to poll an invalid OID. Enable debugging logging in cacti to find out exactly what OID it is. Alternatively, you can click on the DS[1177] link, when viewing the log file from within Cacti.
izhou
Posts: 9
Joined: Wed Jan 04, 2006 10:11 pm

Post by izhou »

But my question is why the rra don't update when I add or remove a device to cacti?

LOG:
04/16/2006 09:45:03 PM - CACTID: Poller[0] Host[9] DS[447] WARNING: Result from SNMP not valid. Partial Result: ...
04/16/2006 09:45:06 PM - CACTID: Poller[0] Host[16] DS[800] WARNING: Result from SNMP not valid. Partial Result: ...
04/16/2006 09:45:08 PM - CACTID: Poller[0] Host[26] DS[1124] WARNING: Result from SNMP not valid. Partial Result: ...
04/16/2006 09:45:10 PM - CACTID: Poller[0] Host[27] DS[1177] WARNING: Result from SNMP not valid. Partial Result: ...
04/16/2006 09:45:10 PM - CACTID: Poller[0] Host[28] DS[1226] WARNING: Result from SNMP not valid. Partial Result: ...
04/16/2006 09:45:12 PM - SYSTEM STATS: Time:11.1869 Method:cactid Processes:10 Threads:20 Hosts:32 HostsPerProcess:4 DataSources:2907 RRDsProcessed:1445
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

The rrd files are not being updated for those data sources because cacti is not collecting data. You did not enable debugging logging.

Turn the polling level in cacti to debug (Settings | Polling level) for one cycle, wait for Cacti to run, and paste the output of the actual log file (<webroot>/cacti/log/cacti.log). If it contains WEBLOG entries, then don't bother posting since they just clutter up the log. Turn off WEBEVENTS logging and try again.
izhou
Posts: 9
Joined: Wed Jan 04, 2006 10:11 pm

Post by izhou »

The cacti is work good and rra file is update .
but if I add a new device , the rra file will not update any more.

I enable debugging logging.
my log:

04/17/2006 08:21:15 PM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select poller_id,end_time from poller_time where poller_id = 0"
04/17/2006 08:21:15 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)"
04/17/2006 08:21:16 PM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select poller_id,end_time from poller_time where poller_id = 0"
04/17/2006 08:21:16 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)"
izhou
Posts: 9
Joined: Wed Jan 04, 2006 10:11 pm

Post by izhou »

I have solve the problem。I open the file /etc/php.ini,edit the line memory_limit = 8M to 256M. So the cacti work again, and graph update ok.
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest