[PATCH] Fix to allow incomplete service dependency templates

Gaspar, Carson Carson.Gaspar at gs.com
Tue Dec 12 02:28:07 CET 2006


>-----Original Message-----
>From: nagios-devel-bounces at lists.sourceforge.net 
>[mailto:nagios-devel-bounces at lists.sourceforge.net] On Behalf 
>Of Ethan Galstad
>Sent: Monday, December 11, 2006 4:46 PM
>To: Nagios-Devel
>Subject: Re: [Nagios-devel] [PATCH] Fix to allow incomplete 
>service dependency templates
>
>Gaspar, Carson wrote:
>>> -----Original Message-----
>>> From: nagios-devel-bounces at lists.sourceforge.net
>>> [mailto:nagios-devel-bounces at lists.sourceforge.net] On Behalf Of 
>>> Ethan Galstad
>>> Sent: Monday, December 11, 2006 3:05 PM
>>> To: Nagios-Devel
>>> Subject: Re: [Nagios-devel] [PATCH] Fix to allow incomplete service 
>>> dependency templates
>>>
>>> Jason Hoos wrote:
>>>> Since it's not a registered object, the servicedependency template 
>>>> should be valid, but Nagios reports "Could not expand dependent 
>>>> hostgroups and/or hosts specified in service dependency" instead.
>
>You are partially correct.  Templates are usually incomplete, 
>but they should not contain incorrect data.  In your example 
>the template references a hostgroup, which in turn has a bad 
>membership list (one host does not exist).

Actually it was Jason's example... I misunderstood the issue, and
withdraw my objection as bogus. I agree that _bad_ data should flag an
error (but missing data should not).

-- 
Carson

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV




More information about the Developers mailing list