Ad blocker detected: Our website is made possible by displaying online advertisements to our visitors. Please consider supporting us by disabling your ad blocker on our website.
Date Mon, 13 Aug 2018 13:59:36 -0500
Cacti Version 1.2.0
Cacti OS unix
RSA Fingerprint e4:b7:46:f7:7c:18:99:4c:53:a0:aa:e2:0a:7d:ae:9f
NET-SNMP Version NET-SNMP version: 5.7.3
RRDtool Version Configured 1.3.0+
RRDtool Version Found 1.7.0
Devices 3,671
Graphs 14,670
Data Sources Script/Command: 3,675
SNMP Query: 3,656
Script Server: 7,340
Total: 14,671
Poller Information
Interval 300
Type SPINE 1.1.38 Copyright 2004-2017 by The Cacti Group (Different version of Cacti and Spine!)
Items Action[0]: 7,312
Action[1]: 3,675
Action[2]: 7,340
Total: 18,327
Concurrent Processes 10
Max Threads 70
PHP Servers 20
Script Timeout 10
Max OID 10
Last Run Statistics Time:299.1570 Method:spine Processes:1 Threads:100 Hosts:3678 HostsPerProcess:3678 DataSources:18356 RRDsProcessed:13457
My spine is 1.1.38. When I tried spine 1.2 it wouldn't run.
My problem is the poller is not starting up multiple processes like it should for spine or cmd.
root@cacti:/var/www/cacti/log# php /var/www/cacti/poller.php -d --force
2018/08/13 14:58:56 - POLLER: Poller[1] NOTE: Poller Int: '300', Cron Int: '300', Time Since Last: '916.16', Max Runtime '298', Poller Runs: '1'
2018/08/13 14:58:56 - POLLER: Poller[1] WARNING: Cron is out of sync with the Poller Interval! The Poller Interval is '300' seconds, with a maximum of a '300' second Cron, but 916.2 seconds have passed since the last poll!
2018/08/13 14:58:56 - POLLER: Poller[1] DEBUG: About to Spawn a Remote Process [CMD: /usr/local/spine/bin/spine, ARGS: --poller=1 --first=0 --last=3679 --mibs]
2018/08/13 14:58:56 - POLLER: Poller[1] DEBUG: About to Spawn a Remote Process [CMD: /usr/local/spine/bin/spine, ARGS: --poller=1 --first=3680 --last=3680 --mibs]
I don't think this is the issue. That talks about the values not migrating and once they were set correctly it worked. Mine has the correct settings where they are supposed to be. I downloaded the cacti-master from github this morning. I checked the poller table and it correctly says 4 processes and 100 threads.
Here is the code that is messed up from poller.php:
// retreive the number of concurrent process settings
if (sizeof($poller)) {
$concurrent_processes = $poller['processes'];
} else {
$concurrent_processes = read_config_option('concurrent_processes');
}
if (!isset($concurrent_process) || inval($concurrent_processes) < 1) {
$concurrent_processes = 1;
}
I am not sure what inval is. I think its supposed to be intval but thats not the whole problem. It should be $concurrent_processes not $concurrent_process. $concurrent_process is NOT set so it will fire off and set concurrent processes = 1.