Delete all empty hostgroup or servicegroups Nagios Core
Posted: Fri Apr 30, 2021 12:59 am
Hi All,
We are currently using Nagios® Core⢠Version 4.4.5 and we are using NagiosQL 3.4.1 to help us manage and configure our config checks.
Our hostgroup or servicegroups is very messy at the moment and I am looking to clean things up, currently I am looking to delete all empty configs that have nothing attached to them at all.
Is there a way to list all empty hostgroup or servicegroups? maybe an API or query that I can use?
Thank you in advance.
We are currently using Nagios® Core⢠Version 4.4.5 and we are using NagiosQL 3.4.1 to help us manage and configure our config checks.
Our hostgroup or servicegroups is very messy at the moment and I am looking to clean things up, currently I am looking to delete all empty configs that have nothing attached to them at all.
Is there a way to list all empty hostgroup or servicegroups? maybe an API or query that I can use?
Thank you in advance.