Setting up statusmap icons

Josh Wells josh.wells at lionbank.com
Thu Mar 13 21:42:01 CET 2008


Worked like a charm! Now I just have to figure out how to get the status
map unjumbled and the green circles off the icons. I'm getting there!
 
 

________________________________

From: nagios-users-bounces at lists.sourceforge.net
[mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Jeff C.
Benger
Sent: Thursday, March 13, 2008 4:30 PM
To: nagios-users at lists.sourceforge.net
Subject: Re: [Nagios-users] Setting up statusmap icons



Since you're using 3.0 and I assume template based configs, I'd just add
the statusmap_image to the template.

 

Define host {

            Name                            windows-server

Use                              generic-host

             Statusmap_image        rm_windows.png

            ...

}

Define host {

            Name                            linux-server

            Use                              generic-host

            Statusmap_image         rm_linux.png

            ...

}

Define host {

            Name                            exchange-server

            Use                              windows-server

            Statusmap_image         mail.png

            ...

}

 

And then if you need to overwrite the default image you can just toss it
in the host definition that's using the template.

 

/usr/local/nagios/share is the webroot, so yes in
/usr/local/nagios/share/images/logos

 

 

 

________________________________

From: nagios-users-bounces at lists.sourceforge.net
[mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Josh
Wells
Sent: Thursday, March 13, 2008 4:19 PM
To: nagios-users at lists.sourceforge.net
Subject: [Nagios-users] Setting up statusmap icons

 

I'm fairly new to nagios and running nagios 3. I want to configure icons
on my statusmap and have a couple questions. First is about the
location. The nagios documentation says the default location for the
images is /usr/local/nagios/share/images/logos. I have the book Building
a Monitoring Infrastructure with Nagios by David Josephson and it says
the icons are expected to be in the webroot/images/icons directory. So
where should I store the icons?

 

Secondly the documentation says in nagios 3.x extended host information
definitions can be added to the host definitions. So in the host
definition I would just include statusmap_image and the name of the
image file? What I would really like to do if possible is tie the icon
to my windows server group rather than having to go through and edit
every single host definition. It isn't a huge deal but would be easier.

 

Thanks for the help and glad to be joining the nagios community.

 

Josh

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20080313/a2152bcc/attachment.html>
-------------- next part --------------
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
-------------- next part --------------
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null


More information about the Users mailing list