Is there a way, in a EPP-licenced version (or the limited free version), to know which installed plugins are UNUSED?
Is there also a way to find a list of all USED plugins?
Looking for any hint!
What I’m exploring:
- I’m guessing it may be useful to check the Databases; the config database “centreon” or the information related to performance data in the “centreon_storage” database. But I don’t yet know if any table holds information on plugins.
- Or maybe their is a simple RestAPI or CLAPI query that could provide information close to what I’m looking for? A strategy I’m exploring is finding host/services templates that are used using CLAPI, then finding their associated plugins via some other requests:
# Host templates
centreon -a admin -p password -e |grep "HOST;addtemplate"
# Service templates
centreon -a admin -p password -e |grep "SERVICE;ADD"
- Or maybe start by listing the content of all installed plugin packages, the look for the templates, and checks usage at other places:
repoquery --installed -l centreon-pack-*
I’m looking for the simplest solution really.
Centreon version 22.04