Re: [Nagios-users] check_cluster configuration.

2010-03-31 Thread Thomas Guyot-Sionnest
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 29/03/10 07:52 AM, HyunSung Jang wrote:
> what a nice solution it is!!
> why I didn't think about that..
> 
> we have VIP and represented domain name
> so this is very clear to me..

I do this, and for some checks that just float around but always return
their status at the same place (using send_nsca & others), I use a dummy
host with 127.0.0.1 as the host address, so it never fails the host check.

You could also use check_cluster as the host check, aggregating the
status of all hosts in a hosts group.

- --
Thomas
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFLs87M6dZ+Kt5BchYRAp73AKDf6LBIbMj2sCH6NbSxfOG/cLT+JwCgyt58
AdgEQ51iocaGUHHC66MPYes=
=eMZg
-END PGP SIGNATURE-

--
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
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] check_cluster configuration.

2010-03-29 Thread HyunSung Jang
what a nice solution it is!!
why I didn't think about that..

we have VIP and represented domain name
so this is very clear to me..

thank you~

On Mon, Mar 29, 2010 at 8:33 PM, Max  wrote:

> On Mon, Mar 29, 2010 at 7:23 AM, HyunSung Jang  wrote:
> > then what should be the "host_name" for service definition ?
> > my server hostname start from www1 ~ www100
> > and at this time I just added one more service under www1 definition. but
> > this doesn't look good.
> > Can i make it like a "standalone" ?
> > I mean, i don't want put cluster service under one of my www server.
> > it looks like a service that belongs to just one host.
> > any idea about this~?
>
> One common pattern for this is to give the clustered host the name of
> the URL it represents, e.g. if the cluster represented the web service
> http://www.example.com I would use example.com as the name.
>
> If the cluster is behind a VIP, even better, you can then use the VIP
> IP as the 'virtual host' object IP.
>
> - Max
>
>
> --
> Download Intel® Parallel Studio Eval
> Try the new software tools for yourself. Speed compiling, find bugs
> proactively, and fine-tune applications for parallel performance.
> See why Intel Parallel Studio got high marks during beta.
> http://p.sf.net/sfu/intel-sw-dev
> ___
> 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
>
--
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev___
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] check_cluster configuration.

2010-03-29 Thread Max
On Mon, Mar 29, 2010 at 7:23 AM, HyunSung Jang  wrote:
> then what should be the "host_name" for service definition ?
> my server hostname start from www1 ~ www100
> and at this time I just added one more service under www1 definition. but
> this doesn't look good.
> Can i make it like a "standalone" ?
> I mean, i don't want put cluster service under one of my www server.
> it looks like a service that belongs to just one host.
> any idea about this~?

One common pattern for this is to give the clustered host the name of
the URL it represents, e.g. if the cluster represented the web service
http://www.example.com I would use example.com as the name.

If the cluster is behind a VIP, even better, you can then use the VIP
IP as the 'virtual host' object IP.

- Max

--
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
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] check_cluster configuration.

2010-03-29 Thread Michael Schwartzkopff
Am Montag, 29. März 2010 13:23:38 schrieb HyunSung Jang:
> hello folks,
> I'm trying to configure cluster configuration.
>
> we have 100 servers for www service and i don't wanna get notification from
> all of my www servers.
> so i decided to configure check_cluster, and it works very well.
>
> but my question is Nagios doc said that i have to configure it as "service"
> ..
> then what should be the "host_name" for service definition ?
>
> my server hostname start from www1 ~ www100
> and at this time I just added one more service under www1 definition. but
> this doesn't look good.
> Can i make it like a "standalone" ?
> I mean, i don't want put cluster service under one of my www server.
> it looks like a service that belongs to just one host.
>
> any idea about this~?

Use the check_multi plugin. It makes your life much easier.

-- 
Dr. Michael Schwartzkopff
MultiNET Services GmbH
Addresse: Bretonischer Ring 7; 85630 Grasbrunn; Germany
Tel: +49 - 89 - 45 69 11 0
Fax: +49 - 89 - 45 69 11 21
mob: +49 - 174 - 343 28 75

mail: mi...@multinet.de
web: www.multinet.de

Sitz der Gesellschaft: 85630 Grasbrunn
Registergericht: Amtsgericht München HRB 114375
Geschäftsführer: Günter Jurgeneit, Hubert Martens

---

PGP Fingerprint: F919 3919 FF12 ED5A 2801 DEA6 AA77 57A4 EDD8 979B
Skype: misch42

--
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
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] check_cluster configuration.

2010-03-29 Thread HyunSung Jang
hello folks,
I'm trying to configure cluster configuration.

we have 100 servers for www service and i don't wanna get notification from
all of my www servers.
so i decided to configure check_cluster, and it works very well.

but my question is Nagios doc said that i have to configure it as "service"
..
then what should be the "host_name" for service definition ?

my server hostname start from www1 ~ www100
and at this time I just added one more service under www1 definition. but
this doesn't look good.
Can i make it like a "standalone" ?
I mean, i don't want put cluster service under one of my www server.
it looks like a service that belongs to just one host.

any idea about this~?
--
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev___
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