Page 1 of 1

List all network elements not in a Host/Service Group?

Posted: Fri Aug 11, 2017 8:49 am
by TBT
Can you suggest a way to list all network elements not in a Host Group or Service Group?

Re: List all network elements not in a Host/Service Group?

Posted: Fri Aug 11, 2017 1:50 pm
by scottwilkerson
TBT wrote:Can you suggest a way to list all network elements not in a Host Group or Service Group?
The only way I know to do this would be to grab all hosts/services through the API

Code: Select all

objects/host
objects/services
and match them against the API for the group members

Code: Select all

objects/hostgroupmembers
objects/servicegroupmembers

Re: List all network elements not in a Host/Service Group?

Posted: Fri Aug 11, 2017 2:11 pm
by TBT
scottwilkerson wrote:
TBT wrote:Can you suggest a way to list all network elements not in a Host Group or Service Group?
The only way I know to do this would be to grab all hosts/services through the API

Code: Select all

objects/host
objects/services
and match them against the API for the group members

Code: Select all

objects/hostgroupmembers
objects/servicegroupmembers
Ouch. Thanks.

Re: List all network elements not in a Host/Service Group?

Posted: Fri Aug 11, 2017 2:14 pm
by dwhitfield
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 #.

Re: List all network elements not in a Host/Service Group?

Posted: Fri Aug 11, 2017 2:17 pm
by TBT
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 #.
I think it would be useful, so yes. Thanks.

Re: List all network elements not in a Host/Service Group?

Posted: Fri Aug 11, 2017 2:25 pm
by dwhitfield
TBT wrote:Can you suggest a way to list all network elements not in a Host Group or Service Group?
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.

Re: List all network elements not in a Host/Service Group?

Posted: Fri Aug 11, 2017 3:21 pm
by TBT
dwhitfield wrote:
TBT wrote:Can you suggest a way to list all network elements not in a Host Group or Service Group?
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.
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.

Re: List all network elements not in a Host/Service Group?

Posted: Mon Aug 14, 2017 1:30 pm
by dwhitfield
Thank you for the additional information. I have submitted the feature request.