Green circles I believe mean that the host has no parent.  Unjumbling it
is a pita, the 2d_coords are a pain to setup.  Personally, on the
instance I have with a lot of hosts I just let nagios do it.  I did it
manually for another smaller site so it matched our visio network
diagram.

 

 

________________________________

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Josh
Wells
Sent: Thursday, March 13, 2008 4:42 PM
To: [email protected]
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: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Jeff C.
Benger
Sent: Thursday, March 13, 2008 4:30 PM
To: [email protected]
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: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Josh
Wells
Sent: Thursday, March 13, 2008 4:19 PM
To: [email protected]
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
[email protected]
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

Reply via email to