Hi!
So, I'm having some issues with the installation, even though thing are working more or less as expected. Here is how the log looks:
30-08-2021 10:55:09 - CMDPHP PHP ERROR Backtrace: (CactiShutdownHandler())
30-08-2021 10:55:09 - CMDPHP PHP ERROR Backtrace: (CactiShutdownHandler())
30-08-2021 10:55:09 - ERROR PHP CORE_WARNING: Module 'snmp' already loaded in file: Unknown on line: 0
30-08-2021 10:55:09 - ERROR PHP CORE_WARNING: Module 'snmp' already loaded in file: Unknown on line: 0
30-08-2021 10:55:09 - CMDPHP PHP ERROR Backtrace: (CactiShutdownHandler())
30-08-2021 10:55:09 - ERROR PHP CORE_WARNING: Module 'snmp' already loaded in file: Unknown on line: 0
30-08-2021 10:55:08 - CMDPHP PHP ERROR Backtrace: (CactiShutdownHandler())
30-08-2021 10:55:08 - ERROR PHP CORE_WARNING: Module 'snmp' already loaded in file: Unknown on line: 0
30-08-2021 10:55:08 - CMDPHP PHP ERROR Backtrace: (CactiShutdownHandler())
30-08-2021 10:55:08 - ERROR PHP CORE_WARNING: Module 'snmp' already loaded in file: Unknown on line: 0
30-08-2021 10:55:03 - CMDPHP PHP ERROR Backtrace: (CactiShutdownHandler())
30-08-2021 10:55:03 - ERROR PHP CORE_WARNING: Module 'snmp' already loaded in file: Unknown on line: 0
30-08-2021 10:55:03 - CMDPHP PHP ERROR Backtrace: (CactiShutdownHandler())
30-08-2021 10:55:03 - ERROR PHP CORE_WARNING: Module 'snmp' already loaded in file: Unknown on line: 0
30-08-2021 10:55:02 - CMDPHP PHP ERROR Backtrace: (CactiShutdownHandler())
30-08-2021 10:55:02 - ERROR PHP CORE_WARNING: Module 'snmp' already loaded in file: Unknown on line: 0
30-08-2021 10:55:02 - CMDPHP PHP ERROR Backtrace: (CactiShutdownHandler())
30-08-2021 10:55:02 - ERROR PHP CORE_WARNING: Module 'snmp' already loaded in file: Unknown on line: 0
I am also getting holes in my graphs, like no data was getting in (see attached image).
There are also other errors in the log:
30-08-2021 10:55:02 - CMDPHP WARNING: cmd.php poller has run over its polling interval and therefore is ending
30-08-2021 10:55:01 - SYSTEM WARNING: Primary Admin account notifications disabled! Unable to send administrative Email.
30-08-2021 10:55:01 - POLLER: Poller[Main Poller] PID[26959] WARNING: Poller Output Table not Empty. Issues: 4, DS[switch1- Errors - gi4] Graphs[switch1- Errors - Abbvie L2 Ljubljana]
30-08-2021 10:55:01 - SYSTEM WARNING: Primary Admin account notifications disabled! Unable to send administrative Email.
30-08-2021 10:55:01 - POLLER: Poller[Main Poller] PID[26959] WARNING: There are 1 processes detected as overrunning a polling cycle, please investigate
30-08-2021 10:55:00 - SYSTEM STATS: Time:299.4556 Method:cmd.php Processes:1 Threads:1 Hosts:102 HostsPerProcess:102 DataSources:2696 RRDsProcessed:858
30-08-2021 10:55:00 - SNMPAGENT WARNING: No notification receivers configured for event: cactiNotifyPollerRuntimeExceeding (CACTI-MIB), severity: high
30-08-2021 10:55:00 - SYSTEM WARNING: Primary Admin account notifications disabled! Unable to send administrative Email.
30-08-2021 10:55:00 - POLLER: Poller[Main Poller] PID[26681] Maximum runtime of 298 seconds exceeded. Exiting.
Thanks in advance!
cacti version 1.2.18 running on debian10
PHP problem
Moderators: Developers, Moderators
PHP problem
- Attachments
-
- graph_image (1).png (21.83 KiB) Viewed 2288 times
Re: PHP problem
You are running a single cmd.php process. You need to increase that in the Data Collection section of Cacti.30-08-2021 10:55:00 - SYSTEM STATS: Time:299.4556 Method:cmd.php Processes:1 Threads:1 Hosts:102 HostsPerProcess:102 DataSources:2696 RRDsProcessed:858
Re: PHP problem
i have since moved to spine, but the issue is still present...
Re: PHP problem
Have you increased the number of threads and processes for spine? If you are still running 1 / 1 you are still going to have this problem.
Re: PHP problem
i had to experiment a bit, but it seems that i hit the nail on the head now - the graphs have been gap-free for the past few days. still getting the log message though...
Re: PHP problem
The log message actually has nothing to do with Cacti. Its a PHP Startup error telling you that you are trying to load the same PHP module twice. Probably either because you are loading in 2 different conf files.
Re: PHP problem
is that a problem? how can i track it down?
Who is online
Users browsing this forum: No registered users and 0 guests