Steve
please resync and let me know if it works now.
Regards Luca
On 09/19/2013 02:21 PM, Steve Dimoff wrote:
VERSION:
[Ntop.cpp:149] Welcome to ntopng x86_64 v.1.0.1 (*r6777*) - (C)
1998-13 ntop.org
On a busy host, once ntopng has been running for a few minutes I'm no
longer able to successfully export the host information
Here is the URL I'm calling:
http://localhost:3000/lua/do_export_data.lua
I start getting data results and then it ends with:
"activityStats": { "1379034380": 1, "1379034390": 1, "1379034395": 1,
"1379034400": 1, "1379034410": 1, "1379034415": 1, "1379034420": 1,
"1379034425": 1, "1379034430": 1, "1379034435": 1, "1379034440": 1,
"1379034445": 1, "1379034450": 1, "1379034455": 1, "1379034460": 1,
"1379034465": 1, "1379034470": 1, "1379034475": 1, "1379034480": 1,
"1379034485": 1, "1379034490": 1, "1379034495": 1, "1379034500": 1,
"1379034505": 1, "1379034510": 1, "1379034515": 1, "1379034525": 1,
"1379034530": 1, "1379034535": 1, "1379034540": 1, "1379034545": 1,
"1379034550": 1, "1379034555": 1, "1379034560": 1, "1379034565": 1,
"1379034570": 1, "1379034575": 1, "1379034580": 1, "1379034585": 1,
"1379034590": 1, "1379034595": 1, "1379034600": 1, "1379034605": 1,
"1379034610": 1, "1379034615": 1, "1379034620": 1, "1379034625": 1,
"1379034630": 1 } }HTTP/1.1 500 Internal server error
Content-Type: text/html
Connection: close
<html><head><title>ntop</title></head><body><img src=/img/warning.png>
Script
"/usr/local/share/ntopng/scripts/lua/do_export_data.lua"
returned an error:<p>
* Closing connection #0
<pre>/usr/local/share/ntopng/scripts/lua/do_export_data.lua:31:
attempt to index global 'host' (a nil value)</pre></body></html>
Ntopng verbose output:
Script Call ---> 19/Sep/2013 08:16:31 [HTTPserver.cpp:253] [HTTP]
/lua/do_export_data.lua
19/Sep/2013 08:16:31 [NetworkInterface.cpp:363] Purged 105/7619 idle flows
19/Sep/2013 08:16:31 [NetworkInterface.cpp:367] Purged 12/2624 idle hosts
19/Sep/2013 08:16:32 [AddressResolution.cpp:222] Error resolution
failure for 152.35.193.201 [-3/Temporary failure in name
resolution/Success]
19/Sep/2013 08:16:32 [AddressResolution.cpp:222] Error resolution
failure for 65.55.246.149 [-2/Name or service not known/Success]
19/Sep/2013 08:16:32 [AddressResolution.cpp:222] Error resolution
failure for 152.35.53.62 [-2/Name or service not known/Success]
19/Sep/2013 08:16:32 [AddressResolution.cpp:222] Error resolution
failure for 173.243.46.194 [-2/Name or service not known/Success]
19/Sep/2013 08:16:32 [AddressResolution.cpp:222] Error resolution
failure for 152.35.191.169 [-2/Name or service not known/Success]
19/Sep/2013 08:16:32 [AddressResolution.cpp:222] Error resolution
failure for 108.160.162.116 [-2/Name or service not known/Success]
Script Failure ---> 19/Sep/2013 08:16:32 [Lua.cpp:1489] WARNING:
Script failure
[/usr/local/share/ntopng/scripts/lua/do_export_data.lua][/usr/local/share/ntopng/scripts/lua/do_export_data.lua:31:
attempt to index global 'host' (a nil value)]
I don't have any issues when going into the GUI nor can I find a
'host' that's missing a name/value.
Thanks!
/sdimoff
_______________________________________________
Ntop-dev mailing list
[email protected]
http://listgateway.unipi.it/mailman/listinfo/ntop-dev
_______________________________________________
Ntop-dev mailing list
[email protected]
http://listgateway.unipi.it/mailman/listinfo/ntop-dev