Page 1 of 1

NagiosXi GUI hierarchy for an object/group

Posted: Wed Feb 06, 2019 4:35 pm
by d0nkey
Have a GUI/Page or Report that list/show all the associations that an object touches or a hierarchy view related to that object.
I'm new to Nagios and tried searching for something similar but coming up empty.

Re: NagiosXi GUI hierarchy for an object/group

Posted: Wed Feb 06, 2019 4:46 pm
by lmiltchev
Click on "Configuration" link under the "System" menu on the left, and select an object type to view the configuration. Is this what you were looking for?

Re: NagiosXi GUI hierarchy for an object/group

Posted: Thu Feb 07, 2019 4:29 pm
by d0nkey
thanks for the reply!

I was browsing around more and the configuration file doesn't list the relationship that it's part of.

I also checked the nagios core for it but it still doesn't list all the relationship data.
/nagios/cgi-bin/config.cgi
Nagios Core GUI

I frequently use vmware vrops and is spoiled how easy to view the relationship of the object in one page.

Like a Pyramid, the host /group at the top and branches down to whatever it touches or touches it/relationship.

One thing that is annoying is that, under Host Management > Common settings > If it's part of.. lets say "Manage host groups" if it's assigned manually then it will show "1" but if it's assigned by another group "Relationship define elsewhere", then it will just show "0" for the Manage host Groups.

Re: NagiosXi GUI hierarchy for an object/group

Posted: Fri Feb 08, 2019 10:57 am
by lmiltchev
One thing that is annoying is that, under Host Management > Common settings > If it's part of.. lets say "Manage host groups" if it's assigned manually then it will show "1" but if it's assigned by another group "Relationship define elsewhere", then it will just show "0" for the Manage host Groups.
The number that is shown is accurate as it indicates how objects relate to each other.

1. You could add a hostgroup to a host. In this case, in the CCM under "Host Management", you would see "1" on the "Manage Host Groups" button.
2. You could also also add a host (as a member) to a hostgroup. In this case, you would see "0" under "Host Management", however you would see "1" under the "Host Group Management" (provided this host is the only member added to the hostgroup).

We are not planning on changing this behavior. Having said that, you could use the REST API to view objects. You will find the REST API Docs under the help menu.
example01.PNG