Page 1 of 1

Icons Under Status Views

Posted: Tue Aug 23, 2011 7:40 am
by adomin1000
I've seen on several nagios screenshots before, where they have icons next to each host as a representation of what kind of system each is running such as Windows, MAC OS, Linux, BSD, etc. How can I set this up on nagios?

One example would be on this:

Image

Re: Icons Under Status Views

Posted: Wed Aug 31, 2011 2:14 am
by SDohmen
From what i know this is all located in the extinfo.cfg file. Standard the debian looks like below:

define hostextinfo{
hostgroup_name defauwes-debian-servers
notes Debian GNU/Linux servers
# notes_url http://webserver.localhost.localdomain/ ... t=netware1
icon_image base/debian.png
icon_image_alt Debian GNU/Linux
vrml_image debian.png
statusmap_image base/debian.gd2
}

Just copy the above over and change the values as you need them. The images are located in /usr/share/nagios/htdocs/images/logos/base/ (debian). There are several other icons there but they are older ones as far as i know.

Re: Icons Under Status Views

Posted: Sun Sep 11, 2011 12:02 am
by Hiker52
Thanks for the tip. By the way, will this (or a similar approach) work with different server OS, such as when using a Mac OS X server to support Windows, Mac and Linux machines?

Re: Icons Under Status Views

Posted: Mon Sep 12, 2011 4:06 pm
by crfriend
Hiker52 wrote:By the way, will this (or a similar approach) work with different server OS, such as when using a Mac OS X server to support Windows, Mac and Linux machines?
Yes. Since this is a configuration in the application layer, it is insensitive to the OS that's in use. This means that once the application suite is compiled for any given architecture, the configuration for the environment can be moved from machine-to-machine and architecture-to-architecture without problems. My original Nagios suite ran on Solaris atop SPARC; the very same configuration was moved over -- intact -- to a Nagios suite on RedHat atop Intel without any need for modification. This includes the icon files.