No Data Available

This support forum board is for support questions relating to Nagios Network Analyzer, our network traffic and bandwidth analysis solution.
ssa_nagios
Posts: 38
Joined: Fri Jun 13, 2014 12:52 pm

Re: No Data Available

Post by ssa_nagios »

ps -ef | grep nna
root 6361 6314 0 10:07 pts/0 00:00:00 grep nna
nna 20399 1 0 Sep12 ? 00:00:16 /usr/local/bin/nfcapd -I 1 -l /usr/local/nagiosna/var/*******/flows -p 5094 -x /usr/local/nagiosna/bin/reap_files.py %d %f %i -P /usr/local/nagiosna/var/*******/5094.pid -D -e -w -z
nna 20400 20399 0 Sep12 ? 00:00:20 /usr/local/bin/nfcapd -I 1 -l /usr/local/nagiosna/var/*******/flows -p 5094 -x /usr/local/nagiosna/bin/reap_files.py %d %f %i -P /usr/local/nagiosna/var/*******/5094.pid -D -e -w -z

iptables -L -n
Chain INPUT (policy ACCEPT)
target prot opt source destination
ACCEPT tcp -- 0.0.0.0/0 0.0.0.0/0 state NEW tcp dpt:443
ACCEPT tcp -- 0.0.0.0/0 0.0.0.0/0 state NEW tcp dpt:80
ACCEPT udp -- 0.0.0.0/0 0.0.0.0/0 udp dpt:5094

Chain FORWARD (policy ACCEPT)
target prot opt source destination

Chain OUTPUT (policy ACCEPT)
target prot opt source destination [/code]
User avatar
lmiltchev
Former Nagios Staff
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: No Data Available

Post by lmiltchev »

All of the output looks correct. I am not sure why the bandwidth.rrd was not created. Run the following command and see if it will create the "bandwidth.rrd" file.

Code: Select all

/usr/local/nagiosna/bin/initialize_source.py --directory /usr/local/nagiosna/var/*******/ --port 5094
where you substitute "*******" with the correct source name. When (if) the "bandwidth.rrd" file is created, it will take at least 10-15 min. before graphs starts to appear.
Be sure to check out our Knowledgebase for helpful articles and solutions!
rafdwo
Posts: 11
Joined: Fri Mar 14, 2014 12:58 pm

Re: No Data Available

Post by rafdwo »

I will continue this post, I have the same problem for months.
Output for above commands:
[root@tor-nagios-01 nagiosna]# ps -ef | grep [n]na
nna 3703 1 0 May09 ? 00:31:28 /usr/local/bin/nfcapd -I 1 -l /usr/local/nagiosna/var/3745Corporate/flows -p 9991 -x /usr/local/nagiosna/bin/reap_files.py %d %f %i -P /usr/local/nagiosna/var/3745Corporate/9991.pid -D -e -w -z
nna 3704 3703 0 May09 ? 00:02:59 /usr/local/bin/nfcapd -I 1 -l /usr/local/nagiosna/var/3745Corporate/flows -p 9991 -x /usr/local/nagiosna/bin/reap_files.py %d %f %i -P /usr/local/nagiosna/var/3745Corporate/9991.pid -D -e -w -z
[root@tor-nagios-01 nagiosna]# iptables -L -n
Chain INPUT (policy ACCEPT)
target prot opt source destination
ACCEPT udp -- 0.0.0.0/0 0.0.0.0/0 udp dpt:9991
ACCEPT udp -- 0.0.0.0/0 0.0.0.0/0 udp dpt:50921

Chain FORWARD (policy ACCEPT)
target prot opt source destination

Chain OUTPUT (policy ACCEPT)
target prot opt source
User avatar
lmiltchev
Former Nagios Staff
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: No Data Available

Post by lmiltchev »

The data is pulled from the bandwidth.rrd file. It is possible that your time is/was not correct on the Nagios NA machine or/and the "source" box, so there is an entry in the RRD file that is in the future. Another possible cause would be incorrect permissions. Can you show us the permissions that you have?

Code: Select all

ll -d /usr/local/nagiosna/var/<source>
ll /usr/local/nagiosna/var/<source>
Can you verify the the time is correct on both, the NNA box and the sending device?

Note: you could try deleting (or moving to a different location) the "bandwidth.rrd" file if you don't care about the historical data. It *should* get recreated and the bandwidth graph should reappear.
Be sure to check out our Knowledgebase for helpful articles and solutions!
rafdwo
Posts: 11
Joined: Fri Mar 14, 2014 12:58 pm

Re: No Data Available

Post by rafdwo »

# ll -d /usr/local/nagiosna/var/3745Corporate/
drwsrwsr-x+ 4 nna nnacmd 4096 Jun 5 10:38 /usr/local/nagiosna/var/3745Corporate/

# ll /usr/local/nagiosna/var/3745Corporate/
total 52
-rw-r--r--+ 1 nna nnacmd 5 Jun 5 10:38 9991.pid
drwsrwsr-x+ 2 nna nnacmd 45056 Jun 5 10:50 flows
drwsrwsr-x+ 3 nna nnacmd 4096 Jun 5 10:00 views
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: No Data Available

Post by tmcdonald »

rafdwo, I see you have another topic open for the same thing here: http://support.nagios.com/forum/viewtop ... 206#140923

Let's close this one up since it is pretty old, and we can continue in the new one. I don't think the OP of this topic is coming back any time soon.
Former Nagios employee