Skip to content

Unable to exclude the first service within a service escalation #385

Description

@nook24

Hi folks,

I noticed an issue with the parsing of service escalations. If I exclude the first service (first define service in the config files) from a service escalation, the Naemon config validation will fail with

Error: Service escalation host name or description is NULL
Error: Could not register service escalation (config file '/opt/naemon/etc/config/test.cfg', starting on line 184)
   Error processing object config files!

It is possible to "resolve" the issue, by simply moving the define service block in the config files.
I have created a config file, which shows my issue: https://gist.github.com/nook24/7f6be82ac51c62750a928bfb33a89fdf

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions