Linuxfabrik / monitoring-plugins

220+ check plugins for Icinga and other Nagios-compatible monitoring applications. Each plugin is a standalone command line tool (written in Python) that provides a specific type of check.
https://linuxfabrik.ch
The Unlicense
220 stars 51 forks source link

All: 'Unable to load parent referenced from service' when restoring the json file #667

Closed Elikill58 closed 1 year ago

Elikill58 commented 1 year ago

This issue respects the following points:

Which variant of the Monitoring Plugins do you use?

Bug description

I have this logs:

Unable to load parent referenced from service "Top3 Processes Which Caused The Most I/O", failed to load icinga_service for host_id IS NULL AND service_set_id IS NULL AND object_name = 'tpl-service-top3-processes-which-caused-the-most-io' AND object_type = 'template' (IcingaObjectImports.php:273)

Steps to reproduce - Plugin call

icingacli director basket restore < icingaweb2-module-director-basket-no-uuids.json -v

Steps to reproduce - Data

Simply the one described here in the "ALL plugins" sections

It's the same when using the web UI, when clicking "restore"

Environment

Debian 5.10.0-21-amd64

Plugin Version

All - with this commit: 8d50ac9dc42fb0d0a789184e61a9b78a36df723c

Python version

No response

List of Python modules

No response

Additional Information

No response

markuslf commented 1 year ago

The last of our "Top3" checks was moved into disk-io. See:

I just forgot to clean up the all-the-rest.json. Thanks for reporting.