I’m see a lot of errors in the log file like this. Does anyone one know where I can start the troubleshoot process?
[2022-11-02T08:18:51.653879-07:00] production.ERROR: Error polling ports module for 10.100.100.192. Division ByZeroError: Division by zero in /opt/librenms/includes/polling/ports.inc.php:786
Stack trace:
#0 /opt/librenms/includes/polling/functions.inc.php(340): include()
#1 /opt/librenms/poller.php(126): poll_device()
#2 {main}
[2022-11-02T08:18:51.663426-07:00] production.ERROR: Division by zero {“exception”:"[object] (DivisionByZero Error(code: 0): Division by zero at /opt/librenms/includes/polling/ports.inc.php:786)"}
[2022-11-02T08:18:55.951004-07:00] production.ERROR: Error polling ports module for 10.100.100.190. Division ByZeroError: Division by zero in /opt/librenms/includes/polling/ports.inc.php:786
Discovery
https://p.libren.ms/view/ef4b836e
Poller
https://p.libren.ms/view/393fce2e
===========================================
Component | Version |
---|---|
LibreNMS | 22.10.0-59-g2dea36f70f (2022-11-02T07:55:28-07:00) |
DB Schema | 2022_08_15_084507_add_rrd_type_to_wireless_sensors_table (249) |
PHP | 8.1.2 |
Python | 3.10.6 |
Database | MariaDB 10.6.7-MariaDB-2ubuntu1.1 |
RRDTool | 1.7.2 |
SNMP | 5.9.1 |
===========================================
[OK] Composer Version: 2.4.4
[OK] Dependencies up-to-date.
[OK] Database connection successful
[OK] Database Schema is current
[OK] SQL Server meets minimum requirements
[OK] lower_case_table_names is enabled
[OK] MySQL engine is optimal
[OK]
[OK] Database schema correct
[OK] MySQl and PHP time match
[OK] Active pollers found
[OK] Dispatcher Service is enabled
[OK] Locks are functional
[OK] No active python wrapper pollers found
[OK] Redis is unavailable
[OK] rrd_dir is writable
[OK] rrdtool version ok