[naemon-users] Segfault with faulty contact configuration

VERVAET Frederik (ITS/IIS) frederik.vervaet at proximus.com
Fri Jul 3 08:55:06 CEST 2015


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.
Frederik Vervaet
UNIX Monitoring (HES) | ITS/IIS

[Proximus]<http://www.proximus.be/>

Connect with us on:

[Proximus Facebook]<https://www.facebook.com/proximusBe>   [Proximus Twitter] <https://twitter.com/proximus>    [Proximus YouTube] <https://www.youtube.com/proximus>    [Proximus LinkedIn] <https://www.linkedin.com/company/proximus>


________________________________

***** Disclaimer *****
http://www.proximus.be/maildisclaimer
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/naemon-users/attachments/20150703/f1ee1a80/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 7060 bytes
Desc: image001.png
URL: <https://www.monitoring-lists.org/archive/naemon-users/attachments/20150703/f1ee1a80/attachment-0005.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image002.png
Type: image/png
Size: 1296 bytes
Desc: image002.png
URL: <https://www.monitoring-lists.org/archive/naemon-users/attachments/20150703/f1ee1a80/attachment-0006.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image003.png
Type: image/png
Size: 1895 bytes
Desc: image003.png
URL: <https://www.monitoring-lists.org/archive/naemon-users/attachments/20150703/f1ee1a80/attachment-0007.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image004.png
Type: image/png
Size: 1211 bytes
Desc: image004.png
URL: <https://www.monitoring-lists.org/archive/naemon-users/attachments/20150703/f1ee1a80/attachment-0008.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image005.png
Type: image/png
Size: 1601 bytes
Desc: image005.png
URL: <https://www.monitoring-lists.org/archive/naemon-users/attachments/20150703/f1ee1a80/attachment-0009.png>


More information about the Naemon-users mailing list