Result code:5 since Jul 1 on discovery.php -h new

Component Version
LibreNMS 1.41-8-gd9ceaf7
DB Schema 253
PHP 7.0.28
MySQL 10.1.24-MariaDB
RRDTool 1.6.0
SNMP NET-SNMP 5.7.2

Hi, I have a cron jobs running for the last 2+ years and since Sundays(Jul 1) last update I’m getting a result code: 5 from the discovery.php -h new

I see no errors, what is result code 5.

I usually had code 0 and no email, something changed?

Thanks

Cronic detected failure or error output for the command:
/usr/bin/timeout --preserve-status 30m /var/www/librenms/discovery.php -h new

RESULT CODE: 5

ERROR OUTPUT:

STANDARD OUTPUT:
LibreNMS Discovery
SNMP [0/0.00s]: Get[0/0.00s] Getnext[0/0.00s] Walk[0/0.00s] MySQL [3/0.00s]: Cell[0/0.00s] Row[0/0.00s] Rows[3/0.00s] Column[0/0.00s] Update[0/0.00s] Insert[0/0.00s] Delete[0/0.00s] RRD [0/0.00s]: Update[0/0.00s] Create [0/0.00s] Other[0/0.00s]

Hi,

having the same issue here, seems this code is to blame:

This is fixed in master.