100GB disk full after one week?

This support forum board is for support questions relating to Nagios Log Server, our solution for managing and monitoring critical log data.
TDBruno
Posts: 11
Joined: Mon Feb 08, 2016 9:20 am

Re: 100GB disk full after one week?

Post by TDBruno »

free -m
logs6.jpg
top|head -5
logs7.jpg
You do not have the required permissions to view the files attached to this post.
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: 100GB disk full after one week?

Post by rkennedy »

I would recommend allocating at least 8GB of ram to the machine, as 2GB isn't quite enough. This is why you saw the previous error.
Former Nagios Employee
TDBruno
Posts: 11
Joined: Mon Feb 08, 2016 9:20 am

Re: 100GB disk full after one week?

Post by TDBruno »

Thanks that helped.
With 8GB assigned, it has stayed online for several days. Although it does seem to be using up most of the 8GB already.
May need more once I add more devices.
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: 100GB disk full after one week?

Post by rkennedy »

Can you post the output of free -m again? I'd like to see how much of it is cached. NLS will use your memory as a cache for logs.

Also - how much data do you have incoming per day?
Former Nagios Employee
TDBruno
Posts: 11
Joined: Mon Feb 08, 2016 9:20 am

Re: 100GB disk full after one week?

Post by TDBruno »

Here is the output.
It's around 1GB on average.
The last 3 days were 1.3 GB, 1.3GB and 532MB.
You do not have the required permissions to view the files attached to this post.
User avatar
hsmith
Agent Smith
Posts: 3539
Joined: Thu Jul 30, 2015 11:09 am
Location: 127.0.0.1
Contact:

Re: 100GB disk full after one week?

Post by hsmith »

NLS keeps all of those logs in memory, so the more logs you receive, the more RAM that it is going to eat up. Right now it seems that 8GB is pretty stable. If you run into more instability, I would recommend you look at backup and retention, and have it start closing some of the indices that are no longer needed.
Former Nagios Employee.
me.
Locked