No Data Available

This support forum board is for support questions relating to Nagios Network Analyzer, our network traffic and bandwidth analysis solution.
rafdwo
Posts: 11
Joined: Fri Mar 14, 2014 12:58 pm

No Data Available

Post by rafdwo »

graph on summary page always show "No Data Available"
tcpdump output:
192.168.100.3.50921 > 10.151.2.124.osm-oev: UDP, length 1416
15:26:58.010222 IP (tos 0x0, ttl 254, id 1299, offset 0, flags [none], proto UDP (17), length 1444)
192.168.100.3.50921 > 10.151.2.124.osm-oev: UDP, length 1416
15:26:59.009279 IP (tos 0x0, ttl 254, id 1301, offset 0, flags [none], proto UDP (17), length 1444)
192.168.100.3.50921 > 10.151.2.124.osm-oev: UDP, length 1416
15:26:59.009494 IP (tos 0x0, ttl 254, id 1303, offset 0, flags [none], proto UDP (17), length 1444)
192.168.100.3.50921 > 10.151.2.124.osm-oev: UDP, length 1416
15:26:59.010095 IP (tos 0x0, ttl 254, id 1305, offset 0, flags [none], proto UDP (17), length 1444)
192.168.100.3.50921 > 10.151.2.124.osm-oev: UDP, length 1416
15:27:00.009078 IP (tos 0x0, ttl 254, id 1307, offset 0, flags [none], proto UDP (17), length 1444)
192.168.100.3.50921 > 10.151.2.124.osm-oev: UDP, length 1416
15:27:00.009446 IP (tos 0x0, ttl 254, id 1309, offset 0, flags [none], proto UDP (17), length 1444)
192.168.100.3.50921 > 10.151.2.124.osm-oev: UDP, length 1416
15:27:00.009777 IP (tos 0x0, ttl 254, id 1311, offset 0, flags [none], proto UDP (17), length 1444)
192.168.100.3.50921 > 10.151.2.124.osm-oev: UDP, length 1416
15:27:00.010167 IP (tos 0x0, ttl 254, id 1313, offset 0, flags [none], proto UDP (17), length 1444)
192.168.100.3.50921 > 10.151.2.124.osm-oev: UDP, length 1416

Source settings are:
Sender IP Address*: 192.168.100.3
Listening Port*: 9991
Incoming Flow Type: NetFlow
Raw Data Lifetime: 48 hours

Any idea why it happen?
Thanks
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: No Data Available

Post by slansing »

How long did you wait between setting up the source, and opening this thread? It can take some time to get the first bit of data posted. Were you sure to add the right port on your source? I'd check on this.
rafdwo
Posts: 11
Joined: Fri Mar 14, 2014 12:58 pm

Re: No Data Available

Post by rafdwo »

It is forth day already and nothing. I am able see reports, disk usage increase that this mean data flow. Summary graph still show "No Data Available".
User avatar
lmiltchev
Former Nagios Staff
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: No Data Available

Post by lmiltchev »

Run the following command and show us the output:

Code: Select all

cat /etc/sudoers.d/nna_conf
Be sure to check out our Knowledgebase for helpful articles and solutions!
ssa_nagios
Posts: 38
Joined: Fri Jun 13, 2014 12:52 pm

Re: No Data Available

Post by ssa_nagios »

I'm having a similar issue:

cat /etc/sudoers.d/nna_conf
Defaults:%nnacmd !requiretty

Host_Alias HOST = localhost

Cmnd_Alias LIST = /sbin/iptables --list
Cmnd_Alias SAVE = /etc/init.d/iptables save
Cmnd_Alias UPDATE = /sbin/iptables -I INPUT -p udp -j ACCEPT --dport *
Cmnd_Alias DAEMON = /usr/local/nagiosna/bin/nagiosna *

%nnacmd ALL=(ALL) NOPASSWD:LIST
%nnacmd ALL=(ALL) NOPASSWD:SAVE
%nnacmd ALL=(ALL) NOPASSWD:UPDATE
%nnacmd ALL=(ALL) NOPASSWD:/bin/kill *
%nnacmd ALL=(ALL) NOPASSWD:DAEMON

tcpdump is showing that it is getting data:

tcpdump: listening on eth0, link-type EN10MB (Ethernet), capture size 65535 bytes
11:36:39.001348 IP (tos 0x48, ttl 61, id 5878, offset 0, flags [DF], proto UDP (17), length 148)
malama.ba.ssa.gov.33275 > nsc-prd-nagiosna-007.ba.ssa.gov.5094: [udp sum ok] UDP, length 120
11:36:54.001317 IP (tos 0x48, ttl 61, id 5879, offset 0, flags [DF], proto UDP (17), length 148)
malama.ba.ssa.gov.33275 > nsc-prd-nagiosna-007.ba.ssa.gov.5094: [udp sum ok] UDP, length 120


nfcapd files are being generated:

ls -alrt *
-rw-r--r--+ 1 nna nnacmd 6 Aug 29 14:45 5094.pid

flows:
total 2228
drwxrwsr-x+ 3 nna nnacmd 4096 Aug 29 14:45 ..
-rw-r--r--+ 1 nna nnacmd 1563 Sep 1 12:55 nfcapd.201409011250
-rw-r--r--+ 1 nna nnacmd 1612 Sep 1 13:00 nfcapd.201409011255
-rw-r--r--+ 1 nna nnacmd 1946 Sep 1 13:05 nfcapd.201409011300
-rw-r--r--+ 1 nna nnacmd 1502 Sep 1 13:10 nfcapd.201409011305
-rw-r--r--+ 1 nna nnacmd 1467 Sep 1 13:15 nfcapd.201409011310
-rw-r--r--+ 1 nna nnacmd 1591 Sep 1 13:20 nfcapd.201409011315
-rw-r--r--+ 1 nna nnacmd 1609 Sep 1 13:25 nfcapd.201409011320
-rw-r--r--+ 1 nna nnacmd 1514 Sep 1 13:30 nfcapd.201409011325
-rw-r--r--+ 1 nna nnacmd 1566 Sep 1 13:35 nfcapd.201409011330
-rw-r--r--+ 1 nna nnacmd 1605 Sep 1 13:40 nfcapd.201409011335
-rw-r--r--+ 1 nna nnacmd 1481 Sep 1 13:45 nfcapd.201409011340
-rw-r--r--+ 1 nna nnacmd 1588 Sep 1 13:50 nfcapd.201409011345
-rw-r--r--+ 1 nna nnacmd 1554 Sep 1 13:55 nfcapd.201409011350
-rw-r--r--+ 1 nna nnacmd 1790 Sep 1 14:00 nfcapd.201409011355
-rw-r--r--+ 1 nna nnacmd 2053 Sep 1 14:05 nfcapd.201409011400

nfcapd files are being generated. See attached screen capture.
nfcapdfile.png
But no graphs.
no_data1.png
no_data2.png
You do not have the required permissions to view the files attached to this post.
sreinhardt
-fno-stack-protector
Posts: 4366
Joined: Mon Nov 19, 2012 12:10 pm

Re: No Data Available

Post by sreinhardt »

I have locked this topic as it is several months old. Please open a new topic with your post. Initial thoughts would be to check php vs system time, make sure that your graph is only attempting to query data within the lifetime that the source stores it, and making sure that apache or the nagios group has proper access to those files.
Nagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.