mirror of
https://github.com/ntop/ntopng.git
synced 2026-05-01 16:30:10 +00:00
Added ability to report ZMQ bps/pps as exported in latest nProbe
This commit is contained in:
parent
08c908be2f
commit
89ea597be3
5 changed files with 22 additions and 11 deletions
|
|
@ -67,6 +67,7 @@ class NetworkInterface {
|
|||
nDPIStats ndpiStats;
|
||||
PacketStats pktStats;
|
||||
FlowHash *flows_hash; /**< Hash used to memorize the flows information.*/
|
||||
u_int32_t last_remote_pps, last_remote_bps;
|
||||
|
||||
/* Second update */
|
||||
u_int64_t lastSecTraffic,
|
||||
|
|
@ -305,7 +306,8 @@ class NetworkInterface {
|
|||
#endif
|
||||
void setRemoteStats(char *name, char *address, u_int32_t speedMbit,
|
||||
char *remoteProbeAddress, char *remoteProbePublicAddress,
|
||||
u_int64_t remBytes, u_int64_t remPkts, u_int32_t remote_time);
|
||||
u_int64_t remBytes, u_int64_t remPkts, u_int32_t remote_time,
|
||||
u_int32_t last_pps, u_int32_t last_bps);
|
||||
void startDBLoop() { if(db) db->startDBLoop(); };
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue