[naemon-users] Segfault with faulty contact configuration

Andreas Ericsson ageric79 at gmail.com
Mon Jul 6 13:59:16 CEST 2015


On 2015-07-03 08:55, VERVAET Frederik (ITS/IIS) wrote:
> Hi,
>
> I made a typo earlier in a contact configuration and upon restart naemon would segfault.
>
> -bash: line 1: 18123 Segmentation fault      /opt/monitor/bin/naemon -vp /opt/monitor/etc/naemon/naemon.el1902.bc.cfg
>
> Correct line :
>
> service_notification_commands         SCE_service_notification
>
> Does not segfault :
>
> service_notification_commandsA         SCE_service_notification
>
> è Complains about invalid contact directive
>
> Does segfault :
>
> service_notification_commands         SCE_service_notificationA
>
> è Should complain about invalid command but segfaults instead.
>
> Haven't looked into the code since my C skills are from a distant past and as such non existing anymore.

Thanks. I'll look into it.

/Andreas


More information about the Naemon-users mailing list