Defining service dependency
Asrai khn
asraikhn at gmail.com
Tue Jan 26 09:36:21 CET 2010
On Tue, Jan 26, 2010 at 10:33 AM, Asrai khn <asraikhn at gmail.com> 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20100126/0bc7cb4d/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
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
-------------- 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