Not able to delete source

This support forum board is for support questions relating to Nagios Network Analyzer, our network traffic and bandwidth analysis solution.
awilson
Posts: 224
Joined: Mon Mar 21, 2016 1:20 pm

Not able to delete source

Post by awilson »

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.
bwallace
Posts: 1145
Joined: Tue Nov 17, 2015 1:57 pm

Re: Not able to delete source

Post by bwallace »

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)?
Be sure to check out the Knowledgebase for helpful articles and solutions!
awilson
Posts: 224
Joined: Mon Mar 21, 2016 1:20 pm

Re: Not able to delete source

Post by awilson »

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!

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.
bwallace
Posts: 1145
Joined: Tue Nov 17, 2015 1:57 pm

Re: Not able to delete source

Post by bwallace »

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
Be sure to check out the Knowledgebase for helpful articles and solutions!
awilson
Posts: 224
Joined: Mon Mar 21, 2016 1:20 pm

Re: Not able to delete source

Post by awilson »

Thank you!

Cheers.
awilson
Posts: 224
Joined: Mon Mar 21, 2016 1:20 pm

Re: Not able to delete source

Post by awilson »

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.

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
Alan
bwallace
Posts: 1145
Joined: Tue Nov 17, 2015 1:57 pm

Re: Not able to delete source

Post by bwallace »

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!
awilson
Posts: 224
Joined: Mon Mar 21, 2016 1:20 pm

Re: Not able to delete source

Post by awilson »

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
User avatar
Box293
Too Basu
Posts: 5126
Joined: Sun Feb 07, 2010 10:55 pm
Location: Deniliquin, Australia
Contact:

Re: Not able to delete source

Post by Box293 »

As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
awilson
Posts: 224
Joined: Mon Mar 21, 2016 1:20 pm

Re: Not able to delete source

Post by awilson »

Thanks for the post listing articles. We can close this. I'll start another thread for "today's" problem //smile
No bandwidth.rrd files
Locked