Re: [Nagios-users] service dependencies with host group

2010-04-30 Thread Flyinvap
Hi, Le Fri, 30 Apr 2010 16:48:03 +0100, Assaf Flatto a écrit : > Take a look here - and it might help you sort this one out As usual, explanations were in the doc ! Just have to find it. define servicedependency{ hostgroup server dependent_service_descri

Re: [Nagios-users] service dependencies with host group

2010-04-30 Thread Assaf Flatto
Flyinvap wrote: > Hi, > > Is it possible do use service dependencies on with hostgroup ? All > services are applied to hostgroup : > > define service { > use generic > nameservice1 > description service1 > hostgroup

[Nagios-users] service dependencies with host group

2010-04-30 Thread Flyinvap
Hi, Is it possible do use service dependencies on with hostgroup ? All services are applied to hostgroup : define service { use generic nameservice1 description service1 hostgroup server chec

Re: [Nagios-users] Service dependencies

2009-12-28 Thread Martin Melin
A service that happens to be a check_ping is not the same thing as the host check command. The host check command should be a plugin that determines whether or not the host is alive - usually a ping, but can be something else. See http://nagios.sourceforge.net/docs/3_0/hostchecks.html for more in

Re: [Nagios-users] Service dependencies

2009-12-28 Thread Brandino Andreas
Are you sure that it works that way?? I disabled notifications for "ping" service, but still I receive notifications from other services although the host is down Do I have to enable any other option? Thank you Regards Friday, December 25, 2009, 4:19:08 PM, you wrote: > On Dec 25, 2009, a

Re: [Nagios-users] Service dependencies

2009-12-25 Thread Marc Powell
On Dec 25, 2009, at 5:28 AM, Brandino Andreas wrote: > Hi all and happy holidays! > > Lets assume that a host has three service checks (ping, uptime and cpu). If > for some reason > connection fails, a mail for each service is being sent (with random > order). > Is any way when "uptime" or "cpu

[Nagios-users] Service dependencies

2009-12-25 Thread Brandino Andreas
Hi all and happy holidays! Lets assume that a host has three service checks (ping, uptime and cpu). If for some reason connection fails, a mail for each service is being sent (with random order). Is any way when "uptime" or "cpu" check fails (not when is critical), to force a "ping service" check

Re: [Nagios-users] service dependencies not catching all

2009-06-10 Thread Andreas Ericsson
Assaf Flatto wrote: >> It's supposed to do that automatically. Can you provide the relevant >> excerpts from the logfiles showing it hasn't done so? > here is apart of the log for one of the servers : > > HOST ALERT: ftp.ssp-intl.com;DOWN;HARD;5;PING CRITICAL - Packet loss = 100% > [1244607560] SE

Re: [Nagios-users] service dependencies not catching all

2009-06-10 Thread Assaf Flatto
> > It's supposed to do that automatically. Can you provide the relevant > excerpts from the logfiles showing it hasn't done so? here is apart of the log for one of the servers : HOST ALERT: ftp.ssp-intl.com;DOWN;HARD;5;PING CRITICAL - Packet loss = 100% [1244607560] SERVICE ALERT: ftp.ssp-intl.co

Re: [Nagios-users] service dependencies not catching all

2009-06-10 Thread Andreas Ericsson
Assaf Flatto wrote: >> There is an automatic service->host dependency that suppresses >> notifications for all services that are on hosts in a non-UP state, so this >> seems like an exercise in futility to me. > > In that case can you point me to the location where i configure nagios to > respond

Re: [Nagios-users] service dependencies not catching all

2009-06-10 Thread Assaf Flatto
> > There is an automatic service->host dependency that suppresses > notifications for all services that are on hosts in a non-UP state, so this > seems like an exercise in futility to me. In that case can you point me to the location where i configure nagios to respond that way , since it is no

Re: [Nagios-users] service dependencies not catching all

2009-06-10 Thread Andreas Ericsson
Assaf Flatto wrote: > hello list > > I have an odd issue with service dependencies > > I have 360 hosts with 2400 services in my nagios , and i thought i set up an > "all encompassing" > service dependency in order to get only one alert of a host goes down . > There is an automatic service-

[Nagios-users] service dependencies not catching all

2009-06-10 Thread Assaf Flatto
hello list I have an odd issue with service dependencies I have 360 hosts with 2400 services in my nagios , and i thought i set up an "all encompassing" service dependency in order to get only one alert of a host goes down . define servicedependency{ host_name *

Re: [Nagios-users] service dependencies on a single host?

2008-10-14 Thread Andy Shellam
Hi Thomas, Thomas Guyot-Sionnest wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > On 14/10/08 01:29 PM, Michael W. Lucas wrote: > >> Hi, >> >> I'm currently monitoring many services on certain hosts via SNMP, and >> making extensive use of host groups to ease configuration for my >>

Re: [Nagios-users] service dependencies on a single host?

2008-10-14 Thread Thomas Guyot-Sionnest
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 14/10/08 01:29 PM, Michael W. Lucas wrote: > Hi, > > I'm currently monitoring many services on certain hosts via SNMP, and > making extensive use of host groups to ease configuration for my > several hundred hosts. > > On occasion, the SNMP servic

[Nagios-users] service dependencies on a single host?

2008-10-14 Thread Michael W. Lucas
Hi, I'm currently monitoring many services on certain hosts via SNMP, and making extensive use of host groups to ease configuration for my several hundred hosts. On occasion, the SNMP service on a host fails. This triggers dozens of alarms. I would like to have each service checked via SNMP dep

Re: [Nagios-users] Service Dependencies

2008-07-16 Thread Janet Post
Hello, I'm pretty sure you just use a ! (bang) to filter out your ping test: define servicedependency{ host_name Mickeymouse service_description PING dependent_host_name Mickeymouse dependent_service_description *, !PING

[Nagios-users] Service Dependencies

2008-07-16 Thread Assaf Flatto
Hello I'm tweaking around with service dependencies and wanted to ask something that when i think about it will fail , but i still keep the hope that nagios inner logic will not see mt setup so literally and work as i hope it will. I have a host with 23 services checked on it (i have severa

[Nagios-users] Service dependencies

2007-11-05 Thread Matthias Haider
Hi folks, i am trying to use service dependencies and i am unsure if the dependencies will get check further than for the "nearest neighbour"? For example, A depends on B, and B dependes on C Will in an failure event of A the dependency get checked until C, or will i have to write an explicit dep

[Nagios-users] Service dependencies

2007-07-09 Thread Matthew Joyce
Is there a way to configure service dependencies to cater for redundancies ? Service_A depends on (Service_B OR Service_C) Or does it only do Service_A depends on (Service_B AND Service_C) Thanks Matthew Joyce 02 9382 0051 | IT Manager | Children's Cancer Institute Australia for Medical Resea

Re: [Nagios-users] service dependencies and failover

2007-06-05 Thread Masoud Tabrizi
] +++ -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Phil Costelloe Sent: Friday, June 01, 2007 10:00 AM To: Nagios-users@lists.sourceforge.net Subject: Re: [Nagios-users] service dependencies and failover From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf

Re: [Nagios-users] service dependencies and failover

2007-06-01 Thread Phil Costelloe
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Masoud Tabrizi > Trying to monitor db services in a cluster/failover environment using check_oracle > plug-in; all NRPE checks are done against the virtual IP of the DB; I would like to > enable the same services on the secondary host

[Nagios-users] service dependencies and failover

2007-06-01 Thread Masoud Tabrizi
All, Trying to monitor db services in a cluster/failover environment using check_oracle plug-in; all NRPE checks are done against the virtual IP of the DB; I would like to enable the same services on the secondary host yet with a dependency on the file system mount point which would make the DB av

[Nagios-users] Service Dependencies - NULL service description

2007-05-14 Thread andy . shellam-lists
Hi, I raised this back in February with Nagios 2.7 (http://www.mail-archive.com/nagios-users@lists.sourceforge.net/msg09830.html), but just realised I hadn't had an answer to the original thread. This is still a problem with Nagios 2.9. Can anyone confirm what I'm doing wrong? I have a host cal

[Nagios-users] Service Dependencies - how to make a new one

2007-04-17 Thread Merrett, Mike
Hi: Does anyone know how to make a service dependency work globally? For example I want to do this but it doesn't seem to work (at least in 3.0a3) define servicedependency { hostgroups 2003-servers, 200-servers, XP-servers service_descriptionNT_Stats_Port dependent_service_des

Re: [Nagios-users] Service dependencies not disabling notifications

2007-04-16 Thread C. Bensend
> I don't know if it makes a difference, and I may have missed some new > parameters that have been added since the docs were revised, but I'm not > sure "p" is a valid failure criterion. According to the docs, it is. But nevertheless, I've tried it with and without, and it doesn't work either w

Re: [Nagios-users] Service dependencies not disabling notifications

2007-04-16 Thread Morris, Patrick
> -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf > Of C. Bensend > Sent: Sunday, April 15, 2007 7:38 PM > To: nagios-users@lists.sourceforge.net > Subject: [Nagios-users] Service dependencies not disabling > notifications &

Re: [Nagios-users] Service dependencies not disabling notifications

2007-04-15 Thread C. Bensend
> Take a very close look at the output of "nagios -v". It happened to me > in the past that making a small error in the servicedependency > definitions would make Nagios discard them as "Lame service dependency" > without counting it in the warning/error count. This is logged at the > top and disc

Re: [Nagios-users] Service dependencies not disabling notifications

2007-04-15 Thread Thomas Guyot-Sionnest
On 15/04/07 10:38 PM, C. Bensend wrote: > Hey folks, > > > > nagios -v is happy with this, it does not complain about any config > errors. However, if I kill NRPE on electron, I get an alert for > each of the supposedly dependent services. I am absolutely at a > loss to see why. > > I have be

[Nagios-users] Service dependencies not disabling notifications

2007-04-15 Thread C. Bensend
Hey folks, I could swear I've asked this before, but neither Google nor the mailing list archives showed any posts. My apologies if this is indeed a repeat, my memory flakes out sometimes. I have a v2.8 installation on an OpenBSD machine. It was built from source, not installed via packa

Re: [Nagios-users] service dependencies

2007-04-03 Thread Rudy Setiawan
Yeah I got it backwards :) thank you guys! Regards, Rudy -Original Message- From: James Tran [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 03, 2007 12:07 PM To: Patrick Morris Cc: Rudy Setiawan; nagios-users@lists.sourceforge.net Subject: Re: [Nagios-users] service dependencies

Re: [Nagios-users] service dependencies

2007-04-03 Thread James Tran
James Tran wrote: > Patrick Morris wrote: > >> On Tue, 03 Apr 2007, Rudy Setiawan wrote: >> >> >> >>> If nagios check that if PING does not reply, then do not check the rest >>> of the services (SSH,SMTP and WEB). >>> >>> define servicedependency{ >>> >>> host_name

Re: [Nagios-users] service dependencies

2007-04-03 Thread James Tran
Patrick Morris wrote: > On Tue, 03 Apr 2007, Rudy Setiawan wrote: > > >> If nagios check that if PING does not reply, then do not check the rest >> of the services (SSH,SMTP and WEB). >> >> define servicedependency{ >> >> host_name newton.domain.com >> >> se

Re: [Nagios-users] service dependencies

2007-04-03 Thread Patrick Morris
On Tue, 03 Apr 2007, Rudy Setiawan wrote: > If nagios check that if PING does not reply, then do not check the rest > of the services (SSH,SMTP and WEB). > > define servicedependency{ > > host_name newton.domain.com > > service_description SSH N

[Nagios-users] service dependencies

2007-04-03 Thread Rudy Setiawan
Hi All, I have a little bit problem with service dependency syntax Let's say I have the following host Host 1 with SSH and PING being monitored by nagios. If nagios check that if PING does not reply, then do not check the rest of the services (SSH,SMTP and WEB). The current config

Re: [Nagios-users] Service Dependencies - How do you do yours?

2007-02-28 Thread Andy Shellam (Mailing Lists)
Hari, I have this exact problem (raised it a few weeks ago.) I've got it on my to-do list to create a shell script (probably PHP) that will create a service_dependencies.cfg file for you with each host and it's NRPE services. I'll try and get round to it this weekend and post on Nagios Exchange

[Nagios-users] Service Dependencies - How do you do yours?

2007-02-28 Thread Hari Sekhon
Hi, I'm using NRPE to check a lot of things, but it occurs to me that if nrpe goes down, I will receive a storm of emails about all the things that it checks. So I want to create service_dependencies which say, for example, "all Ram checks must depend on check serviceX on the same host" wher

Re: [Nagios-users] Service Dependencies - refer to self

2007-02-07 Thread Andy Shellam (Mailing Lists)
for Medical Research *From:* [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] *On Behalf Of *Andy Shellam (Mailing Lists) *Sent:* Monday, 5 February 2007 7:24 PM *To:* moshe sharon *Cc:* Nagios Users Mailing List *Subject:* Re: [Nagios-users] Service Dependen

Re: [Nagios-users] Service Dependencies - refer to self

2007-02-06 Thread Matthew Joyce
List Subject: Re: [Nagios-users] Service Dependencies - refer to self moshe sharon wrote: Hi its pretty simple solution without perl script. create a service called NRPE and enter the foll

Re: [Nagios-users] Service Dependencies - refer to self

2007-02-05 Thread Andy Shellam (Mailing Lists)
moshe sharon wrote: Hi its pretty simple solution without perl script. create a service called NRPE and enter the following check_command command_name nrpe_version command_line ./check_nrpe -H 212.150.36.20 when running this command against NRPE daemon you should get

Re: [Nagios-users] Service Dependencies - refer to self

2007-02-04 Thread moshe sharon
Hi its pretty simple solution without perl script. create a service called NRPE and enter the following check_command command_name nrpe_version command_line ./check_nrpe -H 212.150.36.20 when running this command against NRPE daemon you should get response "NRPE v2.0" now create your dependenc

Re: [Nagios-users] Service Dependencies - refer to self

2007-02-04 Thread Andy Shellam (Mailing Lists)
Hugo van der Kooij wrote: On Sun, 4 Feb 2007, Andy Shellam (Mailing Lists) wrote: Is there any way to make a service dependency refer to the service's own host? In your case I would write a tiny script and generate the service dependencies. I guess some 20 lines of perl might do the

Re: [Nagios-users] Service Dependencies - refer to self

2007-02-04 Thread Hugo van der Kooij
On Sun, 4 Feb 2007, Andy Shellam (Mailing Lists) wrote: > Is there any way to make a service dependency refer to the service's own > host? In your case I would write a tiny script and generate the service dependencies. I guess some 20 lines of perl might do the trick if you are fluent in perl.

[Nagios-users] Service Dependencies - refer to self

2007-02-04 Thread Andy Shellam (Mailing Lists)
Is there any way to make a service dependency refer to the service's own host? For example: I have a list of services that perform basic health checking (disk-space, swap-space, load, uptime etc) across all servers defined in Nagios. There is also a service on every server that checks that NRP

[Nagios-users] service dependencies not working

2006-09-14 Thread Matteo Corti
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, I tried to configure a service dependency between a couple of HTTP servers and a MySQL server they depend on. In dependencies.cgf I have: define servicedependency{ host_name mysqlweb service_description

[Nagios-users] Service dependencies patch for self referring and 1:1 joins

2006-09-01 Thread John P. Rouillard
Hello all: One of the things I have wanted to do is to create servicedependencies like: define servicedependency{ dependent_host_name a,b,c,d,e,f,g,h,i dependent_service_description sa, sb, sc, sd, se, sf, sg, sh, si, sj host_name SELF service_description SshCheck notification

RE: [Nagios-users] service dependencies problem

2006-05-31 Thread Deborah Martin
s again. Then add one definition where the descriptions were different. You'll see the difference. hth, -Original Message- From: Grzegorz Rumatowski [mailto:[EMAIL PROTECTED] Sent: 31 May 2006 10:37 To: nagios-users@lists.sourceforge.net Subject: [Nagios-users] service dependencies pro

[Nagios-users] service dependencies problem

2006-05-31 Thread Grzegorz Rumatowski
Hello, During checking nagios config with nagios -v I'm getting: Error: A circular execution dependency (which could result in a deadlock) exists for service 'PING' on host 'YESSS-Firewall'! Error: A circular execution dependency (which could result in a deadlock) exists for service 'PING'

Re: [Nagios-users] Service Dependencies

2006-04-05 Thread Carl Davis
Thank you, this now works as I had hoped. Carl n Sat, 2006-04-01 at 19:45 +0200, Hugo van der Kooij wrote: > On Sat, 1 Apr 2006, Carl Davis wrote: , > > I think I have service dependencies backwards in my head. If I were > > utilizing a flow chart and b required service on a to be up, I would pu

Re: [Nagios-users] Service Dependencies

2006-04-01 Thread Hugo van der Kooij
On Sat, 1 Apr 2006, Carl Davis wrote: > I think I have service dependencies backwards in my head. If I were > utilizing a flow chart and b required service on a to be up, I would put > a as the dependent_service_description and b as the host_name? I have a > long line of wireless links and if th

[Nagios-users] Service Dependencies

2006-04-01 Thread Carl Davis
I think I have service dependencies backwards in my head. If I were utilizing a flow chart and b required service on a to be up, I would put a as the dependent_service_description and b as the host_name? I have a long line of wireless links and if the first one fails I do not want to be notified

RE: [Nagios-users] Service dependencies

2006-03-19 Thread Matthew Joyce
Matthew Joyce 02 9382 0051 | 0412 309745 | IT Manager > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf > Of Eli Stair > Sent: Friday, 17 March 2006 12:48 PM > To: Nagios Users Mailinglist > Subject: Re: [Nagios-users] Ser

Re: [Nagios-users] Service dependencies

2006-03-16 Thread Eli Stair
To be fair, one situation where these wildcard template dependencies don't work is when you want to define a number of dependent services that rely on a service on the same host (i.e. not a number of separate services on different hosts that rely on a single (or wildcardable) host/service).

Re: [Nagios-users] Service dependencies

2006-03-15 Thread Hugo van der Kooij
On Thu, 16 Mar 2006, Matthew Joyce wrote: > I check a lot of window services from linux via snmp. > One service is SNMP, if this fails or stops, others will fail. > > An I going to get a heap of notification for each service ? > > I've looked at the service dependency section in the docs, and it l

[Nagios-users] Service dependencies

2006-03-15 Thread Matthew Joyce
Title: Service dependencies Hi all, I check a lot of window services from linux via snmp. One service is SNMP, if this fails or stops, others will fail. An I going to get a heap of notification for each service ? I've looked at the service dependency section in the docs, and it looks

[Nagios-users] Service dependencies - question

2006-01-30 Thread Dirk Westfal
Hi, what is the best/an economic way to setup dependencies for the following scenario: 40x : router_site1 (service-dsl)<-> host1 (service1,service2), ... hostx(service1,service4) Per each of the 40 remote sites i have around 2-4 hosts with 5-20 services on each to check. Since the router