Disk space
-
- Posts: 24
- Joined: Fri Jun 16, 2017 12:31 pm
Disk space
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 ?
-
- Madmin
- Posts: 9190
- Joined: Thu Oct 30, 2014 9:02 am
Re: Disk space
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.
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.
Be sure to check out our Knowledgebase for helpful articles and solutions!
-
- Posts: 24
- Joined: Fri Jun 16, 2017 12:31 pm
Re: Disk space
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.
-
- Madmin
- Posts: 9190
- Joined: Thu Oct 30, 2014 9:02 am
Re: Disk space
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
to
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.
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
Code: Select all
max_input_vars=50000
Code: Select all
max_execution_time = 30
max_input_time = 60
memory_limit = 128M
Code: Select all
max_execution_time = 60
max_input_time = 120
memory_limit = 512M
Save it and then edit this file
Code: Select all
/etc/httpd/conf/httpd.conf
Code: Select all
LimitRequestLine 100000
Code: Select all
service httpd restart
Be sure to check out our Knowledgebase for helpful articles and solutions!
-
- Posts: 24
- Joined: Fri Jun 16, 2017 12:31 pm
Re: Disk space
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.
You do not have the required permissions to view the files attached to this post.
-
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
Re: Disk space
This graph is showing 2 hours. The graphs do lag by up to 10 minutes because they process in 5-minute increments