[naemon-dev] expected behavior of a comma in servicedependency -> dependent_service_description

Jacob Hansen jhansen at op5.com
Mon Aug 20 15:06:18 CEST 2018


On 2018-07-21 01:03, Chris Stromsoe wrote:
> My service_description elements have commas.  I'm seeing parsing 
> errors if the matching dependent_service_description elements have 
> commas.
>
> This:
>
> define service {
>     service_descrption a,b,c,
> }
> define servicedependency {
>     dependent_service_description a,b,c
> }
>
>
> is being parsed as
>
> define service {
>     service_descrption a,b,c,
> }
> define servicedependency {
>     dependent_service_description a
> }
>
>
> and is failing because there is no match.
>
> Is it a bug in parsing for dependent_service_description, or is it 
> intentional that commas aren't allowed for that element?
>
>
> -Chris

Given that service_description supports commas, I would think it is a 
bug that dependent_service_description doesn't support it as well.

We track issues at Github, feel free to submit a bug report there: 
https://github.com/naemon/naemon-core/issues

Best Regards

Jacob Hansen



More information about the Naemon-dev mailing list