Choosing icons for hosts
In this recipe, you'll learn how to select graphics for hosts to appear in various parts of the Nagios Core web interface. This is done by adding directives to a host to specify the paths to appropriate images to represent it.
Adding these definitions has no effect on Nagios Core's monitoring behavior; they are mostly cosmetic changes, although it's useful to see at a glance whether a particular node is a server or a workstation, particularly on the network map.
Getting ready
You will need to run Nagios Core 4.0 or a newer server and have access to its web interface. You must also be able to edit the configuration files for the server.
It's a good idea to verify that you actually have the required images installed. The default set of icons is included in /usr/local/nagios/share/images/logos
. Don't confuse this with the directory above it, images
, which contains images used as part of the Nagios Core web interface itself.
In the logos
directory, you should find a number...