[Nagios-devel] Segmentation fault with ndo2db

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
Guest

[Nagios-devel] Segmentation fault with ndo2db

Post by Guest »

This is a multi-part message in MIME format.
--------------070600060306080401040108
Content-Type: text/plain; charset=ISO-8859-7; format=flowed
Content-Transfer-Encoding: 7bit

I was trying to get NDOutils to work on an FC4 machine with
kernel version 2.6.14-1.1644_FC4 and Nagios 2.0 but I run into a
problem with ndo2db.
It seems that the ndomod add-on runs OK but ndo2db runs into a
seg fault. Here is the output from it after enabling some of the DEBUG
messages:
----------------

-sh-3.00$ /usr/sbin/ndo2db -c /etc/nagios/ndo2db.cfg

BYTESREAD: 511

RAWBUF:

HELLO

PROTOCOL: 2

AGENT: NDOMOD

AGENTVERSION: 1.2

STARTTIME: 1139821845

DISPOSITION: REALTIME

CONNECTION: UNIXSOCKET

CONNECTTYPE: INITIAL

INSTANCENAME: default

STARTDATADUMP

202:

1=300

2=0

3=0

4=1139821381.911401

73=1139821381

74=262144

72=Event broker module '/usr/sbin/ndomod.o' initialized successfully.

999

200:

1=104

2=0

3=0

4=1139821381.911415

105=Nagios

107=2.0

104=02-07-2006

102=25107

999

200:

1=100

2=0

3=0

4=1139821381.913492

105=Nagios

107=2.0

104=02-07-2006

102=25107

999

300:

4=113982138

USED1: 511, BYTES: 0, LINES: 0

BUF[0]='\n'

HANDLING: ''

USED2: 510, BYTES: 1, LINES: 1

BUF[0]='\n'

HANDLING: ''

USED2: 509, BYTES: 2, LINES: 2

BUF[5]='\n'

HANDLING: 'HELLO'

USED2: 503, BYTES: 8, LINES: 3

BUF[11]='\n'

HANDLING: 'PROTOCOL: 2'

USED2: 491, BYTES: 20, LINES: 4

BUF[13]='\n'

HANDLING: 'AGENT: NDOMOD'

USED2: 477, BYTES: 34, LINES: 5

BUF[17]='\n'

HANDLING: 'AGENTVERSION: 1.2'

USED2: 459, BYTES: 52, LINES: 6

BUF[21]='\n'

HANDLING: 'STARTTIME: 1139821845'

USED2: 437, BYTES: 74, LINES: 7

BUF[21]='\n'

HANDLING: 'DISPOSITION: REALTIME'

USED2: 415, BYTES: 96, LINES: 8

BUF[22]='\n'

HANDLING: 'CONNECTION: UNIXSOCKET'

USED2: 392, BYTES: 119, LINES: 9

BUF[20]='\n'

HANDLING: 'CONNECTTYPE: INITIAL'

USED2: 371, BYTES: 140, LINES: 10

BUF[21]='\n'

HANDLING: 'INSTANCENAME: default'

USED2: 349, BYTES: 162, LINES: 11

BUF[13]='\n'

HANDLING: 'STARTDATADUMP'

Segmentation fault

===============================
--

----------------------------------------------------------------------
Andreas Kasenides
Tel: +357 - 22892714
e-mail: Andreas.Kasenides%at%cs.ucy.ac.cy

(replace the %at% above with @)

--------------070600060306080401040108
Content-Type: text/html; charset=ISO-8859-7
Content-Transfer-Encoding: quoted-printable








I was trying to get NDOutils to work on an FC4 machine with
kernel version 2.6.14-1.1644_FC4 and Nagios 2.0 but=A0 I run into a
problem with ndo2db.
It seems that the ndomod add-on runs OK but ndo2db runs into a
seg fault. Here is the output from it after enabling some of the DEBUG
messages:
----------------
-sh-3.00$ /usr/sbin/ndo2db -c /etc/nagios/ndo2db.cfg
BYTESREAD: 511
RAWBUF:

HELLO
PROTOCOL: 2
AGENT: NDOMOD
AGENTVERSION: 1.2
STARTTIME: 1139821845
DISPOSITION: REALTIME
CONNECTION: UNIXSOCKET
CONNECTTYPE: INITIAL
INSTANCENAME: default
STARTDATADUMP


202:
1=3D300
2=3D0
3=3D0
4=3D1139821381.911401
73=3D1139821381
74=3D262144
72=3DEvent broker module '/usr/sbin/ndomod.o' initialized successful=
ly.
999


200:
1=3D104
2=3D0
3=3D0
4=3D1139821381.911415
105=3DNagios
107=3D2.0
104=3D02-07-2006
102=3D25107
999


200:
1=3D100
2=3D0
3=3D0
4=3D1139821381.913492
105=3DNagios
107=3D2.0
104=3D02-07-2006
102=3D25107
999

</pr

...[email truncated]...


This post was automatically imported from historical nagios-devel mailing list archives
Original poster: [email protected]
Locked