Status Map Images
From NagiosCommunity
There is existing documentation describing how to select which images to use for which hosts and host groups, but not much on the mechanics of making new ones.
Here's what I've found:
- Nagios Book, ch. 13.1 "Replacing the Default Icons"
- Nagios FAQ "How do I convert an image to GD2 format for use in the statusmap CGI?"
It seems that the pngtogd2 command loses transparency unless the original png file is properly formatted: This blog entry gives good instructions, but they're in German. Here are some key points, in English:
'
-
pngtogd2is distributed as part of thelibgd-toolspackage in Debian and Ubuntu. - The image needs to be stored with an indexed rather than RGB color model. In GIMP, select Image -> Mode -> Indexed.
- The color values for transparent pixels need to be retained.

