Search found 17 matches

by zulu42
Mon Feb 15, 2016 2:44 am
Forum: Open Source Nagios Projects
Topic: Log-rotation and availability-report
Replies: 11
Views: 4733

Re: Log-rotation and availability-report

Unfortunately no, this doesn't answer my question. I don't think, that it makes a big difference, if I'm using 3.5.1 (from EPEL-repo). Just to precise my question: I know, that the availability-reporting-tool is looking into all files. My question was more likely, if nagios can include the alerts/ou...
by zulu42
Fri Feb 12, 2016 4:46 am
Forum: Open Source Nagios Projects
Topic: Log-rotation and availability-report
Replies: 11
Views: 4733

Re: Log-rotation and availability-report

Sorry for asking again but let me give you an example: I do hourly rotation of the logs (all the time to the full hour). One of my server breaks down on the 16.02.2016 at 15:12 and I can fix it by 15:49 and all checks are "OK" again. So I have the state of 15:00 and 16:00 and in no rotated...
by zulu42
Thu Feb 11, 2016 2:18 am
Forum: Open Source Nagios Projects
Topic: Log-rotation and availability-report
Replies: 11
Views: 4733

Re: Log-rotation and availability-report

Sorry, but I'm a bit confused about this sentence: When you run the report with "Assume Initial States" as yes, if Nagios does not know the initial state of host when the period begins, it will use the object initial state. Do you mean, if I e.g. let the log rotate every hour, it's just us...
by zulu42
Wed Feb 10, 2016 2:10 am
Forum: Open Source Nagios Projects
Topic: Log-rotation and availability-report
Replies: 11
Views: 4733

Re: Log-rotation and availability-report

My second question/problem still needs to be answered: 2: I use the availability-reporting in the following way: There are two services (in one servicegroup) on 5 nodes and out of this I let nagios calculate the report weekly by the servicegroup. Where does nagios get it's information for this repor...
by zulu42
Tue Feb 09, 2016 9:51 am
Forum: Open Source Nagios Projects
Topic: Log-rotation and availability-report
Replies: 11
Views: 4733

Re: Log-rotation and availability-report

Short update:
I could resolve problem one by changing the ownership of the folder, the logrotation should write to.
by zulu42
Tue Feb 09, 2016 8:26 am
Forum: Open Source Nagios Projects
Topic: Log-rotation and availability-report
Replies: 11
Views: 4733

Log-rotation and availability-report

Hi all, I have two questions: 1: I set the log-rotation-method to daily in nagios 3.5.1 and also manually set a different directory (than the default one) to store them. For some reason nagios isn't rotating the log daily (also not hourly, if I set it to "h"). And also it's not using the d...
by zulu42
Fri Jan 29, 2016 2:01 am
Forum: Open Source Nagios Projects
Topic: Nagios showing error 500 sometimes
Replies: 19
Views: 6335

Re: Nagios showing error 500 sometimes

I don't have any issues since I moved the status.dat-file to the root-disk again.
by zulu42
Thu Jan 28, 2016 2:22 am
Forum: Open Source Nagios Projects
Topic: Nagios showing error 500 sometimes
Replies: 19
Views: 6335

Re: Nagios showing error 500 sometimes

Thanks again for the hint. The glusterfs really caused the problem. I moved the status.dat-file to its original folder on the root-disk and this already solved the problem. I also read a post, that you really should not integrate a glusterfs into updatedb. Maybe this is also related to it. Anyway I ...
by zulu42
Mon Jan 25, 2016 2:06 am
Forum: Open Source Nagios Projects
Topic: Nagios showing error 500 sometimes
Replies: 19
Views: 6335

Re: Nagios showing error 500 sometimes

Yes, the nagios.log and the status.dat get currently written to a glusterfs-storage in a master/master (active/active) configuration. Also the check-configuration, host-configuration is stored on this glusterfs. I have attached a second disk to the server, where the glusterfs is running. Thanks for ...
by zulu42
Fri Jan 22, 2016 6:08 am
Forum: Open Source Nagios Projects
Topic: Nagios showing error 500 sometimes
Replies: 19
Views: 6335

Re: Nagios showing error 500 sometimes

Yes, occured right again. Here the output of ps -ef: UID PID PPID C STIME TTY TIME CMD root 1 0 0 Jan19 ? 00:00:05 /usr/lib/systemd/systemd --switched-root --system --deserialize 24 root 2 0 0 Jan19 ? 00:00:00 [kthreadd] root 3 2 0 Jan19 ? 00:00:03 [ksoftirqd/0] root 5 2 0 Jan19 ? 00:00:00 [kworker/...