I just installed FlowDoh on my Docker container. It's using debian:jessie, 
nfsen 1.3.8, nfdump 1.6.13, and flowdoh 1.0.2. You can see my system's 
configuration at: 
https://github.com/richb-hanover/nfsen-dockerized/blob/adding-flohdoh/Dockerfile

I have two observations:

1) It is slow. Opening the Plugins tab takes almost 30 seconds to summarize 
data arriving from a single exporter averaging 15-20 flows/second. Switching to 
the Graphs tab, then back to Plugins causes another 30-second hang. 

I checked top, and no process ever use > 1% of the processor. Any thoughts on 
this? Is this expected?


2) I get many errors in the apache2/error.log (see log messages below) These 
sometimes occur when I click the Alerts tab of the flowdoh window, which also 
displays, "Error occurred communicating with the backend."

I know that I do not have any FlowDoh alerts defined (the backend alerts 
directory is empty). I see that Jens Hektor reported this in 
https://sourceforge.net/p/nfsen/mailman/message/31160829/

Has anyone fixed/worked around these messages?

Many thanks to all,

Rich Brown
Lyme, NH USA

root@232a5ae45967:/# tail -f /var/log/apache2/error.log
AH00558: apache2: Could not reliably determine the server's fully qualified 
domain name, using 172.17.0.2. Set the 'ServerName' directive globally to 
suppress this message
[Wed May 17 22:20:37.403377 2017] [mpm_prefork:notice] [pid 144] AH00163: 
Apache/2.4.10 (Debian) configured -- resuming normal operations
[Wed May 17 22:20:37.403421 2017] [core:notice] [pid 144] AH00094: Command 
line: '/usr/sbin/apache2 -D FOREGROUND'

[Wed May 17 22:21:13.479107 2017] [:error] [pid 145] [client 172.17.0.1:41668] 
PHP Notice:  Undefined index: alertfiles in /var/www/nfsen/plugins/flowdoh.php 
on line 547, referer: 
http://localhost:81/nfsen/nfsen.php?tab=2&win=day&type=flows

[Wed May 17 22:21:13.479151 2017] [:error] [pid 145] [client 172.17.0.1:41668] 
PHP Warning:  Invalid argument supplied for foreach() in 
/var/www/nfsen/plugins/flowdoh.php on line 547, referer: 
http://localhost:81/nfsen/nfsen.php?tab=2&win=day&type=flows

[Wed May 17 22:21:13.479161 2017] [:error] [pid 145] [client 172.17.0.1:41668] 
PHP Notice:  Undefined index: alerts in /var/www/nfsen/plugins/flowdoh.php on 
line 571, referer: http://localhost:81/nfsen/nfsen.php?tab=2&win=day&type=flows

[Wed May 17 23:10:09.957416 2017] [:error] [pid 148] [client 172.17.0.1:41868] 
PHP Warning:  mktime() expects parameter 4 to be long, string given in 
/var/www/nfsen/plugins/flowdoh.php on line 548, referer: 
http://localhost:81/nfsen/nfsen.php?bookmark=NXwwfC4vem9uZTFfcHJvZmlsZXxiaXR0b3JyZW50IXAycCFzaXAhcmRwIW15c3FsIW1zLXNxbC1zIWh0dHAtYWx0IW1pY3Jvc29mdC1kcyFodHRwcyFzbm1wIW5ldGJpb3MtbnMhbG9jLXNydiFudHAhaHR0cCFkbnMhdGVsbmV0IXNzaCFmdHAhY2hhcmdlbiFpY21wfGFueXxmbG93c3wxfDB8MTQ5NTA1OTMwMHwxNDk1MDU5MzAwfDE0OTUwNTkzMDB8MHwxfDA%3D

[Wed May 17 23:10:09.957461 2017] [:error] [pid 148] [client 172.17.0.1:41868] 
PHP Notice:  Undefined index: alerts in /var/www/nfsen/plugins/flowdoh.php on 
line 571, referer: 
http://localhost:81/nfsen/nfsen.php?bookmark=NXwwfC4vem9uZTFfcHJvZmlsZXxiaXR0b3JyZW50IXAycCFzaXAhcmRwIW15c3FsIW1zLXNxbC1zIWh0dHAtYWx0IW1pY3Jvc29mdC1kcyFodHRwcyFzbm1wIW5ldGJpb3MtbnMhbG9jLXNydiFudHAhaHR0cCFkbnMhdGVsbmV0IXNzaCFmdHAhY2hhcmdlbiFpY21wfGFueXxmbG93c3wxfDB8MTQ5NTA1OTMwMHwxNDk1MDU5MzAwfDE0OTUwNTkzMDB8MHwxfDA%3D
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Nfsen-discuss mailing list
Nfsen-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfsen-discuss

Reply via email to