List all network elements not in a Host/Service Group?
List all network elements not in a Host/Service Group?
Can you suggest a way to list all network elements not in a Host Group or Service Group?
Nagios XI 2024R2.2.1 (8 Servers)
Nagios Fusion 2024R1.0.2
Nagios Fusion 2024R1.0.2
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: List all network elements not in a Host/Service Group?
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/servicegroupmembersRe: List all network elements not in a Host/Service Group?
Ouch. 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
Nagios XI 2024R2.2.1 (8 Servers)
Nagios Fusion 2024R1.0.2
Nagios Fusion 2024R1.0.2
-
dwhitfield
- Former Nagios Staff
- Posts: 4583
- Joined: Wed Sep 21, 2016 10:29 am
- Location: NoLo, Minneapolis, MN
- Contact:
Re: List all network elements not in a Host/Service Group?
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?
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 #.
Nagios XI 2024R2.2.1 (8 Servers)
Nagios Fusion 2024R1.0.2
Nagios Fusion 2024R1.0.2
-
dwhitfield
- Former Nagios Staff
- Posts: 4583
- Joined: Wed Sep 21, 2016 10:29 am
- Location: NoLo, Minneapolis, MN
- Contact:
Re: List all network elements not in a Host/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.TBT wrote: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?
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?
Nagios XI 2024R2.2.1 (8 Servers)
Nagios Fusion 2024R1.0.2
Nagios Fusion 2024R1.0.2
-
dwhitfield
- Former Nagios Staff
- Posts: 4583
- Joined: Wed Sep 21, 2016 10:29 am
- Location: NoLo, Minneapolis, MN
- Contact:
Re: List all network elements not in a Host/Service Group?
Thank you for the additional information. I have submitted the feature request.