Werk #5706: Windows agent: fix endianness of IP addresses

Komponente Checks & agents
Titel Windows agent: fix endianness of IP addresses
Datum 06.03.2018
Level Kleine Änderung
Klasse Bugfix
Kompatibilität Inkompatibel - Manuelle Interaktion könnte erforderlich sein
Checkmk versions & editions
1.5.0b1 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)

The string conversion of IP addresses was falsely done manually in network byte order, resulting in incorrect ouput for IPv6 addresses. Now the conversion is done correctly.

This fix will shortly break the compatibility of logwatch state files stored by the mk_logwatch plugin of previous versions of the Windows agent as they use the remote IP address(es) of the monitoring host(s). When upgrading to the new agent, those log entries that are created exactly after stopping the old agent but before starting the new agent will be lost in monitoring. After starting the new agent, monitoring should work as before.

Zur Liste aller Werks