Dependency and performance question

Assaf Flatto assaf.flatto at ssp-intl.com
Thu Apr 2 12:36:24 CEST 2009


On Wednesday 01 April 2009 16:07:49 shadih rahman wrote:
> Hi,
>    I am running nagios on a 2.5 GHZ 4-core 64 bit machine running RHEL5.  I
> am seeing some performance issue in Nagios.  I am doing failover setup.  I
> have another similar machine which has identical config but not doing any
> active checks.  My master machine sends check result using NSCA.  Now I can
> not determine why my master machine is lacking in performace.  I will paste
> my performance data below.  I also have another question about dependency.
>
> 1) if a HOST is down, does the service checks still happens?  I would like
> to setup a dependency where if host is down no service check should take
> place.  How do I go about setting this up.  An exapmple will be much
> appreciated.

when a host is down - ping will not respond , so this is a basic assumption you can work from :

define servicedependency{
        host_name                  host
        service_description             PING
        dependent_host_name        host
        dependent_service_description   load,disk,....
        execution_failure_criteria      c,u,w
        notification_failure_criteria   c,u,w
}
Also i advise you to read this :

http://nagios.telecity1.uk.ssp/docs/dependencies.html


Be advised though a large number of dependencies will increase the load on the machine and will 
cause some preformance change.

-- 
Assaf Flatto
SSP Ops Team
Linux System Administrator
169 Euston Road, London, NW1 2AE





IMPORTANT . this email and the information in it may be confidential, legally
privileged and/or protected by law. It is intended solely for the use of the
person to whom it is addressed. If you are not the intended recipient, please
notify the sender immediately and do not disclose the contents to any other
person, use it for any purpose, or store or copy the information in any medium.
Please also delete all copies of this email and any attachments from your
system.

We cannot guarantee the security or confidentiality of email communications. We
do not accept any liability for losses or damages that you may suffer as a
result of your receipt of this email including but not limited to computer
service or system failure, access delays or interruption, data non-delivery or
mis-delivery, computer viruses or other harmful components.

Copyright in this email and any attachments belong to Select Service Partner UK
Limited. Should you communicate with anyone at Select Service Partner UK Limited by
email, you consent to us monitoring and reading any such correspondence.

Nothing in this email shall be taken or read as suggesting, proposing or
relating to any agreement concerted practice or other practice that could
infringe UK or EC competition legislation.

Select Service Partner UK Limited is a company registered in England and Wales
(company number 05687183) whose registered office is at 1 The Heights, Brooklands, Weybridge. Surrey. KT13 0NY
 
 

------------------------------------------------------------------------------
_______________________________________________
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