Hello,
I'm new guy on this forum and I hope that my topics is in good place.
DIstribution : Debian i686 version 7.
Nagios Core : 3.5.0 Installed by compilation of source .
There was no problem during 2 month and one day ...
I am having an issue with nagios and the archive/log rotation. I have
configured "log_rotation_method=d" and when it runs I see a SIGSEGV in the
nagios.log and nagios shutsdown. I can move it to =h and it will do it every
hour (crash). The logfile has nothing else to indicate why it is crashing.
Anyone have suggestions on how to trace down the real problem here? File
permissions on the archive dir are nagios:nagios as is the nagios.log file.
There is no new archive log since this crashdate.
I've set "log_rotation_method=n" because this server is on 24/7 production but i think it isn't the right way.
Archives gives SIGSEGV Signal to Nagios
-
slansing
- Posts: 7698
- Joined: Mon Apr 23, 2012 4:28 pm
- Location: Travelling through time and space...
Re: Archives gives SIGSEGV Signal to Nagios
How many archived log files do you have? And how much space do you have on your drives? It looks like this bug was reported here:
http://tracker.nagios.org/view.php?id=455
You may want to join in on that ticket and post that you are seeing the same issue.
http://tracker.nagios.org/view.php?id=455
You may want to join in on that ticket and post that you are seeing the same issue.
-
pdekeister
- Posts: 2
- Joined: Thu Sep 19, 2013 7:21 am
Re: Archives gives SIGSEGV Signal to Nagios
Hello, Thank you for Reply.
We've 53 Archive Logs and 75% free space.
There's no avaibility or access problem.
I'm joining this topics.
We've 53 Archive Logs and 75% free space.
There's no avaibility or access problem.
I'm joining this topics.
-
sreinhardt
- -fno-stack-protector
- Posts: 4366
- Joined: Mon Nov 19, 2012 12:10 pm
Re: Archives gives SIGSEGV Signal to Nagios
can you run the following on your a few of your log files please.
Code: Select all
cat /path/to/log/file | wc -lNagios-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.