Page 1 of 1

send_nsca fail : Segmentation fault

Posted: Wed May 14, 2014 4:21 am
by rmahy
Hi all,

I have a problem with send_nsca on my Sinology Disk-station.

I have successfully compile and configure nsca but when i want to send message with the send_nsca, i have this error :

XXX> echo "test" | /opt/nagios/nsca-2.9.1/src/send_nsca -H xx.xx.xx.xx -d ';' -c /etc/send_nsca.cfg
Segmentation fault (core dumped)

Have you ever encountered this kind of problem?

Best Regards
Robin Mahy

Re: send_nsca fail : Segmentation fault

Posted: Wed May 14, 2014 4:27 pm
by sreinhardt
I cannot say I have noticed this in particular. What OS does the synology run? Was this built on the system or cross-compiled? Have you been able to make any sending work or do they all seem to segfault?

Re: send_nsca fail : Segmentation fault

Posted: Fri May 16, 2014 1:47 am
by rmahy
Synology OS is BusyBox v1.16.1 (2014-04-18 02:25:49 CST) built-in shell (ash)

On the Synology, send_nsca never run correctly and the only error message is the seg fault

Robin

Re: send_nsca fail : Segmentation fault

Posted: Fri May 16, 2014 2:08 pm
by tmcdonald
We're a little unclear on this. Was this compiled on the server itself or was it a binary you copied over?

And do you have any sort of core dump we can look at?

Re: send_nsca fail : Segmentation fault

Posted: Mon May 19, 2014 2:05 am
by rmahy
It was compiled on server itself correctly!
Where can i find core dump ?

Re: send_nsca fail : Segmentation fault

Posted: Mon May 19, 2014 12:56 pm
by abrist
Do you have the log from the compile? If so, could you post it?