Using the network map
In this recipe, we'll examine our network hierarchy in the network map (or status map) in the Nagios Core web interface. The network map takes the form of a generated graphic showing the hierarchy of hosts and their current states. You can learn how to establish such a hierarchy in the recipe Creating a network host hierarchy in this chapter. The network map allows filtering to show specific hosts, and clicking on hosts to navigate through larger networks.
Getting ready
You will need to be running a Nagios Core 3.0 or newer server, and have access to its web interface. You will also need permission to view the states of hosts, preferably all hosts. You can arrange this by adding your username in the authorized_for_all_hosts
directive, normally in /usr/local/nagios/etc/cgi.cfg
; for example, for the user tom
, we might configure the directive to read as follows:
authorized_for_all_hosts=nagiosadmin,tom
By default, the nagiosadmin
user should have all the necessary permissions...