Disk space

This support forum board is for support questions relating to Nagios Network Analyzer, our network traffic and bandwidth analysis solution.
Locked
naga.aripaka
Posts: 24
Joined: Fri Jun 16, 2017 12:31 pm

Disk space

Post 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 ?
User avatar
tgriep
Madmin
Posts: 9177
Joined: Thu Oct 30, 2014 9:02 am

Re: Disk space

Post 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.
Be sure to check out our Knowledgebase for helpful articles and solutions!
naga.aripaka
Posts: 24
Joined: Fri Jun 16, 2017 12:31 pm

Re: Disk space

Post 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.
User avatar
tgriep
Madmin
Posts: 9177
Joined: Thu Oct 30, 2014 9:02 am

Re: Disk space

Post 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

Code: Select all

max_input_vars=50000
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

Code: Select all

/etc/httpd/conf/httpd.conf
Add the following line to the bottom of the file

Code: Select all

LimitRequestLine 100000
Save the file and restart Apache for the changes to take affect.

Code: Select all

service httpd restart
Try that and see if the GUI responds quicker.
Be sure to check out our Knowledgebase for helpful articles and solutions!
naga.aripaka
Posts: 24
Joined: Fri Jun 16, 2017 12:31 pm

Re: Disk space

Post 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.
You do not have the required permissions to view the files attached to this post.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Disk space

Post by scottwilkerson »

This graph is showing 2 hours. The graphs do lag by up to 10 minutes because they process in 5-minute increments
Former Nagios employee
Creator:
ahumandesign.com
enneagrams.com
Locked