List all network elements not in a Host/Service Group?
Posted: Fri Aug 11, 2017 8:49 am
Can you suggest a way to list all network elements not in a Host Group or Service Group?
Support for Nagios products and services
https://support.nagios.com/forum/
The only way I know to do this would be to grab all hosts/services through the APITBT wrote:Can you suggest a way to list all network elements not in a Host Group or Service Group?
Code: Select all
objects/host
objects/servicesCode: Select all
objects/hostgroupmembers
objects/servicegroupmembersOuch. Thanks.scottwilkerson wrote:The only way I know to do this would be to grab all hosts/services through the APITBT wrote:Can you suggest a way to list all network elements not in a Host Group or Service Group?and match them against the API for the group membersCode: Select all
objects/host objects/servicesCode: Select all
objects/hostgroupmembers objects/servicegroupmembers
I think it would be useful, so yes. Thanks.dwhitfield wrote:Would you like me to submit a feature request on your behalf? Please keep in mind that a feature request can be denied and initially there will be no date or version #.
Do you mean not in *ANY* group, or not in a specific group? I just want to make sure the feature request is actually what you want.TBT wrote:Can you suggest a way to list all network elements not in a Host Group or Service Group?
Currently, if a network element isn't configured for a host/service group it will not be shown on Group Summary or Overview page. A method for displaying ALL/ANY network elements not associated with a host/service group is required and allows administrators to clean-up misconfigurations.dwhitfield wrote:Do you mean not in *ANY* group, or not in a specific group? I just want to make sure the feature request is actually what you want.TBT wrote:Can you suggest a way to list all network elements not in a Host Group or Service Group?