I'm tripping my way through Cacti here and I think I mostly have it running in a FreeBSD jail. The issue at the moment is that the poller.php (and rrdtool) never stops running. And no data is pulled from my Cisco switch.
I'm only polling one device right now, so this should complete reasonably quickly. Initially I was getting these in the logs at the start of the crontab launch:
Code: Select all
2021-12-31 16:34:59 - ERROR PHP NOTICE: Trying to access array offset on value of type bool in file: /usr/local/share/cacti/lib/snmpagent.php on line: 302
2021-12-31 16:34:59 - CMDPHP PHP ERROR NOTICE Backtrace: (/poller.php[722]:snmpagent_poller_exiting(), /lib/snmpagent.php[302]:CactiErrorHandler())
2021-12-31 16:34:59 - ERROR PHP NOTICE: Trying to access array offset on value of type bool in file: /usr/local/share/cacti/lib/snmpagent.php on line: 303
2021-12-31 16:34:59 - CMDPHP PHP ERROR NOTICE Backtrace: (/poller.php[722]:snmpagent_poller_exiting(), /lib/snmpagent.php[303]:CactiErrorHandler())
2021-12-31 16:34:59 - SNMPAGENT WARNING: No notification receivers configured for event: cactiNotifyPollerRuntimeExceeding (CACTI-MIB), severity: high
2021-12-31 16:34:59 - SYSTEM STATS: Time:299.3788 Method:cmd.php Processes:1 Threads:1 Hosts:1 HostsPerProcess:1 DataSources:9 RRDsProcessed:0
Code: Select all
stats# date
Fri Dec 31 16:47:25 EST 2021
stats# ps axuww
USER PID %CPU %MEM VSZ RSS TT STAT STARTED TIME COMMAND
cacti 86771 0.0 0.0 47228 29460 - SsJ 16:45 0:00.11 /usr/local/bin/php /usr/local/share/cacti/poller.php
cacti 86784 0.0 0.0 29856 15220 - IJ 16:45 0:00.01 /usr/local/bin/rrdtool -
Something I may have missed during the install? Any other info I can provide to help track this down?
Thanks!