Re: [Nagios-users] How do I check if a website is up?

2008-10-21 Thread Josh Wells
Is it possible to define a host using URL rather than IP address?
 



From: Ben O'Hara [mailto:[EMAIL PROTECTED] 
Sent: Monday, October 20, 2008 12:34 PM
To: Josh Wells
Cc: nagios
Subject: Re: [Nagios-users] How do I check if a website is up?


What i have done in the past is,

a) create a host for www.example.com
b) ceate a host group - External
c) stick www.example.com in Eternal group
) add service check to host

Yu can then add numberous external checks into the group or check other
services on the host.

Seemed to make sense that way for me back then

Ben


On Mon, Oct 20, 2008 at 6:17 PM, Josh Wells [EMAIL PROTECTED]
wrote:



Ok I defined the command as you specified in my commands.cfg
file. I
then added a service definition in my localhost.cfg file using
that
command. It appears to be working. How do I configure an alert
for this
type of check? I would like to be notified if the website is not
reachable for more than say 5 minutes. Also while this is
functional I
don't really like that this website check is showing up under my
nagios
server host. I would prefer that it have its own host definition
or at
least appear separately from the other hosts. Is it possible to
do this
using a URL?

Thanks for your help. I used the quickstart guide to get my
server up
and running so still pretty green with nagios but I'm learning.

Josh



-Original Message-
From: Assaf Flatto [mailto:[EMAIL PROTECTED]

Sent: Monday, October 20, 2008 11:03 AM
To: Nagios User list
Subject: Re: [Nagios-users] How do I check if a website is up?

No , you don't have to define a host .

you define a service check with the fix parameters ( as i gave
in the
previous mail ) and assign this check to an existing host .

that host will execute the check and report the status returned
from the
command ( personally i'd run it from the nagios server itself) .


On Monday 20 October 2008 15:58:25 Josh Wells wrote:
 Ok so if the website is external to my network I need to
create a host
 definition? What would that look like for a URL? I've only
made host
 definitions for internal hosts using the IP address. Because
the
website
 is a hosted solution I would rather define it by URL than IP
address.
Is
 this possible?



 -Original Message-
 From: Assaf Flatto [mailto:[EMAIL PROTECTED]
 Sent: Monday, October 20, 2008 10:46 AM
 To: nagios-users@lists.sourceforge.net
 Subject: Re: [Nagios-users] How do I check if a website is up?

 Not nessaceily .

 If you have that website in your network , you can just define
the
 check_http check to that host.
 also you can add in one of the parameters the specific URL you
wish to
 query .

 -u, --url=PATH
 URL to GET or POST (default: /)


 Or you can define a check on the nagios server it self to
query the
web
 site like this :

 # 'check_website' command definition
 define command{
 command_namecheck_website
 command_line$USER1$/check_http -H www.website.com
 }


 If not , then you need to build a new host definition and
service
check
 for that host .

 On Monday 20 October 2008 15:18:53 Josh Wells wrote:
  Do I have to define a remote host such as www.website.com in
order
to
  apply the check_http service against that host?



--

Assaf Flatto
SSP Ops Team
Linux System Administrator





IMPORTANT . this email and the information in it may be
confidential,
legally
privileged and/or protected by law. It is intended solely for
the use of
the
person to whom it is addressed. If you are not the intended
recipient,
please
notify the sender immediately and do not disclose the contents
to any
other
person, use it for any purpose, or store or copy the information
in any
medium.
Please also delete all copies of this email and any attachments
from
your
system.

We cannot guarantee the security or confidentiality of email
communications. We
do not accept any liability for losses or damages that you may
suffer as
a
result of your receipt of this email including but not limited
to
computer
service or system failure, access delays or interruption, data
non

[Nagios-users] How do I check if a website is up?

2008-10-20 Thread Josh Wells
Do I have to define a remote host such as www.website.com in order to
apply the check_http service against that host?
 
-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/___
Nagios-users mailing list
Nagios-users@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

Re: [Nagios-users] How do I check if a website is up?

2008-10-20 Thread Josh Wells
Ok so if the website is external to my network I need to create a host
definition? What would that look like for a URL? I've only made host
definitions for internal hosts using the IP address. Because the website
is a hosted solution I would rather define it by URL than IP address. Is
this possible?



-Original Message-
From: Assaf Flatto [mailto:[EMAIL PROTECTED] 
Sent: Monday, October 20, 2008 10:46 AM
To: nagios-users@lists.sourceforge.net
Subject: Re: [Nagios-users] How do I check if a website is up?

Not nessaceily .

If you have that website in your network , you can just define the
check_http check to that host.
also you can add in one of the parameters the specific URL you wish to
query .

-u, --url=PATH
URL to GET or POST (default: /)


Or you can define a check on the nagios server it self to query the web
site like this :

# 'check_website' command definition
define command{
command_namecheck_website
command_line$USER1$/check_http -H www.website.com 
}


If not , then you need to build a new host definition and service check
for that host .


On Monday 20 October 2008 15:18:53 Josh Wells wrote:
 Do I have to define a remote host such as www.website.com in order to 
 apply the check_http service against that host?



-- 

Assaf Flatto
SSP Ops Team
Linux System Administrator





IMPORTANT . this email and the information in it may be confidential,
legally privileged and/or protected by law. It is intended solely for
the use of the person to whom it is addressed. If you are not the
intended recipient, please notify the sender immediately and do not
disclose the contents to any other person, use it for any purpose, or
store or copy the information in any medium.
Please also delete all copies of this email and any attachments from
your system.

We cannot guarantee the security or confidentiality of email
communications. We do not accept any liability for losses or damages
that you may suffer as a result of your receipt of this email including
but not limited to computer service or system failure, access delays or
interruption, data non-delivery or mis-delivery, computer viruses or
other harmful components.

Copyright in this email and any attachments belong to Select Service
Partner UK Limited. Should you communicate with anyone at Select Service
Partner UK Limited by email, you consent to us monitoring and reading
any such correspondence.

Nothing in this email shall be taken or read as suggesting, proposing or
relating to any agreement concerted practice or other practice that
could infringe UK or EC competition legislation.

Select Service Partner UK Limited is a company registered in England and
Wales (company number 05687183) whose registered office is at 1 The
Heights, Brooklands, Weybridge. Surrey. KT13 0NY
 
 


-
This SF.Net email is sponsored by the Moblin Your Move Developer's
challenge Build the coolest Linux based applications with Moblin SDK 
win great prizes Grand prize is a trip for two to an Open Source event
anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
Nagios-users mailing list
Nagios-users@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

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
Nagios-users mailing list
Nagios-users@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


Re: [Nagios-users] How do I check if a website is up?

2008-10-20 Thread Josh Wells
 
Ok I defined the command as you specified in my commands.cfg file. I
then added a service definition in my localhost.cfg file using that
command. It appears to be working. How do I configure an alert for this
type of check? I would like to be notified if the website is not
reachable for more than say 5 minutes. Also while this is functional I
don't really like that this website check is showing up under my nagios
server host. I would prefer that it have its own host definition or at
least appear separately from the other hosts. Is it possible to do this
using a URL?

Thanks for your help. I used the quickstart guide to get my server up
and running so still pretty green with nagios but I'm learning.

Josh


-Original Message-
From: Assaf Flatto [mailto:[EMAIL PROTECTED] 
Sent: Monday, October 20, 2008 11:03 AM
To: Nagios User list
Subject: Re: [Nagios-users] How do I check if a website is up?

No , you don't have to define a host .

you define a service check with the fix parameters ( as i gave in the
previous mail ) and assign this check to an existing host .

that host will execute the check and report the status returned from the
command ( personally i'd run it from the nagios server itself) .


On Monday 20 October 2008 15:58:25 Josh Wells wrote:
 Ok so if the website is external to my network I need to create a host
 definition? What would that look like for a URL? I've only made host
 definitions for internal hosts using the IP address. Because the
website
 is a hosted solution I would rather define it by URL than IP address.
Is
 this possible?



 -Original Message-
 From: Assaf Flatto [mailto:[EMAIL PROTECTED]
 Sent: Monday, October 20, 2008 10:46 AM
 To: nagios-users@lists.sourceforge.net
 Subject: Re: [Nagios-users] How do I check if a website is up?

 Not nessaceily .

 If you have that website in your network , you can just define the
 check_http check to that host.
 also you can add in one of the parameters the specific URL you wish to
 query .

 -u, --url=PATH
 URL to GET or POST (default: /)


 Or you can define a check on the nagios server it self to query the
web
 site like this :

 # 'check_website' command definition
 define command{
 command_namecheck_website
 command_line$USER1$/check_http -H www.website.com
 }


 If not , then you need to build a new host definition and service
check
 for that host .

 On Monday 20 October 2008 15:18:53 Josh Wells wrote:
  Do I have to define a remote host such as www.website.com in order
to
  apply the check_http service against that host?



-- 

Assaf Flatto
SSP Ops Team
Linux System Administrator





IMPORTANT . this email and the information in it may be confidential,
legally
privileged and/or protected by law. It is intended solely for the use of
the
person to whom it is addressed. If you are not the intended recipient,
please
notify the sender immediately and do not disclose the contents to any
other
person, use it for any purpose, or store or copy the information in any
medium.
Please also delete all copies of this email and any attachments from
your
system.

We cannot guarantee the security or confidentiality of email
communications. We
do not accept any liability for losses or damages that you may suffer as
a
result of your receipt of this email including but not limited to
computer
service or system failure, access delays or interruption, data
non-delivery or
mis-delivery, computer viruses or other harmful components.

Copyright in this email and any attachments belong to Select Service
Partner UK
Limited. Should you communicate with anyone at Select Service Partner UK
Limited by
email, you consent to us monitoring and reading any such correspondence.

Nothing in this email shall be taken or read as suggesting, proposing or
relating to any agreement concerted practice or other practice that
could
infringe UK or EC competition legislation.

Select Service Partner UK Limited is a company registered in England and
Wales
(company number 05687183) whose registered office is at 1 The Heights,
Brooklands, Weybridge. Surrey. KT13 0NY
 
 


-
This SF.Net email is sponsored by the Moblin Your Move Developer's
challenge
Build the coolest Linux based applications with Moblin SDK  win great
prizes
Grand prize is a trip for two to an Open Source event anywhere in the
world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
Nagios-users mailing list
Nagios-users@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

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based

Re: [Nagios-users] How to monitor Equallogic PS SAN with snmp?

2008-08-27 Thread Josh Wells
Thanks for the help Marcus. One last question, how do I find an OID? Are
these standardized values defined by the SNMP protocol or are they
device specific? 


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Marcus
Sent: Wednesday, August 27, 2008 3:39 AM
To: nagios
Subject: Re: [Nagios-users] How to monitor Equallogic PS SAN with snmp?

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi Josh,

Josh Wells schrieb:
 I'm wanting to add monitoring of an equallogic PS series SAN to
Nagios.
 It is SNMP capable but I don't know much about SNMP. Can someone point

 me in the right direction to learn how to do this? I'm curious to know

 what can be monitored on the SAN through SNMP and how I would go about

 setting it up with Nagios. Would I need an equallogic specific plugin 
 for Nagios? Thanks for any help.

You have to check what exactly you want to monitor in your SAN, then
find the according OID (Object ID) for that value.

Then, make sure your nagios-server is snmp-ready, by installing
perl-Net-SNMP, and compile check_snmp. (Maybe you also need net-snmp and
net-snmp-dev, I'm not quite sure.)

Set a password (community-string) on your SAN for snmp-read. It might
already be set to public (I personally don't like default passwords.)

You might need a customized MIB for that device which you should
probably get from the manufacterer or which is somewhere on the Driver
CD for your SAN. (Read some documentation on  MIBs:
http://en.wikipedia.org/wiki/Management_information_base)
The MIB should tell you, what can be monitored.

If you have Hostname, OID and a valid password, as well as a working
plugin (check_snmp), just stick to the documentation on
http://nagiosplugins.org/man/check_snmp

or have a look here
(http://www.superk.org/index.php/Nagios__Windows#Monitoring_with_SNMP)
for another example.

You won't need an equallogic-specific plugin, thats the nice thing about
snmp.
You'll just have to define some custom commands and services for your
equallogic stuff.
Here is a mail-thread with some examples for a hp-device:
http://www.mail-archive.com/nagios-users@lists.sourceforge.net/msg15150.
html

Hth,
 Marcus
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFItQSA+qVaNRZYOakRAiTaAJ9X0+odrY1u3h4f/gVBh2hGF4n0+wCdGcIT
eMPEuD6ZyNN2w+i++NlgxPY=
=kXJ8
-END PGP SIGNATURE-


-
This SF.Net email is sponsored by the Moblin Your Move Developer's
challenge Build the coolest Linux based applications with Moblin SDK 
win great prizes Grand prize is a trip for two to an Open Source event
anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
Nagios-users mailing list
Nagios-users@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

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
Nagios-users mailing list
Nagios-users@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


Re: [Nagios-users] How to monitor Equallogic PS SAN with snmp?

2008-08-27 Thread Josh Wells
Fantastic. Thanks so much to both of you for the information. Exactly
what I was looking for.



-Original Message-
From: Marcus [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, August 27, 2008 8:57 AM
To: Josh Wells
Cc: nagios
Subject: Re: [Nagios-users] How to monitor Equallogic PS SAN with snmp?

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi Josh,

Josh Wells schrieb:
 Thanks for the help Marcus. One last question, how do I find an OID? 
 Are these standardized values defined by the SNMP protocol or are they

 device specific?

There are standards, how to define OIDs in MIBs. Every manufacturer who
builds a device can define his own OIDs and put them in a so called MIB
for that device.
There is also a standard-MIB (called MIB2), which defines common stuff.
Take a look here:
http://www.et.put.poznan.pl/snmp/mib2/mib2.html

What you need to do, in order to determine, what information you can get
from your SNMP-capable device (your SAN), is to use some sort of
MIB-browser (either graphical or console-based), feed it with the MIB of
the device you want to monitor, and browse the OID-tree.
The MIB translates those weird rows of dots and numbers into something
human-readable.
(OID 1.3.6.1.2.1.2.2.1.2 could be an interface description, for
example.)

Here is a page with a couple of snmp-tools: ;-)
http://www.snmplink.org/snmpsoftware/forenduser/#6

This MIB-Browser is free and multiplatform (Java):
http://www.dwipal.com/mibbrowser.htm
Read the docs to learn how to load the MIB of your Equallogic-Device
into the program.

Greetz,
 Marcus

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFItU8a+qVaNRZYOakRAtuaAKCLTRsISEwlAO8TXa8axM3mDUONmwCfQGvJ
xSTCGAGPJOv3HIV0qtIKk4U=
=sP7H
-END PGP SIGNATURE-

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
Nagios-users mailing list
Nagios-users@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


[Nagios-users] How to monitor Equallogic PS SAN with snmp?

2008-08-26 Thread Josh Wells
I'm wanting to add monitoring of an equallogic PS series SAN to Nagios.
It is SNMP capable but I don't know much about SNMP. Can someone point
me in the right direction to learn how to do this? I'm curious to know
what can be monitored on the SAN through SNMP and how I would go about
setting it up with Nagios. Would I need an equallogic specific plugin
for Nagios? Thanks for any help.
-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/___
Nagios-users mailing list
Nagios-users@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

Re: [Nagios-users] Upgrade to Hardy? [UPDATE]

2008-05-02 Thread Josh Wells
Went ahead and ran the upgrade from Gutsy to Hardy and Nagios is still
working just as before. Now my freenx on the other hand
 



From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Josh
Wells
Sent: Monday, April 28, 2008 2:18 PM
To: nagios-users@lists.sourceforge.net
Subject: [Nagios-users] Upgrade to Hardy?


I'm running Nagios 3.0 on Ubuntu Gutsy Server at the moment and
considering upgrading to Hardy. Has anyone running nagios on an Ubuntu
server done this or know of any problems? Don't want to break nagios.
Thanks.
 
Josh
-
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone___
Nagios-users mailing list
Nagios-users@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

[Nagios-users] Upgrade to Hardy?

2008-04-28 Thread Josh Wells
I'm running Nagios 3.0 on Ubuntu Gutsy Server at the moment and
considering upgrading to Hardy. Has anyone running nagios on an Ubuntu
server done this or know of any problems? Don't want to break nagios.
Thanks.
 
Josh
-
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone___
Nagios-users mailing list
Nagios-users@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

[Nagios-users] Setting up statusmap icons

2008-03-13 Thread Josh Wells
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/vse012070mrt/direct/01/___
Nagios-users mailing list
Nagios-users@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

Re: [Nagios-users] Setting up statusmap icons

2008-03-13 Thread Josh Wells
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: nagios-users@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 {

Namewindows-server

Use  generic-host

 Statusmap_imagerm_windows.png

...

}

Define host {

Namelinux-server

Use  generic-host

Statusmap_image rm_linux.png

...

}

Define host {

Nameexchange-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: nagios-users@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/vse012070mrt/direct/01/___
Nagios-users mailing list
Nagios-users@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

Re: [Nagios-users] Setting up statusmap icons

2008-03-13 Thread Josh Wells
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:[EMAIL PROTECTED] 
Sent: Thursday, March 13, 2008 5:09 PM
To: Josh Wells; nagios-users@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 [EMAIL PROTECTED]
To: nagios-users@lists.sourceforge.net
nagios-users@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: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Jeff C.
Benger
Sent: Thursday, March 13, 2008 4:30 PM
To: nagios-users@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 {

Namewindows-server

Use  generic-host

 Statusmap_imagerm_windows.png

...

}

Define host {

Namelinux-server

Use  generic-host

Statusmap_image rm_linux.png

...

}

Define host {

Nameexchange-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: nagios-users@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/vse012070mrt/direct/01/
___
Nagios-users mailing list
Nagios-users@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