Service Dependencies

Christopher N. Carroll noel at ece.utk.edu
Fri May 27 14:26:36 CEST 2005


Subhendu Ghosh wrote:

> On Thu, 26 May 2005, Christopher N. Carroll wrote:
>
>> -----BEGIN PGP SIGNED MESSAGE-----
>> Hash: SHA1
>>
>> Hey guys,
>>
>> I'm trying to implement some dependencies to wrap up my Nagios
>> configs. I do a majority of my checks using check_by_ssh. I monitor
>> disk, processes, load etc via check_by_ssh. Currently, if a machine
>> goes down (we have lots of DHCP problems, long story) I'm getting
>> email from Nagios with critical messages about every service on that
>> particular host. The reason this happens is because our DNS entries
>> get messed up and my nagios user ends up ssh'ing to the wrong ip.
>>
>> I read the documentation on service dependencies and I'm just not
>> getting it. I was curious if anyone can lend me a helping hand.
>>
>
> Is DNS stable or do you have DNS being updated by DHCP?
> That could be a pain if dhcp is unstable.
>
> Are the servers you are checking based on dhcp clients?
>
>

We're having a big DNS problem in which IPs just magically disappear 
from our machines. I spend most of my time rebooting windows boxes (DHCP 
enabled) that lose their configurations. When I say lose their 
configurations I mean they have an IP, but our nameservers sure don't 
have a corresponding IP for them.

I am only checking to see if ping and ssh are working (yeah, I have a 
minimal check on my windows machines for now). I end up getting a 
CRITICAL on ping *and* ssh. It's anonying and I need to fix it. Also in 
the future my linux hosts that depend on say NFS homeareas need not 
annoy/spam me with email if our NFS server is done. That make sense?

I'm not sure if I should be using parent and child or service dependencies.

-Noel



-------------------------------------------------------
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005
_______________________________________________
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