Page 1 of 1

No Data Available HP Procurve 2920 sflow

Posted: Wed Dec 30, 2015 5:06 pm
by carterg
Seeing "No Data Available" in Summary tab for HP Procurve 2920 switch Source.
Nagios Network Analyzer 2R1.0
HP 2920 configured for sFlow on all ports.
HP Source created in nna.
Initially, sFlow setting would not save, it would save as NetFlow
Read forum No Data topic about edit.php patch. Installed edit.php patch. sFlow Source setting now saves.
nfcapd files being created in /flows every 5 minutes.
Reports Tab shows "Top 5 Talkers by Source IP". Appears to have valid data.
Tried HP default port 6343 as well as nna default port 4343. Same results.
Time and Date on nna is correct.
Time and Date on HP is correct.
tcpdump shows incoming data.
Capture file attached to this topic (.pcap file with extension changed to .txt).
Wireshark shows sFlow protocol data in the capture file.

Other checks based on notes from other forum topics:
$ date
Tue Dec 29 18:29:35 CST 2015

$ file /etc/localtime/etc/local
time: symbolic link to `/usr/share/zoneinfo/US/Central'

$ grep "date.timezone ="
/etc/php.inidate.timezone = US/Central

$ nfdump -V
nfdump: Version 1.6.13

$ rrdtool -v
RRDtool 1.4.9

$ ll -d /var/www/html/nagiosna/www/media/js
drwxrwxr-x 4 root apache 4096 Dec 28 15:08 /var/www/html/nagiosna/www/media/js

Re: No Data Available HP Procurve 2920 sflow

Posted: Mon Jan 04, 2016 12:48 pm
by rkennedy
Just to verify - what version of NA are you running?

Is this the only source you are seeing issues with?

Re: No Data Available HP Procurve 2920 sflow

Posted: Mon Jan 04, 2016 4:18 pm
by carterg
From the second line in my original post - Nagios Network Analyzer 2R1.0
I have only 2 sources. 2 HP Procurve 2920 switches. I tested the second switch today. Same behavior.

Re: No Data Available HP Procurve 2920 sflow

Posted: Tue Jan 05, 2016 11:26 am
by tgriep
Can you login as root in the NA server, run the following and post the output here?

Code: Select all

tail -200 /usr/local/nagiosna/var/backend.log
Hopefully there will be some information in the log to help out on this issue.

Re: No Data Available HP Procurve 2920 sflow

Posted: Tue Jan 05, 2016 3:22 pm
by carterg
# tail -200 /usr/local/nagiosna/var/backend.log

Code: Select all

2016-01-05 13:05:00 INFO : Successfully reaped nfcapd file.
2016-01-05 13:05:00 DEBUG : Checks found: ()
2016-01-05 13:05:00 INFO : Ran checks successfully
2016-01-05 13:05:00 INFO : Successfully reaped nfcapd file.
2016-01-05 13:10:00 INFO : Parsing data for the source id: 9
2016-01-05 13:10:00 DEBUG : Arguments: /usr/local/nagiosna/var/ES2/flows, nfcapd.201601051305, 9
2016-01-05 13:10:00 INFO : Parsing data for the source id: 8
2016-01-05 13:10:00 DEBUG : Arguments: /usr/local/nagiosna/var/ES1/flows, nfcapd.201601051305, 8
2016-01-05 13:10:00 DEBUG : Running checks...
2016-01-05 13:10:00 DEBUG : Getting relevant checks for source id: 9
2016-01-05 13:10:00 DEBUG : Checks found: ()
2016-01-05 13:10:00 INFO : Ran checks successfully
2016-01-05 13:10:00 INFO : Successfully reaped nfcapd file.
2016-01-05 13:10:00 DEBUG : Running checks...
2016-01-05 13:10:00 DEBUG : Getting relevant checks for source id: 8
2016-01-05 13:10:00 DEBUG : Checks found: ()
2016-01-05 13:10:00 INFO : Ran checks successfully
2016-01-05 13:10:00 INFO : Successfully reaped nfcapd file.
2016-01-05 13:15:00 INFO : Parsing data for the source id: 8
2016-01-05 13:15:00 DEBUG : Arguments: /usr/local/nagiosna/var/ES1/flows, nfcapd.201601051310, 8
2016-01-05 13:15:00 INFO : Parsing data for the source id: 9
2016-01-05 13:15:00 DEBUG : Arguments: /usr/local/nagiosna/var/ES2/flows, nfcapd.201601051310, 9
2016-01-05 13:15:00 DEBUG : Running checks...
2016-01-05 13:15:00 DEBUG : Getting relevant checks for source id: 8
2016-01-05 13:15:00 DEBUG : Checks found: ()
2016-01-05 13:15:00 INFO : Ran checks successfully
2016-01-05 13:15:00 INFO : Successfully reaped nfcapd file.
2016-01-05 13:15:00 DEBUG : Running checks...
2016-01-05 13:15:00 DEBUG : Getting relevant checks for source id: 9
2016-01-05 13:15:00 DEBUG : Checks found: ()
2016-01-05 13:15:00 INFO : Ran checks successfully
2016-01-05 13:15:00 INFO : Successfully reaped nfcapd file.
2016-01-05 13:20:00 INFO : Parsing data for the source id: 9
2016-01-05 13:20:00 DEBUG : Arguments: /usr/local/nagiosna/var/ES2/flows, nfcapd.201601051315, 9
2016-01-05 13:20:00 DEBUG : Running checks...
2016-01-05 13:20:00 DEBUG : Getting relevant checks for source id: 9
2016-01-05 13:20:00 DEBUG : Checks found: ()
2016-01-05 13:20:00 INFO : Ran checks successfully
2016-01-05 13:20:00 INFO : Successfully reaped nfcapd file.
2016-01-05 13:20:00 INFO : Parsing data for the source id: 8
2016-01-05 13:20:00 DEBUG : Arguments: /usr/local/nagiosna/var/ES1/flows, nfcapd.201601051315, 8
2016-01-05 13:20:00 DEBUG : Running checks...
2016-01-05 13:20:00 DEBUG : Getting relevant checks for source id: 8
2016-01-05 13:20:00 DEBUG : Checks found: ()
2016-01-05 13:20:00 INFO : Ran checks successfully
2016-01-05 13:20:00 INFO : Successfully reaped nfcapd file.
2016-01-05 13:25:00 INFO : Parsing data for the source id: 9
2016-01-05 13:25:00 DEBUG : Arguments: /usr/local/nagiosna/var/ES2/flows, nfcapd.201601051320, 9
2016-01-05 13:25:00 DEBUG : Running checks...
2016-01-05 13:25:00 DEBUG : Getting relevant checks for source id: 9
2016-01-05 13:25:00 DEBUG : Checks found: ()
2016-01-05 13:25:00 INFO : Ran checks successfully
2016-01-05 13:25:00 INFO : Successfully reaped nfcapd file.
2016-01-05 13:25:00 INFO : Parsing data for the source id: 8
2016-01-05 13:25:00 DEBUG : Arguments: /usr/local/nagiosna/var/ES1/flows, nfcapd.201601051320, 8
2016-01-05 13:25:00 DEBUG : Running checks...
2016-01-05 13:25:00 DEBUG : Getting relevant checks for source id: 8
2016-01-05 13:25:00 DEBUG : Checks found: ()
2016-01-05 13:25:00 INFO : Ran checks successfully
2016-01-05 13:25:00 INFO : Successfully reaped nfcapd file.
2016-01-05 13:30:00 INFO : Parsing data for the source id: 8
2016-01-05 13:30:00 DEBUG : Arguments: /usr/local/nagiosna/var/ES1/flows, nfcapd.201601051325, 8
2016-01-05 13:30:00 INFO : Parsing data for the source id: 9
2016-01-05 13:30:00 DEBUG : Arguments: /usr/local/nagiosna/var/ES2/flows, nfcapd.201601051325, 9
2016-01-05 13:30:00 DEBUG : Running checks...
2016-01-05 13:30:00 DEBUG : Getting relevant checks for source id: 8
2016-01-05 13:30:00 DEBUG : Checks found: ()
2016-01-05 13:30:00 INFO : Ran checks successfully
2016-01-05 13:30:00 INFO : Successfully reaped nfcapd file.
2016-01-05 13:30:00 DEBUG : Running checks...
2016-01-05 13:30:00 DEBUG : Getting relevant checks for source id: 9
2016-01-05 13:30:00 DEBUG : Checks found: ()
2016-01-05 13:30:00 INFO : Ran checks successfully
2016-01-05 13:30:00 INFO : Successfully reaped nfcapd file.
2016-01-05 13:35:00 INFO : Parsing data for the source id: 8
2016-01-05 13:35:00 DEBUG : Arguments: /usr/local/nagiosna/var/ES1/flows, nfcapd.201601051330, 8
2016-01-05 13:35:00 DEBUG : Running checks...
2016-01-05 13:35:00 DEBUG : Getting relevant checks for source id: 8
2016-01-05 13:35:00 DEBUG : Checks found: ()
2016-01-05 13:35:00 INFO : Ran checks successfully
2016-01-05 13:35:00 INFO : Successfully reaped nfcapd file.
2016-01-05 13:35:00 INFO : Parsing data for the source id: 9
2016-01-05 13:35:00 DEBUG : Arguments: /usr/local/nagiosna/var/ES2/flows, nfcapd.201601051330, 9
2016-01-05 13:35:00 DEBUG : Running checks...
2016-01-05 13:35:00 DEBUG : Getting relevant checks for source id: 9
2016-01-05 13:35:00 DEBUG : Checks found: ()
2016-01-05 13:35:00 INFO : Ran checks successfully
2016-01-05 13:35:00 INFO : Successfully reaped nfcapd file.
2016-01-05 13:40:00 INFO : Parsing data for the source id: 9
2016-01-05 13:40:00 DEBUG : Arguments: /usr/local/nagiosna/var/ES2/flows, nfcapd.201601051335, 9
2016-01-05 13:40:00 DEBUG : Running checks...
2016-01-05 13:40:00 DEBUG : Getting relevant checks for source id: 9
2016-01-05 13:40:00 DEBUG : Checks found: ()
2016-01-05 13:40:00 INFO : Ran checks successfully
2016-01-05 13:40:00 INFO : Successfully reaped nfcapd file.
2016-01-05 13:40:00 INFO : Parsing data for the source id: 8
2016-01-05 13:40:00 DEBUG : Arguments: /usr/local/nagiosna/var/ES1/flows, nfcapd.201601051335, 8
2016-01-05 13:40:00 DEBUG : Running checks...
2016-01-05 13:40:00 DEBUG : Getting relevant checks for source id: 8
2016-01-05 13:40:00 DEBUG : Checks found: ()
2016-01-05 13:40:00 INFO : Ran checks successfully
2016-01-05 13:40:00 INFO : Successfully reaped nfcapd file.
2016-01-05 13:45:00 INFO : Parsing data for the source id: 8
2016-01-05 13:45:00 DEBUG : Arguments: /usr/local/nagiosna/var/ES1/flows, nfcapd.201601051340, 8
2016-01-05 13:45:00 DEBUG : Running checks...
2016-01-05 13:45:00 DEBUG : Getting relevant checks for source id: 8
2016-01-05 13:45:00 DEBUG : Checks found: ()
2016-01-05 13:45:00 INFO : Ran checks successfully
2016-01-05 13:45:00 INFO : Successfully reaped nfcapd file.
2016-01-05 13:45:00 INFO : Parsing data for the source id: 9
2016-01-05 13:45:00 DEBUG : Arguments: /usr/local/nagiosna/var/ES2/flows, nfcapd.201601051340, 9
2016-01-05 13:45:00 DEBUG : Running checks...
2016-01-05 13:45:00 DEBUG : Getting relevant checks for source id: 9
2016-01-05 13:45:00 DEBUG : Checks found: ()
2016-01-05 13:45:00 INFO : Ran checks successfully
2016-01-05 13:45:00 INFO : Successfully reaped nfcapd file.
2016-01-05 13:50:00 INFO : Parsing data for the source id: 9
2016-01-05 13:50:00 DEBUG : Arguments: /usr/local/nagiosna/var/ES2/flows, nfcapd.201601051345, 9
2016-01-05 13:50:00 DEBUG : Running checks...
2016-01-05 13:50:00 INFO : Parsing data for the source id: 8
2016-01-05 13:50:00 DEBUG : Arguments: /usr/local/nagiosna/var/ES1/flows, nfcapd.201601051345, 8
2016-01-05 13:50:00 DEBUG : Getting relevant checks for source id: 9
2016-01-05 13:50:00 DEBUG : Checks found: ()
2016-01-05 13:50:00 INFO : Ran checks successfully
2016-01-05 13:50:00 INFO : Successfully reaped nfcapd file.
2016-01-05 13:50:00 DEBUG : Running checks...
2016-01-05 13:50:00 DEBUG : Getting relevant checks for source id: 8
2016-01-05 13:50:00 DEBUG : Checks found: ()
2016-01-05 13:50:00 INFO : Ran checks successfully
2016-01-05 13:50:00 INFO : Successfully reaped nfcapd file.
2016-01-05 13:55:00 INFO : Parsing data for the source id: 9
2016-01-05 13:55:00 DEBUG : Arguments: /usr/local/nagiosna/var/ES2/flows, nfcapd.201601051350, 9
2016-01-05 13:55:00 DEBUG : Running checks...
2016-01-05 13:55:00 DEBUG : Getting relevant checks for source id: 9
2016-01-05 13:55:00 DEBUG : Checks found: ()
2016-01-05 13:55:00 INFO : Ran checks successfully
2016-01-05 13:55:00 INFO : Successfully reaped nfcapd file.
2016-01-05 13:55:00 INFO : Parsing data for the source id: 8
2016-01-05 13:55:00 DEBUG : Arguments: /usr/local/nagiosna/var/ES1/flows, nfcapd.201601051350, 8
2016-01-05 13:55:00 DEBUG : Running checks...
2016-01-05 13:55:00 DEBUG : Getting relevant checks for source id: 8
2016-01-05 13:55:00 DEBUG : Checks found: ()
2016-01-05 13:55:00 INFO : Ran checks successfully
2016-01-05 13:55:00 INFO : Successfully reaped nfcapd file.
2016-01-05 14:00:00 INFO : Parsing data for the source id: 8
2016-01-05 14:00:00 DEBUG : Arguments: /usr/local/nagiosna/var/ES1/flows, nfcapd.201601051355, 8
2016-01-05 14:00:00 DEBUG : Running checks...
2016-01-05 14:00:00 DEBUG : Getting relevant checks for source id: 8
2016-01-05 14:00:00 DEBUG : Checks found: ()
2016-01-05 14:00:00 INFO : Ran checks successfully
2016-01-05 14:00:00 INFO : Successfully reaped nfcapd file.
2016-01-05 14:00:00 INFO : Parsing data for the source id: 9
2016-01-05 14:00:00 DEBUG : Arguments: /usr/local/nagiosna/var/ES2/flows, nfcapd.201601051355, 9
2016-01-05 14:00:00 DEBUG : Running checks...
2016-01-05 14:00:00 DEBUG : Getting relevant checks for source id: 9
2016-01-05 14:00:00 DEBUG : Checks found: ()
2016-01-05 14:00:00 INFO : Ran checks successfully
2016-01-05 14:00:00 INFO : Successfully reaped nfcapd file.
2016-01-05 14:05:00 INFO : Parsing data for the source id: 8
2016-01-05 14:05:00 DEBUG : Arguments: /usr/local/nagiosna/var/ES1/flows, nfcapd.201601051400, 8
2016-01-05 14:05:00 DEBUG : Running checks...
2016-01-05 14:05:00 DEBUG : Getting relevant checks for source id: 8
2016-01-05 14:05:00 DEBUG : Checks found: ()
2016-01-05 14:05:00 INFO : Ran checks successfully
2016-01-05 14:05:00 INFO : Successfully reaped nfcapd file.
2016-01-05 14:05:00 INFO : Parsing data for the source id: 9
2016-01-05 14:05:00 DEBUG : Arguments: /usr/local/nagiosna/var/ES2/flows, nfcapd.201601051400, 9
2016-01-05 14:05:00 DEBUG : Running checks...
2016-01-05 14:05:00 DEBUG : Getting relevant checks for source id: 9
2016-01-05 14:05:00 DEBUG : Checks found: ()
2016-01-05 14:05:00 INFO : Ran checks successfully
2016-01-05 14:05:00 INFO : Successfully reaped nfcapd file.
2016-01-05 14:10:00 INFO : Parsing data for the source id: 9
2016-01-05 14:10:00 DEBUG : Arguments: /usr/local/nagiosna/var/ES2/flows, nfcapd.201601051405, 9
2016-01-05 14:10:00 DEBUG : Running checks...
2016-01-05 14:10:00 DEBUG : Getting relevant checks for source id: 9
2016-01-05 14:10:00 DEBUG : Checks found: ()
2016-01-05 14:10:00 INFO : Ran checks successfully
2016-01-05 14:10:00 INFO : Successfully reaped nfcapd file.
2016-01-05 14:10:00 INFO : Parsing data for the source id: 8
2016-01-05 14:10:00 DEBUG : Arguments: /usr/local/nagiosna/var/ES1/flows, nfcapd.201601051405, 8
2016-01-05 14:10:00 DEBUG : Running checks...
2016-01-05 14:10:00 DEBUG : Getting relevant checks for source id: 8
2016-01-05 14:10:00 DEBUG : Checks found: ()
2016-01-05 14:10:00 INFO : Ran checks successfully
2016-01-05 14:10:00 INFO : Successfully reaped nfcapd file.
2016-01-05 14:15:00 INFO : Parsing data for the source id: 9
2016-01-05 14:15:00 DEBUG : Arguments: /usr/local/nagiosna/var/ES2/flows, nfcapd.201601051410, 9
2016-01-05 14:15:00 DEBUG : Running checks...
2016-01-05 14:15:00 DEBUG : Getting relevant checks for source id: 9
2016-01-05 14:15:00 DEBUG : Checks found: ()
2016-01-05 14:15:00 INFO : Ran checks successfully
2016-01-05 14:15:00 INFO : Successfully reaped nfcapd file.
2016-01-05 14:15:00 INFO : Parsing data for the source id: 8
2016-01-05 14:15:00 DEBUG : Arguments: /usr/local/nagiosna/var/ES1/flows, nfcapd.201601051410, 8
2016-01-05 14:15:00 DEBUG : Running checks...
2016-01-05 14:15:00 DEBUG : Getting relevant checks for source id: 8
2016-01-05 14:15:00 DEBUG : Checks found: ()
2016-01-05 14:15:00 INFO : Ran checks successfully
2016-01-05 14:15:00 INFO : Successfully reaped nfcapd file.

Re: No Data Available HP Procurve 2920 sflow

Posted: Tue Jan 05, 2016 5:59 pm
by tgriep
Can you login to the NA server and go to the flows folder for the device and run the following and post it here?

Code: Select all

nfdump  -r nfcapd.xxxxxxxxxxx
The xxxxxxxxx would be replaced by the date code appended to the file.
Also, can you run this and post the output of this comand?

Code: Select all

ps -ef --cols=300