Greetings,
I’m new to ntopng, using ntopng v.2.0.150531 for some simple network
monitoring for the traffic passing through my Internet/NAT instance VM in
AWS.

As you see below only the client data has valid values (i’m assuming the
n/w traffic originating from this host). It seems the data about received
pkts / bytes is not available (all the values are 0 for the rcvd). I need
to get the whole profile of the host - what / how much it is sending /
receiving … preferably in a json format.

Can anyone help why all rcvd attrs are 0 ? Is there any other way to
accomplish what I’m trying to achieve?

thanks for your help!


$ curl --cookie "user=admin; password=admin" "
http://127.0.0.1:3000/lua/host_get_json.lua?ifname=3&host=10.1.1.10";

{ "mac_address": "02:C4:92:CA:3F:FD", "asn": 14138, "symbolic_name":
"172.25.3.131", "asname": "AS14138", "ip": { "ipVersion": 4, "localHost":
false, "ip": "172.25.3.131" }, "localHost": true, "systemHost": false,
"tcp_sent": { "packets": 4, "bytes": 549 }, "tcp_rcvd": { "packets": 0,
"bytes": 0 }, "udp_sent": { "packets": 1, "bytes": 74 }, "udp_rcvd": {
"packets": 0, "bytes": 0 }, "icmp_sent": { "packets": 0, "bytes": 0 },
"icmp_rcvd": { "packets": 0, "bytes": 0 }, "other_ip_sent": { "packets": 0,
"bytes": 0 }, "other_ip_rcvd": { "packets": 0, "bytes": 0 },
"pktStats.sent": { "upTo64": 4, "upTo128": 60, "upTo256": 12, "upTo512": 5
}, "pktStats.recv": { }, "throughput_bps": 0.000000,
"throughput_trend_bps": "Down", "throughput_pps": 0.000000,
"throughput_trend_pps": "Down", "flows.as_client": 21, "flows.as_server":
0, "num_alerts": 0, "sent": { "packets": 5, "bytes": 623 }, "rcvd": {
"packets": 0, "bytes": 0 }, "ndpiStats": { "Apple": { "bytes": { "sent":
623, "rcvd": 0 }, "packets": { "sent": 5, "rcvd": 0 } } }, "contacts": {
"client": { "8.8.8.8": "11", <snip> }, "server": { } }, "activityStats": {
"1442108383": 3 }, "dns": { "sent": { "num_queries": 9, "stats": { "num_a":
9 } }, "rcvd": { "stats": { } } }, "http": { }, "epp": { "sent": { },
"rcvd": { } } }ubuntu@ip-172-25-1-232:/tmp$
_______________________________________________
Ntop mailing list
[email protected]
http://listgateway.unipi.it/mailman/listinfo/ntop

Reply via email to