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 XXX-XXX-XXXX
user-ce4d79d99bab@xymon.invalid
Enterprise Technology Services
Department of Administration
State of Alaska