My Nagios Log Server stop logging every days
Posted: Thu Mar 09, 2017 11:24 am
Hi!
My Nagios Log Server stop logging, but the logstash service is on.
If I restart the logstash service, the system come back to log.
Any idea?
Thanks!
Here are our logs (attach the logstash log):
[root@localhost ~]# free -h
total used free shared buffers cached
Mem: 15G 13G 1.8G 244K 314M 3.5G
-/+ buffers/cache: 9.9G 5.5G
Swap: 255M 0B 255M
top - 13:13:17 up 6 days, 1:25, 1 user, load average: 1.08, 1.79, 1.21
Tasks: 103 total, 1 running, 102 sleeping, 0 stopped, 0 zombie
Cpu(s): 4.6%us, 1.8%sy, 4.0%ni, 85.6%id, 3.8%wa, 0.0%hi, 0.2%si, 0.0%st
Mem: 16181984k total, 14333824k used, 1848160k free, 322364k buffers
Swap: 262136k total, 0k used, 262136k free, 3622732k cached
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
27191 nagios 20 0 13.8g 8.3g 139m S 88.7 54.1 254:37.62 java
23634 root 39 19 1569m 305m 14m S 5.9 1.9 1:47.85 java
341 root 20 0 0 0 0 S 3.9 0.0 278:15.95 jbd2/sda1-8
1 root 20 0 19232 1520 1232 S 0.0 0.0 0:01.02 init
2 root 20 0 0 0 0 S 0.0 0.0 0:00.00 kthreadd
3 root RT 0 0 0 0 S 0.0 0.0 0:00.00 migration/0
4 root 20 0 0 0 0 S 0.0 0.0 0:20.35 ksoftirqd/0
5 root RT 0 0 0 0 S 0.0 0.0 0:00.00 migration/0
6 root RT 0 0 0 0 S 0.0 0.0 169:18.17 watchdog/0
7 root 20 0 0 0 0 S 0.0 0.0 5:15.32 events/0
8 root 20 0 0 0 0 S 0.0 0.0 0:00.00 cgroup
9 root 20 0 0 0 0 S 0.0 0.0 0:00.00 khelper
10 root 20 0 0 0 0 S 0.0 0.0 0:00.00 netns
My Nagios Log Server stop logging, but the logstash service is on.
If I restart the logstash service, the system come back to log.
Any idea?
Thanks!
Here are our logs (attach the logstash log):
[root@localhost ~]# free -h
total used free shared buffers cached
Mem: 15G 13G 1.8G 244K 314M 3.5G
-/+ buffers/cache: 9.9G 5.5G
Swap: 255M 0B 255M
top - 13:13:17 up 6 days, 1:25, 1 user, load average: 1.08, 1.79, 1.21
Tasks: 103 total, 1 running, 102 sleeping, 0 stopped, 0 zombie
Cpu(s): 4.6%us, 1.8%sy, 4.0%ni, 85.6%id, 3.8%wa, 0.0%hi, 0.2%si, 0.0%st
Mem: 16181984k total, 14333824k used, 1848160k free, 322364k buffers
Swap: 262136k total, 0k used, 262136k free, 3622732k cached
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
27191 nagios 20 0 13.8g 8.3g 139m S 88.7 54.1 254:37.62 java
23634 root 39 19 1569m 305m 14m S 5.9 1.9 1:47.85 java
341 root 20 0 0 0 0 S 3.9 0.0 278:15.95 jbd2/sda1-8
1 root 20 0 19232 1520 1232 S 0.0 0.0 0:01.02 init
2 root 20 0 0 0 0 S 0.0 0.0 0:00.00 kthreadd
3 root RT 0 0 0 0 S 0.0 0.0 0:00.00 migration/0
4 root 20 0 0 0 0 S 0.0 0.0 0:20.35 ksoftirqd/0
5 root RT 0 0 0 0 S 0.0 0.0 0:00.00 migration/0
6 root RT 0 0 0 0 S 0.0 0.0 169:18.17 watchdog/0
7 root 20 0 0 0 0 S 0.0 0.0 5:15.32 events/0
8 root 20 0 0 0 0 S 0.0 0.0 0:00.00 cgroup
9 root 20 0 0 0 0 S 0.0 0.0 0:00.00 khelper
10 root 20 0 0 0 0 S 0.0 0.0 0:00.00 netns