Not able to delete source
Not able to delete source
Hi. I'm evaluating NNA and I need to replace the source definition. When I press delete, the button responds but then nothing happens. This source has not worked, so we are going to test using another source. All of our network devices are set to send netflow data on the same port. So I need to delete the current one so that I can continue the evaluation.
Nagios NA 2.2.0
Red Hat Enterprise Linux Server release 6.6 (Santiago)
Thank you.
Nagios NA 2.2.0
Red Hat Enterprise Linux Server release 6.6 (Santiago)
Thank you.
Re: Not able to delete source
Run a tail on the httpd error log, navigate to /var/log/httpd and run
tail -f error_log >test.txt
While that is running, attempt to stop the service on your source via the UI (Source > Sourcename > look for stop button in upper right corner) Once stopped then try to delete the source.
If it still does not get deleted then post the test.txt here.
Lastly, did you install NNA on a newly installed, “clean” system (a bare minimal install with nothing else installed or configured)?
tail -f error_log >test.txt
While that is running, attempt to stop the service on your source via the UI (Source > Sourcename > look for stop button in upper right corner) Once stopped then try to delete the source.
If it still does not get deleted then post the test.txt here.
Lastly, did you install NNA on a newly installed, “clean” system (a bare minimal install with nothing else installed or configured)?
Be sure to check out the Knowledgebase for helpful articles and solutions!
Re: Not able to delete source
We installed NNA on a test machine that has Nagios XI on it. I'll roll back the VM and re-install. We are also working with an eval copy that was extended.
The error.log contents are below.
Thanks!
The error.log contents are below.
Thanks!
Code: Select all
2016-07-19 15:15:00 INFO : Parsing data for the source id: 6
2016-07-19 15:15:00 DEBUG : Arguments: /usr/local/nagiosna/var/TestDev172.22.249.249/flows, nfcapd.201607191510, 6
2016-07-19 15:15:00 DEBUG : Running checks...
2016-07-19 15:15:00 DEBUG : Getting relevant checks for source id: 6
2016-07-19 15:15:00 DEBUG : Checks found: ()
2016-07-19 15:15:00 INFO : Ran checks successfully
2016-07-19 15:15:00 INFO : Successfully reaped nfcapd file.Re: Not able to delete source
Aah, there's the problem - installing it on the same server as XI. Please run a fresh install of NNA on a dedicated server, refer to this doc:
https://assets.nagios.com/downloads/nag ... 1456514247
https://assets.nagios.com/downloads/nag ... 1456514247
Be sure to check out the Knowledgebase for helpful articles and solutions!
Re: Not able to delete source
Thank you!
Cheers.
Cheers.
Re: Not able to delete source
I mis-spoke. There is a /usr/local/nagios directory, but nagiosxi or nagios service. I'm going to install on a clean system anyway.
It is creating data files, but the gui states that there is no data.
Alan
It is creating data files, but the gui states that there is no data.
Code: Select all
19 08:20:10 lussvpnagiosdb00 nfcapd[31711]: Launcher: ident: 6 run command: '/usr/local/nagiosna/bin/reap_files.py /usr/local/nagiosna/var/TestDev172.22.249.249/flows nfcapd.201607190815 6'
Jul 19 08:20:10 lussvpnagiosdb00 nfcapd[31711]: Launcher: fork child.
Jul 19 08:20:10 lussvpnagiosdb00 nfcapd[31711]: Launcher: child exec done.
Jul 19 08:20:11 lussvpnagiosdb00 nfcapd[31711]: Run expire on '/usr/local/nagiosna/var/TestDev172.22.249.249/flows'
Jul 19 08:20:11 lussvpnagiosdb00 nfcapd[31711]: Limits: Filesize <none>, Lifetime 86400 = 1.0 days, Watermark: 95%
Jul 19 08:20:11 lussvpnagiosdb00 nfcapd[31711]: Current size: 2277376 = 2.2 MB, Current lifetime: 83100 = 23.1 hours, Number of files: 278
Re: Not able to delete source
Thanks, we'll leave this thread open and let us know how the new install goes.
Be sure to check out the Knowledgebase for helpful articles and solutions!
Re: Not able to delete source
The install on a clean machine is operating for some features. We had some help from one of your engineers. Now we are able to see report data for all except bandwidth. We have error messages in the log stating that no bandwidth.rrd file or directory exists. I've read through the prior posts with this error, but they all seem to say, "I fixed it, please close the post." I'm happy for them ... //smile
Alan
Alan
- Box293
- Too Basu
- Posts: 5126
- Joined: Sun Feb 07, 2010 10:55 pm
- Location: Deniliquin, Australia
- Contact:
Re: Not able to delete source
This KB article might help:
https://support.nagios.com/kb/article.php?id=32
This forum thread might also help:
https://support.nagios.com/forum/viewto ... 32&t=33630
https://support.nagios.com/kb/article.php?id=32
This forum thread might also help:
https://support.nagios.com/forum/viewto ... 32&t=33630
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Re: Not able to delete source
Thanks for the post listing articles. We can close this. I'll start another thread for "today's" problem //smile
No bandwidth.rrd files
No bandwidth.rrd files