Page 1 of 1
Disk space
Posted: Thu Sep 28, 2017 12:27 pm
by naga.aripaka
NNA is using lot of disk space for 5 sources. Is there anyway that we can export this data and keep cleaning up the box or some best suggestions ?
Re: Disk space
Posted: Thu Sep 28, 2017 4:13 pm
by tgriep
Here are a few suggestions you can see if one of then will work for your needs.
If you created the 5 sources with a long Raw Data Lifetime, you can go in to the sources and select a shorter time so the server will not store as much data.
Or, you can increase the hard drive space for the server and if you are using the Nagios provided VMWare OVA image, the instructions below should work for you.
https://assets.nagios.com/downloads/nag ... M-Disk.pdf
Another option is to mount another larger drive and use that to store the flow data. This can only be done when a source is created.
When creating a Source, click on the Advanced Settings menu at the bottom on the screen and there you can type in the path to the other mount.
Let us know what you think about the suggestions.
Re: Disk space
Posted: Thu Sep 28, 2017 4:56 pm
by naga.aripaka
Thanks a lot that really helps and I have one more issue with the source summary or graphs view. 24 hours is the least option I can see but I believe we can generate the source graphs with upto 2 hours limit. This is actually causing slow page load.
Re: Disk space
Posted: Fri Sep 29, 2017 8:40 am
by tgriep
First thing to try to get the GUI to run faster it to add more CPU's to the server if it is running in a virtual environment.
Then try editing some settings to get PHP and Apache to process quicker.
Login as root and edit the /etc/php.ini file
Add the following line to the bottom of the file
change the following from
Code: Select all
max_execution_time = 30
max_input_time = 60
memory_limit = 128M
to
Code: Select all
max_execution_time = 60
max_input_time = 120
memory_limit = 512M
or increase them if they are already changed.
Save it and then edit this file
Add the following line to the bottom of the file
Save the file and restart Apache for the changes to take affect.
Try that and see if the GUI responds quicker.
Re: Disk space
Posted: Fri Sep 29, 2017 9:18 am
by naga.aripaka
Capture.PNG
Thank you I will try all of the above and respond. Meanwhile, Is this the answer for graph not showing less than 24 hours ? the picture in the attachment has 2 hours, but I cannot make it work on my nagios network analyzer.
Re: Disk space
Posted: Fri Sep 29, 2017 10:30 am
by scottwilkerson
This graph is showing 2 hours. The graphs do lag by up to 10 minutes because they process in 5-minute increments