Availabibty Report
Posted: Mon Aug 31, 2015 3:11 am
When I try to build a report more then for 7 days I see empty result (see attach) after ~1.5 minutes response. Avail.report for 7 days works fine.
Nagios 4.0.8. My installation is Centos 5.11 (kernal 2.6.18-371.1.2.el5), 4 Gb RAM (3 visible by OS), 4CPU:
I have a lot of .log files in archive folder. Each of them is about 10Mb:
In php.ini I tried to confure, but without success:
In nagios.conf I use the following settings:
Can somebody give me advice how to get reports to work? What is the best free solution?
Nagios 4.0.8. My installation is Centos 5.11 (kernal 2.6.18-371.1.2.el5), 4 Gb RAM (3 visible by OS), 4CPU:
Code: Select all
[root@gml-nms-01 ~]# [b]grep -c ^processor /proc/cpuinfo[/b]
4
Code: Select all
[root@gml-nms-01 ~]# [b]free -m[/b]
total used free shared buffers cached
Mem: 3034 600 2433 0 43 403
-/+ buffers/cache: 153 2881
Swap: 4031 0 4031
Code: Select all
[root@gml-nms-01 ~]# [b]du -sh /mnt/sdb1/nagioslogs/* | more[/b]
9.3M /mnt/sdb1/nagioslogs/nagios-01-01-2015-00.log
9.3M /mnt/sdb1/nagioslogs/nagios-01-01-2015-01.log
9.6M /mnt/sdb1/nagioslogs/nagios-01-01-2015-02.log
9.4M /mnt/sdb1/nagioslogs/nagios-01-01-2015-03.log
9.3M /mnt/sdb1/nagioslogs/nagios-01-01-2015-04.log
9.5M /mnt/sdb1/nagioslogs/nagios-01-01-2015-05.log
9.3M /mnt/sdb1/nagioslogs/nagios-01-01-2015-06.log
9.3M /mnt/sdb1/nagioslogs/nagios-01-01-2015-07.log
9.3M /mnt/sdb1/nagioslogs/nagios-01-01-2015-08.log
11M /mnt/sdb1/nagioslogs/nagios-01-01-2015-09.log
10M /mnt/sdb1/nagioslogs/nagios-01-01-2015-10.log
10M /mnt/sdb1/nagioslogs/nagios-01-01-2015-11.log
10M /mnt/sdb1/nagioslogs/nagios-01-01-2015-12.log
9.9M /mnt/sdb1/nagioslogs/nagios-01-01-2015-13.log
9.9M /mnt/sdb1/nagioslogs/nagios-01-01-2015-14.log
10M /mnt/sdb1/nagioslogs/nagios-01-01-2015-15.log
9.9M /mnt/sdb1/nagioslogs/nagios-01-01-2015-16.log
9.9M /mnt/sdb1/nagioslogs/nagios-01-01-2015-17.log
9.2M /mnt/sdb1/nagioslogs/nagios-01-01-2015-18.log
9.2M /mnt/sdb1/nagioslogs/nagios-01-01-2015-19.log
9.3M /mnt/sdb1/nagioslogs/nagios-01-01-2015-20.log
9.3M /mnt/sdb1/nagioslogs/nagios-01-01-2015-21.log
9.4M /mnt/sdb1/nagioslogs/nagios-01-01-2015-22.log
9.3M /mnt/sdb1/nagioslogs/nagios-01-01-2015-23.log
9.3M /mnt/sdb1/nagioslogs/nagios-01-02-2015-00.log
9.3M /mnt/sdb1/nagioslogs/nagios-01-02-2015-01.log
9.6M /mnt/sdb1/nagioslogs/nagios-01-02-2015-02.log
9.3M /mnt/sdb1/nagioslogs/nagios-01-02-2015-03.log
9.2M /mnt/sdb1/nagioslogs/nagios-01-02-2015-04.log
9.5M /mnt/sdb1/nagioslogs/nagios-01-02-2015-05.log
9.2M /mnt/sdb1/nagioslogs/nagios-01-02-2015-06.log
9.3M /mnt/sdb1/nagioslogs/nagios-01-02-2015-07.log
9.2M /mnt/sdb1/nagioslogs/nagios-01-02-2015-08.log
10M /mnt/sdb1/nagioslogs/nagios-01-02-2015-09.log
9.9M /mnt/sdb1/nagioslogs/nagios-01-02-2015-10.log
9.8M /mnt/sdb1/nagioslogs/nagios-01-02-2015-11.log
9.9M /mnt/sdb1/nagioslogs/nagios-01-02-2015-12.log
9.8M /mnt/sdb1/nagioslogs/nagios-01-02-2015-13.log
9.9M /mnt/sdb1/nagioslogs/nagios-01-02-2015-14.log
9.8M /mnt/sdb1/nagioslogs/nagios-01-02-2015-15.log
9.8M /mnt/sdb1/nagioslogs/nagios-01-02-2015-16.log
9.9M /mnt/sdb1/nagioslogs/nagios-01-02-2015-17.log
9.2M /mnt/sdb1/nagioslogs/nagios-01-02-2015-18.log
... and so on...
Code: Select all
max_input_time = 180
memory_limit = 1024MCode: Select all
status_update_interval=10
log_rotation_method=h
use_syslog=0
log_notifications=1
log_service_retries=1
log_host_retries=1
log_event_handlers=1
log_initial_states=0
log_external_commands=1
log_passive_checks=1