send_nsca fail : Segmentation fault

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
rmahy
Posts: 3
Joined: Wed May 14, 2014 4:15 am

send_nsca fail : Segmentation fault

Post 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
sreinhardt
-fno-stack-protector
Posts: 4366
Joined: Mon Nov 19, 2012 12:10 pm

Re: send_nsca fail : Segmentation fault

Post 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?
Nagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.
rmahy
Posts: 3
Joined: Wed May 14, 2014 4:15 am

Re: send_nsca fail : Segmentation fault

Post 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
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: send_nsca fail : Segmentation fault

Post 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?
Former Nagios employee
rmahy
Posts: 3
Joined: Wed May 14, 2014 4:15 am

Re: send_nsca fail : Segmentation fault

Post by rmahy »

It was compiled on server itself correctly!
Where can i find core dump ?
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: send_nsca fail : Segmentation fault

Post by abrist »

Do you have the log from the compile? If so, could you post it?
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
Locked