Configuring Serce Dependencies in Nagios 3.1.2
Neil Ramsay
neil.ramsay at market-source.com
Wed Oct 28 00:03:19 CET 2009
Hi Mirza,
>From "Building a Monitoring Infrastructure With Nagios" by David Josephen
pg. 71
"Before Nagios checks the state of a service, it first checks the state of
all the services that the service depends upon (its parents). If all of
those services are okay, Nagios proceeds to check the child service. If any
of the parent services are down, Nagios assumes the child service is down as
well and stops checks and notifications on the child."
Just set up the dependencies and check them. It's easy to do tests just put
in wrong IP addresses for the services you want to simulate are down. You'll
soon see if your dependency are working.
Cheers,
Neil
On Wed, Oct 28, 2009 at 4:01 AM, Mirza Dedic <mirde at oppy.com> wrote:
> Hello,
>
> I have a Nagios setup and I am monitoring LAN/WAN servers/services
> including network devices, smb shares, squid service status, server pings,
> and our frame relay.
>
> Now if my frame relay goes down between the two offices, obviously my
> Nagios will not be able to check the server and smb/squid services, now I
> get a warning message that it cannot reach the smb/squid/server/network, I
> want to just get a warning that it cannot reach the network and the rest
> suppressed.
>
> I understand this can be done using service dependency, but I have also
> read that the way Nagios checks stuff is a little wacky, as in:
>
> What if it checks the ping of a server before the network? It will report
> the ping is critical, then once the network is queued to be checked, it will
> report the network is down?
>
> Which would kind of defeat the logic of a dependency check, anyone have any
> feedback as if this is still the case?
>
> I remember reading it on the forum, which is why I did not go through with
> it when I initially configured it all.
>
> But I am also trying to avoid 20 emails for 1 host that is down.
>
> Any suggestions or ideas?
>
> Thanks!
>
>
> ------------------------------------------------------------------------------
> Come build with us! The BlackBerry(R) Developer Conference in SF, CA
> is the only developer event you need to attend this year. Jumpstart your
> developing skills, take BlackBerry mobile applications to market and stay
> ahead of the curve. Join us from November 9 - 12, 2009. Register now!
> http://p.sf.net/sfu/devconference
> _______________________________________________
> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20091028/ce175b8a/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
-------------- next part --------------
_______________________________________________
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