[Xymon] Segmentation Fault (core dumped) with xymond_alert

John Thurston john.thurston at alaska.gov
Thu May 7 20:45:31 CEST 2015


On 5/7/2015 10:10 AM, J.C. Cleaver wrote:
> On Thu, May 7, 2015 9:56 am, John Thurston wrote:
- snip -
>>> xymoncmd xymond_alert --config=foo.cfg --test foo.bar.com msgs
>>> --color=red
>>
>> It works as expected if foo.bar.com is defined, but if that host _isn't_
>> defined in the hosts.cfg, xymond_alert core dumps.
- snip -
> This looks like another saved-by-glibc-NULL handling thing, unfortunately,
> which is why it doesn't show up on the Linux side.
>
> Can you try the attached patch?

It behaves much better now. Thank you!
Can I assume this will make it into the next release?

-- 
    Do things because you should, not just because you can.

John Thurston    907-465-8591
John.Thurston at alaska.gov
Enterprise Technology Services
Department of Administration
State of Alaska



More information about the Xymon mailing list