Page 1 of 1

No Data Available

Posted: Fri May 09, 2014 2:32 pm
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

Re: No Data Available

Posted: Mon May 12, 2014 9:26 am
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.

Re: No Data Available

Posted: Tue May 13, 2014 7:39 am
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".

Re: No Data Available

Posted: Tue May 13, 2014 10:40 am
by lmiltchev
Run the following command and show us the output:

Code: Select all

cat /etc/sudoers.d/nna_conf

Re: No Data Available

Posted: Tue Sep 02, 2014 10:49 am
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

Re: No Data Available

Posted: Tue Sep 02, 2014 4:20 pm
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.