On Tue, Jan 26, 2010 at 10:33 AM, Asrai khn <[email protected]> wrote:

>
>
> Later I'll switch my dependency configuration to something simple by using
> "Time-saving Tricks" --->
> http://nagios.sourceforge.net/docs/3_0/objecttricks.html#same_host_dependency
>
> Tell me one thing, is it ok to get ...
>
> Checking service dependencies...
>     Checked 10 service dependencies.
>
> For the 5 dependent_service_description above?
>
>
>
> I have just configured service dependency using "*All Services In Multiple
Servicegroups" *nagios docs.

1. First of all i have created (4) servicegroups for services which using
nrpe for checking remote hosts including a servicegroup for service 'nrpe'
on 8 different hosts

The other 3 servicegroups contains total 95 services

2. Then defined service dependency using following config

define servicedependency{
    dependent_servicegroup_name    Sol-CPU-Load,Sol-Partitions,Sol-Processes
    servicegroup_name        Sol-nrpe
    execution_failure_criteria    w,u,c
    notification_failure_criteria    w,u,c
    }

Everything is working just fine I have tested it by stopping nrpe on one of
the server and nagios only send notification for master process 'nrpe' by
suppressing all all other checks and notification for the host.

However I am confusing with the nagios -v check its giving me too much
counts for service dependency and i wonders if this have any effect on
monitoring host  (nagios) performance, working etc.

*sudo nagios -v /etc/nagios/nagios.cfg

Checking service dependencies...
    Checked 1530 service dependencies.*

1530 service dependencies..... and this also include the previous 10 for
another server, but I wonders what this counts mean?

I'll greatly appreciate if someone shed some light on it.

Thanks.
------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
_______________________________________________
Nagios-users mailing list
[email protected]
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

Reply via email to