Re: [Nagios-devel]

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

Re: [Nagios-devel]

Post by Guest »

On Thursday February 14 2008 03:34:17 pm Hendrik B=E4cker wrote:
> Christian Schneemann schrieb:
> > On Thursday February 14 2008 03:05:54 pm Hendrik B=E4cker wrote:
> >> Well - what happend to your path "/var/spool/nagios" ?
> >
> > Nothing... I'm seeing files appearing, and then it segfaults after a few
> > files..
>
> Ok... digging the nose.
>
> Please show us:
>
> * su - nagios (or whatever your nagios user is named)
> * ls -la of your /var/spool/nagios/
=2Drw------- 1 nagios nagcmd 0 2008-02-14 14:18 cPcXY4P.ok
=2Drw------- 1 nagios nagcmd 381 2008-02-14 14:44 cPWIs5P
=2Drw------- 1 nagios nagcmd 0 2008-02-14 14:44 cPWIs5P.ok
=2Drw------- 1 nagios nagcmd 377 2008-02-14 14:18 cpZNP6d
=2Drw------- 1 nagios nagcmd 0 2008-02-14 14:18 cpZNP6d.ok
=2Drw------- 1 nagios nagcmd 385 2008-02-14 14:32 cQtZrf2
=2Drw------- 1 nagios nagcmd 0 2008-02-14 14:32 cQtZrf2.ok
=2Drw------- 1 nagios nagcmd 386 2008-02-14 14:59 cqUEIf3
=2Drw------- 1 nagios nagcmd 0 2008-02-14 14:59 cqUEIf3.ok
=2Drw------- 1 nagios nagcmd 384 2008-02-14 14:44 cqXk6nF
=2Drw------- 1 nagios nagcmd 0 2008-02-14 14:44 cqXk6nF.ok
=2Drw------- 1 nagios nagcmd 375 2008-02-14 15:47 cR5nP9O
=2Drw------- 1 nagios nagcmd 0 2008-02-14 15:47 cR5nP9O.ok
=2Drw------- 1 nagios nagcmd 435 2008-02-14 14:18 cR8cJPW
=2Drw------- 1 nagios nagcmd 0 2008-02-14 14:18 cR8cJPW.ok
=2Drw------- 1 nagios nagcmd 371 2008-02-14 14:32 cRTNsvX
=2Drw------- 1 nagios nagcmd 0 2008-02-14 14:32 cRTNsvX.ok
=2Drw------- 1 nagios nagcmd 384 2008-02-14 14:44 cRUQDTF
=2Drw------- 1 nagios nagcmd 0 2008-02-14 14:44 cRUQDTF.ok
=2Drw------- 1 nagios nagcmd 381 2008-02-14 14:25 cs4fsj4
=2Drw------- 1 nagios nagcmd 0 2008-02-14 14:25 cs4fsj4.ok
=2Drw------- 1 nagios nagcmd 375 2008-02-14 14:59 cSgDgih
=2Drw------- 1 nagios nagcmd 0 2008-02-14 14:59 cSgDgih.ok
=2Drw------- 1 nagios nagcmd 374 2008-02-14 14:25 cSknMtX
=2Drw------- 1 nagios nagcmd 0 2008-02-14 14:25 cSknMtX.ok
=2Drw------- 1 nagios nagcmd 380 2008-02-14 15:47 cSx9B27
=2Drw------- 1 nagios nagcmd 0 2008-02-14 15:47 cSx9B27.ok
=2Drw------- 1 nagios nagcmd 380 2008-02-14 14:33 cu57GWp
=2Drw------- 1 nagios nagcmd 0 2008-02-14 14:33 cu57GWp.ok
=2Drw------- 1 nagios nagcmd 384 2008-02-14 14:32 cvrxYq0
=2Drw------- 1 nagios nagcmd 0 2008-02-14 14:32 cvrxYq0.ok
=2Drw------- 1 nagios nagcmd 380 2008-02-14 15:47 cYgz9OI
=2Drw------- 1 nagios nagcmd 0 2008-02-14 15:47 cYgz9OI.ok
=2Drw------- 1 nagios nagcmd 408 2008-02-14 14:18 cYSfmlB
=2Drw------- 1 nagios nagcmd 0 2008-02-14 14:18 cYSfmlB.ok
=2Drw------- 1 nagios nagcmd 381 2008-02-14 14:59 cZj8qkY
=2Drw------- 1 nagios nagcmd 0 2008-02-14 14:59 cZj8qkY.ok
prw-rw---- 1 nagios nagcmd 0 2008-02-14 10:56 nagios.cmd
> * cat /var/spool/nagios/c***** (catch a file without the *.ok)
### Active Check Result File ###
file_time=3D1202995503

### Nagios Host Check Result ###
# Time: Thu Feb 14 14:25:03 2008
host_name=3D10.0.9.2
check_type=3D0
check_options=3D0
scheduled_check=3D1
reschedule_check=3D1
latency=3D0.956000
start_time=3D1202995503.957236
finish_time=3D1202995504.24686
early_timeout=3D0
exited_ok=3D1
return_code=3D0
output=3DPING OK - Packet loss =3D 0%, RTA =3D 1.46 ms\n

>
> -
> Hendrik

And here some more background info:
nagios is compiled with --enable-embedded-perl and embedded perl is=20
deactivated in thte nagios.cfg.=20

If I enable it in the nagios.cfg nagios runs fine without segfaulting. Do y=
ou=20
have any ideas?

=2D-=20
Christian Schneemann

=2D------------------------------------
SUSE LINUX Products GmbH,
Maxfeldstr. 5, D - 90409 N=FCrnberg

Phone:=A0=A0+49 (0)911 - 740 53 0
e-mail:=[email protected]
=2D------------------------------------
SUSE LINUX Products GmbH, GF: Markus Rex
HRB 16746 (AG N=FCrnberg)





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