It looks like LibreNMS is unable to find the files placed in the custom plugin director. The permissions on the files are set top read/execute and the files are intact. This starting happening after an update on 6/23/2019
librenms@cerento010:~$ ./check-services.php -d
DEBUG!
Starting service polling run:
SQL[SELECT D.,S.,attrib_value FROM devices
AS D INNER JOIN services
AS S ON S.device_id = D.device_id AND D.disabled = 0 LEFT JOIN devices_attribs
as A ON D.device_id = A.device_id AND A.attrib_type = “override_icmp_disable” ORDER by D.device_id DESC; [] 5.68ms]
Nagios Service - 96
Request: ‘/usr/lib/nagios/plugins/check_drobo’ ‘-H’ ‘172.16.4.55’
Can’t exec “curl”: No such file or directory at /usr/lib/nagios/plugins/check_drobo line 11.
Use of uninitialized value $content in split at /usr/lib/nagios/plugins/check_drobo line 15.
Use of uninitialized value $status in concatenation (.) or string at /usr/lib/nagios/plugins/check_drobo line 49.
Perf Data - None.
Perf Data - DS: status, Value: , UOM:
Perf Data - DS: bad, Value: 0, UOM:
Response:
Service DS: {
“status”: “”,
“bad”: “”
}
RRD[last 172.16.4.55/services-96.rrd --daemon libresql.cerento.com:42217]
RRD[update 172.16.4.55/services-96.rrd N:U:0 --daemon libresql.cerento.com:42217]
SQL[SELECT devices
.*, location
, lat
, lng
FROM devices
LEFT JOIN locations ON devices
.location_id=locations
.id
WHERE device_id
= ? [3906] 1.56ms]
SQL[SELECT * FROM devices_attribs WHERE device_id
= ? [3906] 0.86ms]
SQL[SELECT * FROM vrf_lite_cisco
WHERE device_id
= ? [3906] 1.21ms]
SQL[INSERT IGNORE INTO eventlog
(device_id
,reference
,type
,datetime
,severity
,message
,username
) VALUES (:device_id,:reference,:type,:datetime,:severity,:message,:username) {“device_id”:3906,“reference”:96,“type”:“service”,“datetime”:“2019-06-24 12:44:34”,“severity”:4,“message”:“Service ‘drobo’ changed status from Critical to OK - - “,“username”:””} 2.63ms]
SQL[UPDATE services
set service_changed
=?,service_status
=?,service_message
=? WHERE service_id
=? [1561401874,0,"",96] 1.99ms]
Nagios Service - 92
Request: ‘/check_timing_status_365’ ‘10.10.190.226’
sh: 1: /check_timing_status_365: not found
Perf Data - None.
Response:
Nagios Service - 93
Request: ‘/check_pmp450_cpu’ ‘10.10.190.226’
sh: 1: /check_pmp450_cpu: not found
Perf Data - None.
Response: