datadope-io / skydive

An open source real-time network topology and protocols analyzer
https://skydive.network
Apache License 2.0
1 stars 0 forks source link

Remove warning when node does not have TCPConn or TCPListen metadata keys #8

Closed adrianlzt closed 3 years ago

adrianlzt commented 3 years ago
2021-03-01T07:10:25.123Z        WARN    proccon/proccon.go:533 (*Probe).cleanSoftwareNodes      3392678e09ef: Deleting old network information on node {"ID":"6f81960d-387e-497a-a705-2887e6a06932","Metadata":{"VisibleName":"zabbix-db01 postgresql [5432]","Category":"db","CreatedByCMDB":"true","TID":"6f81960d-387e-497a-a705-2887e6a06932","Name":"zabbix-db01..postgresql__5432","Description":"zabbix-db01 postgresql [5432]","Type":"Software","SubType":"postgresql","Icon":"","Alarms":{}},"Host":"arco","Origin":"api.3392678e09ef","CreatedAt":1614329142465,"UpdatedAt":1614329142465,"DeletedAt":null,"Revision":1}: unable to delete old TCP connections: Field not found

It is normal for software nodes to not have TCPConn/TCPListen keys defined in metadata. So that warning is pointless.

adrianlzt commented 3 years ago

Fixed in 2c1d8240