Default service dependencies (templating)

Kevin Myer kevin_myer at iu13.org
Sat Apr 2 17:55:17 CEST 2005


With hosts and service definitions, you can define default templates and then
reference them when creating the host or service, to fill in many default
values.

Can the same be done with service dependencies?  For example, I have a service
defined that monitors HTTPS connections.  I also have a service defined that
monitors when SSL certificates expire.  If HTTPS goes down on a server,
obviously the SSL certificate check will fail.

In looking through servicedependencies.cfg, it looks like I can define a
specific service that depends on another specific service.  So I can go through
and define for each host that I do HTTPS and SSL certificate checks for that
one depends on the other.  But is there a way to define that the root command
(check_https) depends on another root command (check_cert), regardless what
host its checked against?  I guess maybe what I'm looking for amounts to
checkcommand dependency, so that I don't have to define a service dependency
for each and every host thats checked...

Kevin

-- 
Kevin M. Myer
Senior Systems Administrator
Lancaster-Lebanon Intermediate Unit 13
(717) 560-6140



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
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