Setting up statusmap icons
Josh Wells
josh.wells at lionbank.com
Thu Mar 13 22:13:51 CET 2008
Thanks to both of you for the information. I guess I will have to play
around with the x and y coords and see how it goes. Seems like there
would be an easier way.
One more quick question. Where do you get your vrml icons for the 3D
map? I don't see any on nagiosexchange and when I tried to use ones from
the nagios base package they look like garbage.
-----Original Message-----
From: Valdinger, Stephen (DOV, MSX) [mailto:svalding at doverchem.com]
Sent: Thursday, March 13, 2008 5:09 PM
To: Josh Wells; nagios-users at lists.sourceforge.net
Subject: Re: [Nagios-users] Setting up statusmap icons
Parenting will clear up the status map icons, as will supplying x y
coords in hostextinfo definitions.
Stephen Valdinger
MIS Helpdesk Coordinator
P: 330.365.3622
C: 740.491.0958
-----Original Message-----
From: Josh Wells <josh.wells at lionbank.com>
To: nagios-users at lists.sourceforge.net
<nagios-users at lists.sourceforge.net>
Sent: Thu Mar 13 16:42:01 2008
Subject: Re: [Nagios-users] Setting up statusmap icons
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
-------------------------------------------------------------------------
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/
_______________________________________________
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