service dependency

Jason Martin jhmartin at toger.us
Wed Jan 28 19:05:51 CET 2004


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

This is fairly well spelled out at 
http://nagios.sourceforge.net/docs/1_0/dependencies.html, but assuming 
that apache is dependant on mysql, you'd get:

> apache-svc=UP,   mysql-svc=DOWN - What notification should I get? Mysql 
is down
> apache-svc=DOWN, mysql-svc=DOWN - What notification should I get? Mysql 
is down
> apache-svc=DOWN, mysql-svc=UP -   What notification should I get? Apache 
is down

- -Jason Martin

On Wed, 28 Jan 2004, Neil wrote:

> Ok. So, are you saying here that when apache-svc goes down too, you will not 
> receive any notifications anymore related to apache-svc? 
> 
> I think this matrix will help me better: 
> 
> apache-svc=UP,   mysql-svc=DOWN - What notification should I get?
> apache-svc=DOWN, mysql-svc=DOWN - What notification should I get?
> apache-svc=DOWN, mysql-svc=UP -   What notification should I get? 
> 
> Please bear with me for now. :) 
> 
> Thanks again. 
> 
> Jason Martin writes: 
> 
> > -----BEGIN PGP SIGNED MESSAGE-----
> > Hash: SHA1 
> > 
> > The idea is that somewhere you are monitoring both mysql-svc and 
> > apache-svc. If mysql-svc goes down you would get a notification from 
> > Nagios about it. However, if apache-svc depends on mysql-svc, you already 
> > know that apache-svc will have problems and thus don't want a notificaiton 
> > on it if mysql-svc is broken. 
> > 
> > - -Jason Martin 
> > 
> > On Wed, 28 Jan 2004, Neil wrote: 
> > 
> >> Hi Jason,  
> >> 
> >> So the purpose of servicedependency is to hold back notifications. Now, my 
> >> question is, why would we not want to receive emails from nagios when the 
> >> depended upon service fails? Like in my previous scenario, I still want to 
> >> know if mysql-svc failed.  
> >> 
> >> I hope, the functionality I mentioned can be implemented in the future. If 
> >> was just a good programmer, I would love to contribute. :(  
> >> 
> >> Thanks again.  
> >> 
> >> 
> >> Jason Martin writes:  
> >> 
> >> > -----BEGIN PGP SIGNED MESSAGE-----
> >> > Hash: SHA1 
> >> > 
> >> >> 1. What I want to happen is that when mysql-svc on svr-B fails, I would like 
> >> >> to get notified that apache-svc on svr-A will not work properly too.
> >> > That functionalty doesn't exist right now.  Service depenendcies are used 
> >> > for event *suppression*, not generation. 
> >> > 
> >> >> 2. I was also thinking that in the Service Detail(left pane of the nagios 
> >> >> monitor webpage), the dependent host will have a different color on the 
> >> >> dependent service if the depended upon service is down. 
> >> > That functionality is also not implemented at this time. 
> >> > 
> >> > - -Jason Martin 
> >> > 
> >> > 
> >> > -----BEGIN PGP SIGNATURE-----
> >> > Version: GnuPG v1.3.3 (GNU/Linux)
> >> > Comment: pgpenvelope 2.10.2 - http://pgpenvelope.sourceforge.net/ 
> >> > 
> >> > iD8DBQFAF+COl2ODWuqVSBMRAtcAAKCZbSdoh5V37YuoEBMYiF20zUFO0wCgiOrQ
> >> > WsUO7oR9mKP7bWst8kGI6HE=
> >> > =glib
> >> > -----END PGP SIGNATURE-----
> >>   
> >> 
> > -----BEGIN PGP SIGNATURE-----
> > Version: GnuPG v1.3.3 (GNU/Linux)
> > Comment: pgpenvelope 2.10.2 - http://pgpenvelope.sourceforge.net/ 
> > 
> > iD8DBQFAF+3cl2ODWuqVSBMRAh8fAJ4pqRAiYXjpNLjrTuqPx9/dq9z3XwCeIsjr
> > NILgGYXR5jGig8amZp5qNeo=
> > =asPL
> > -----END PGP SIGNATURE----- 
> > 
> > 
> > -------------------------------------------------------
> > The SF.Net email is sponsored by EclipseCon 2004
> > Premiere Conference on Open Tools Development and Integration
> > See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
> > http://www.eclipsecon.org/osdn
> > _______________________________________________
> > Nagios-users mailing list
> > Nagios-users at 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
>  
> 
> 
> -------------------------------------------------------
> The SF.Net email is sponsored by EclipseCon 2004
> Premiere Conference on Open Tools Development and Integration
> See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
> http://www.eclipsecon.org/osdn
> _______________________________________________
> Nagios-users mailing list
> Nagios-users at 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
> 
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.3.3 (GNU/Linux)
Comment: pgpenvelope 2.10.2 - http://pgpenvelope.sourceforge.net/

iD8DBQFAF/oDl2ODWuqVSBMRAqpEAKCcW4ny3IIyt4X33B0xCHMsTNjNewCfcenk
DAvak6/3XxTuCSN0wJukbhc=
=8Km6
-----END PGP SIGNATURE-----


-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
Nagios-users mailing list
Nagios-users at 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





More information about the Users mailing list