In this recipe, you'll learn how to view a table of all the objects currently configured for the running Nagios Core instance. This is a very convenient way to view how the system has understood your configuration, which really helps make sense of things if you use a lot of tricks such as object inheritance and patterns for hostnames.
Because it's tucked away at the bottom of the Nagios Core web interface's navigation menu, some administrators aren't aware of this feature. It's very simple to use as there are only really two steps involved.
You will need access to the Nagios Core web interface and permission to run commands from the CGIs. The sample configuration installed by following the Quick Start Guide provides the
nagiosadmin user all the necessary privileges when authenticated via HTTP.
If you find that you don't have this privilege, check the
authorized_for_configuration_information directive in