Re: [Nagios-users] Service dependency help

2012-02-07 Thread Jeffrey Watts
Anyone have any advice on this problem? Thanks again, Jeffrey. On Thu, Jan 26, 2012 at 11:56 AM, Jeffrey Watts wrote: > Hello, I'm having some trouble getting a service dependency working and I > was hoping for some help. I've read the section in Wolfgang Barth's book > "Nagios 2nd Edition" and

[Nagios-users] service dependency mapping in nagios

2012-02-07 Thread Manish_Kmr
Hi List, I have defined a service dependency of a service of a host to the other service of the same host. What I want is like if the parent service goes critical, the dependent service should automatically go to critical without doing any check. Is it possible to force state change of the depe

[Nagios-users] Service dependency help

2012-01-26 Thread Jeffrey Watts
Hello, I'm having some trouble getting a service dependency working and I was hoping for some help. I've read the section in Wolfgang Barth's book "Nagios 2nd Edition" and googled around a bit, but something's still not working right. I'm using Nagios 3.0.6. Specifically, I want to set it up so

[Nagios-users] Service dependency

2011-07-06 Thread Radu . Popa
Hello, I have tried o play a bit with the service dependencies list and defined the following: define servicedependency{ dependent_host_name WS1 dependent_service_description CPU usage,Disk I/O usage,Individual CPU core usage,Memory usage host_name

Re: [Nagios-users] Service dependency for nrpe on nagios 3.2.3

2010-10-21 Thread Ton Voon
On 21 Oct 2010, at 19:41, Mathieu Gagné wrote: > I applied the patch to HEAD but did not have the chance to test it. > However I'm confident it will work fine. > > Hopefully this patch will be applied to the HEAD of Nagios as it is > really useful to us. :) That's a very useful feature. In Opsvi

Re: [Nagios-users] Service dependency for nrpe on nagios 3.2.3

2010-10-21 Thread Mathieu Gagné
Hi David, I applied the patch to HEAD but did not have the chance to test it. However I'm confident it will work fine. Hopefully this patch will be applied to the HEAD of Nagios as it is really useful to us. :) -- Mathieu ---

[Nagios-users] Service dependency for nrpe on nagios 3.2.3

2010-10-21 Thread Davide Blasi
Hi list, I'm installing a large infrastructure using nagios 3.2.3. My goal will be to create a service dependency of all services checked via nrpe (like check disk) dependent of nrpe on same host without having to define one service dependency for each host. I found ( by google ) this fantasti

Re: [Nagios-users] service dependency - dependent from

2010-04-08 Thread Christian Schneemann
On Thursday 08 April 2010 03:31:03 pm C. Bensend wrote: > >> You mean like: > >> > >> > >> # All services that depend on NSClient++ > >> define servicedependency{ > >> # Host the dependent service is running on > >> dependent_host_name HOSTNAME > >> # Service tha

Re: [Nagios-users] service dependency - dependent from

2010-04-08 Thread C. Bensend
>> You mean like: >> >> >> # All services that depend on NSClient++ >> define servicedependency{ >> # Host the dependent service is running on >> dependent_host_name HOSTNAME >> # Service that is dependent on the service_description below >> dependent_se

Re: [Nagios-users] service dependency - dependent from

2010-04-08 Thread Christian Schneemann
On Thursday 08 April 2010 03:09:14 pm Christian Schneemann wrote: > On Thursday 08 April 2010 02:44:27 pm C. Bensend wrote: > like the "parent" we have at hosts. OK, the parents defintion could be misleading... Maybe better to explain with servicegrous, there you can define the members in the

Re: [Nagios-users] service dependency - dependent from

2010-04-08 Thread Christian Schneemann
On Thursday 08 April 2010 02:44:27 pm C. Bensend wrote: > > If I understand the documentation right it is just possible to add the > > services that are dependent _from_ a service in the servicedependency > > definition. > > I would need to define a service and add to that definition from which > >

Re: [Nagios-users] service dependency - dependent from

2010-04-08 Thread C. Bensend
> If I understand the documentation right it is just possible to add the > services that are dependent _from_ a service in the servicedependency > definition. > I would need to define a service and add to that definition from which > service > it is dependent. > > As an example I would like to add

[Nagios-users] service dependency - dependent from

2010-04-08 Thread Christian Schneemann
Hallo, I need service dependency definitions the other way round as it is written in the documentation I think :( If I understand the documentation right it is just possible to add the services that are dependent _from_ a service in the servicedependency definition. I would need to define a ser

Re: [Nagios-users] Service dependency fun

2009-10-05 Thread Assaf Flatto
On Friday 02 October 2009 19:35:42 Randy Rodriguez wrote: > Hey all. Here's my situation, and my dilemma. I instituted a check of > the snmpd process on a group of hosts, all of which do snmp-based checks > of other services. I want to institute a dependency such that the snmp > checks do not

[Nagios-users] Service dependency fun

2009-10-02 Thread Randy Rodriguez
Hey all. Here's my situation, and my dilemma. I instituted a check of the snmpd process on a group of hosts, all of which do snmp-based checks of other services. I want to institute a dependency such that the snmp checks do not notify if the snmpd check fails. Simple, no? Here's my service dep

Re: [Nagios-users] service dependency problem - config check hangs

2009-09-08 Thread Terry
2009/9/7 Mathieu Gagné : > On 9/7/09 2:09 PM, Terry wrote: >> >> 2009/9/7 Mathieu Gagné: >> >> I turned that off but no luck.  What's interesting is this dependency >> works fine: >> >> define servicedependency{ >>         hostgroup_name                          webmonitor >>         service_descri

Re: [Nagios-users] service dependency problem - config check hangs

2009-09-07 Thread Mathieu Gagné
On 9/7/09 2:09 PM, Terry wrote: > 2009/9/7 Mathieu Gagné: > > I turned that off but no luck. What's interesting is this dependency > works fine: > > define servicedependency{ > hostgroup_name webmonitor > service_description port 80 >

Re: [Nagios-users] service dependency problem - config check hangs

2009-09-07 Thread Terry
2009/9/7 Mathieu Gagné : > On 9/7/09 1:27 PM, Terry wrote: >> >> 2009/9/7 Mathieu Gagné: >>> >>> On 9/7/09 1:19 PM, Terry wrote: I'm not a programmer and haven't spent any time in understanding patching so I probably screwed up. >>> >>> >>> I didn't tried Nagios 3.2.0 yet. >>> I can'

Re: [Nagios-users] service dependency problem - config check hangs

2009-09-07 Thread Mathieu Gagné
On 9/7/09 1:27 PM, Terry wrote: > 2009/9/7 Mathieu Gagné: >> On 9/7/09 1:19 PM, Terry wrote: >>> >>> I'm not a programmer and haven't spent any time in understanding >>> patching so I probably screwed up. >> >> >> I didn't tried Nagios 3.2.0 yet. >> I can't tell if the patch would work with this ve

Re: [Nagios-users] service dependency problem - config check hangs

2009-09-07 Thread Mathieu Gagné
On 9/7/09 12:54 PM, Terry wrote: > On Fri, Sep 4, 2009 at 2:51 PM, Marc Powell wrote: >> >> Based on that number, it looks like you're getting all services >> dependent on the NRPE services on all hosts. I haven't been following >> this thread but what I think you're trying to do has recently been

Re: [Nagios-users] service dependency problem - config check hangs

2009-09-07 Thread Mathieu Gagné
On 9/7/09 1:19 PM, Terry wrote: >> >> Which patch did you tried? >> >> Mine is in production at this time and it works perfectly. >> As for Thomas' one, it simply does not work. Sorry. :) > > http://marc.info/?l=nagios-devel&m=125193013621198&w=2 > > [r...@omajelut01 SOURCES]# patch -p0< nagios-pa

Re: [Nagios-users] service dependency problem - config check hangs

2009-09-07 Thread Terry
2009/9/7 Mathieu Gagné : > On 9/7/09 1:19 PM, Terry wrote: >>> >>> Which patch did you tried? >>> >>> Mine is in production at this time and it works perfectly. >>> As for Thomas' one, it simply does not work. Sorry. :) >> >> http://marc.info/?l=nagios-devel&m=125193013621198&w=2 >> >> [r...@omajel

Re: [Nagios-users] service dependency problem - config check hangs

2009-09-07 Thread Terry
2009/9/7 Mathieu Gagné : > On 9/7/09 12:54 PM, Terry wrote: >> >> On Fri, Sep 4, 2009 at 2:51 PM, Marc Powell  wrote: >>> >>> Based on that number, it looks like you're getting all services >>> dependent on the NRPE services on all hosts. I haven't been following >>> this thread but what I think yo

Re: [Nagios-users] service dependency problem - config check hangs

2009-09-07 Thread Terry
On Fri, Sep 4, 2009 at 2:51 PM, Marc Powell wrote: > > On Sep 4, 2009, at 2:09 PM, Terry wrote: > >> Most of them are windows boxes.  Notice 678608 service dependencies. >> I can't imagine that what I am doing is uncommon.  Can someone post a >> working nsclient++ or nrpe dependency configuration?

Re: [Nagios-users] service dependency problem - config check hangs

2009-09-04 Thread Marc Powell
On Sep 4, 2009, at 2:09 PM, Terry wrote: > Most of them are windows boxes. Notice 678608 service dependencies. > I can't imagine that what I am doing is uncommon. Can someone post a > working nsclient++ or nrpe dependency configuration? Based on that number, it looks like you're getting all se

Re: [Nagios-users] service dependency problem - config check hangs

2009-09-04 Thread Terry
Checking services... Checked 2529 services. Checking hosts... Checked 273 hosts. Checking host groups... Checked 40 host groups. Checking service groups... Checked 9 service groups. Checking contacts... Checked 2 contacts. Checking contact groups... C

Re: [Nagios-users] service dependency problem - config check hangs

2009-09-04 Thread Assaf Flatto
How many windows servers do you have ? do you also have other services dependent on the automatic services ? or nrpe dependent on PING ? if you do have further dependencies - this may cause the circular dependencies . Assaf On Thursday 03 September 2009 18:10:04 Terry wrote: > Hello, > > When

[Nagios-users] service dependency problem - config check hangs

2009-09-03 Thread Terry
Hello, When I try to check my config, it hangs on "Checking for circular host and service dependencies...". I have this service dependency: define servicedependency{ hostgroup_name windows service_description nrpe dependent_host

Re: [Nagios-users] service dependency

2009-06-10 Thread Assaf Flatto
Look for the check_cluster plugin I think it will give you the functionality you need. Assaf On Wednesday 10 June 2009 14:47:25 Sammy Ramareddy wrote: > hi all, > > I looked at nagios documentation and unfortunately did not found how I > could the following : > > Currently, I monitor some BGP s

[Nagios-users] service dependency

2009-06-10 Thread Sammy Ramareddy
hi all, I looked at nagios documentation and unfortunately did not found how I could the following : Currently, I monitor some BGP sessions on different routers. I would like to get an alert ONLY when a group of these BGP sessions are down, and not only one. Is that possible with nagios ? Could

Re: [Nagios-users] Service Dependency Config

2009-04-13 Thread Jim Avery
2009/4/13 Nair : > Thanks you, Lei. But, I have two web servers in cluster. Webserver may be > online in any one of the servers. So I have defined www services in web > servers - host1 and host2. And dont need an alert when www is online in any > one of the servers. > > Is there any config to suppo

Re: [Nagios-users] Service Dependency Config

2009-04-13 Thread Marc Powell
On Apr 13, 2009, at 8:37 AM, Nair wrote: > Thanks you, Lei. But, I have two web servers in cluster. Webserver > may be online in any one of the servers. So I have defined www > services in web servers - host1 and host2. And dont need an alert > when www is online in any one of the servers.

Re: [Nagios-users] Service Dependency Config

2009-04-13 Thread Nair
Thanks you, Lei. But, I have two web servers in cluster. Webserver may be online in any one of the servers. So I have defined www services in web servers - host1 and host2. And dont need an alert when www is online in any one of the servers. Is there any config to support this senario. Thank y

Re: [Nagios-users] Service Dependency Config

2009-04-13 Thread Jim Avery
2009/4/13 Nair : > Friends, > I need to define mutal dependancy between two web services in different > hosts. Define each as individual services in the usual way, then use Nagios Business Process Addons http://nagiosbp.projects.nagiosforge.org/ to define a service view which is dependent on both

Re: [Nagios-users] Service Dependency Config

2009-04-13 Thread Lei Chen
Not permmit a circular execution dependency here. That may be like this: define servicedependency{ host_namehost1 service_description www dependent_host_namehost3 dependent_service_description www execution_failure_criteriao notification_failure_criteria c,p } define s

[Nagios-users] Service Dependency Config

2009-04-13 Thread Nair
Friends, I need to define mutal dependancy between two web services in different hosts. PLease see the config below which end up throwing error: --- Error: A circular execution dependency (which could result in a deadlock) exists for service 'www' on host 'host2'!

Re: [Nagios-users] Service Dependency

2009-04-09 Thread Andreas Ericsson
Nair wrote: > Friends, > I need to define mutal dependancy between two web services in different hosts. > Why? If the two services *really* depend on each other, there's no way to start either, since it wouldn't function without the other one running. > PLease see the config below which end up t

[Nagios-users] Service Dependency

2009-04-08 Thread Nair
Friends, I need to define mutal dependancy between two web services in different hosts. PLease see the config below which end up throwing error: --- Error: A circular execution dependency (which could result in a deadlock) exists for service 'www' on host 'host2'!

Re: [Nagios-users] service dependency and escalations

2009-03-18 Thread Chris Beattie
Lori Adams wrote: > We are still running nagios 2.x. I appropriated a spare desktop PC and practiced the upgrade there first. There were a few changes in the nagios.cfg file that I needed to make, but it was relatively painless. > Is it possible to specify a servicedependency and/or a servic

[Nagios-users] service dependency and escalations

2009-03-17 Thread Lori Adams
We are still running nagios 2.x. Is it possible to specify a servicedependency and/or a service escalation within a service definition? For the serviceescalation part, they are much like servicegroups where it has to be defined somewhere, but after that you can specify the group in the service

[Nagios-users] Service dependency didn't work

2008-12-02 Thread Chris Adams
I have some network interfaces that I monitor both by SNMP and by ping. I then define a service dependency such that the ping service depends on the SNMP service (no sense pinging if SNMP reports the physical layer down). Last night, one of these interfaces went down, and I was alerted for both se

[Nagios-users] service dependency on host? Here's my working solution

2008-11-05 Thread Toussaint OTTAVI
Charlie Reddington wrote : I've seen the docs about having services dependent on services, and hosts dependent on hosts. But how about services, dependent on hosts. Do I just use hosts instead of services in the config? Hi Charlie, I had the same problem. I read a lot of topics, but I didn't f

[Nagios-users] Service dependency on host? Here's my working solution

2008-11-05 Thread Toussaint OTTAVI
(Sorry for 'test', seems that my previous message didn't go through.) Charlie Reddington wrote : I've seen the docs about having services dependent on services, and hosts dependent on hosts. But how about services, dependent on hosts. Do I just use hosts instead of services in the config? Hi C

[Nagios-users] service dependency in nagios 3.x

2008-09-24 Thread mizuki
Hi, Have anybody successfully used the new feature "Predictive Dependency Checks". >From my understanding, when nagios detects a Host/Service down/critical status, it does an actual check of parents Host/Service instead of using a "cached" status in previous version and decided whether or not a no

Re: [Nagios-users] service dependency on host?

2008-09-11 Thread Marc Powell
On Sep 11, 2008, at 2:11 PM, Charlie Reddington wrote: > Hi, > > I have nagios up and working but I want to tweak it some so I'm not > getting buried under sms messages. > > My real question comes down to dependencies. As much as I love getting > 400 messages if something 'upstream' goes down li

Re: [Nagios-users] service dependency on host?

2008-09-11 Thread Charlie Reddington
ios.sourceforge.net/docs/3_0/networkreachability.html > >> -Original Message- >> From: [EMAIL PROTECTED] [mailto:nagios- >> users- >> [EMAIL PROTECTED] On Behalf Of Charlie Reddington >> Sent: Thursday, September 11, 2008 3:11 PM >> To: nagios-users@lists.sourceforge.

[Nagios-users] service dependency on host?

2008-09-11 Thread Charlie Reddington
Hi, I have nagios up and working but I want to tweak it some so I'm not getting buried under sms messages. My setup works like so. I have a file called Loc-Servers.cfg In this file it has the host definitions that look like this, but just a ton of them # serv01 define host{ us

Re: [Nagios-users] Service Dependency

2008-06-01 Thread Germán Gutiérrez
Take a look at check_cluster, think you can specify different services in it. On Sat, May 31, 2008 at 4:34 PM, Carlos Velasco <[EMAIL PROTECTED]> wrote: > Hello, > > I have a need for configuring a special type of service dependency. > > Having 3 services: > A > B > C > > I want nagios to notify b

[Nagios-users] Service Dependency

2008-05-31 Thread Carlos Velasco
Hello, I have a need for configuring a special type of service dependency. Having 3 services: A B C I want nagios to notify by email the up/down states of any of these 3 services. I have done this several times and no problem. But, I need to add a notify by sms (email to sms service) when *all

Re: [Nagios-users] Service Dependency Not Working

2008-01-28 Thread Marty
I have done further testing of the issue I am experiencing with service dependencies. I originally thought that nagios had a problem with the number of dependencies we have (942). I began re-testing last Friday by adding the service dependencies on a few hosts at a time and testing by shutting

[Nagios-users] Service Dependency Not Working

2008-01-25 Thread Marty
I have been using nagios for several years with wonderful success. (Thank you to all who have contributed.) I have a problem with the service dependency not working as I expect. We are using Nagios v2.9 running on linux (CentOS). I am using NRPE to check several services such as load, users,

[Nagios-users] Service dependency not working

2008-01-23 Thread John T
Hi, I've configured a dependency for multiple services, due to high link utilization on a circuit. The link utilization service is called "Site B Primary Traffic" on host "SITEB". In this example, I would expect notifications for "Ping" on Host "DEPENDENTHOST1" to be suppressed if "Site B Primary

Re: [Nagios-users] service dependency question

2007-10-04 Thread Ivan Fetch
Hi Paul, On Thu, 4 Oct 2007, Paul Dugas wrote: > I have a hostgroup defined for my application database servers. I have > a service defined for the group that checks the database server process > itself. I have additional services defined for the group that check the > space used and other vali

[Nagios-users] service dependency question

2007-10-04 Thread Paul Dugas
I have a hostgroup defined for my application database servers. I have a service defined for the group that checks the database server process itself. I have additional services defined for the group that check the space used and other validity tests in our various databases. I'd like to setup s