Hello and thanks for the update!
Having issue with some of my network service monitors (different ports and protocols) after upgrading to 4.3. Nothing actually works, except for HTTP checks. Neither HTTPS nor Telnet.
How can configure a custom network service monitor (not DCI, and obviously using netsvc)? Is there any recent documentation that would possibly clarify this for me?
Example debug log HTTPS request:
** 000000: [ 8] INETADDR X.X.X.X
** 000020: [ 130] INT16 6
** 000028: [ 132] INT16 443
** 000030: [ 131] INT16 6
** 000038: [ 133] UTF8-STRING "my.host/api/satus"
** 000070: [ 134] UTF8-STRING "200"
2023.01.31 08:44:33.938 *D* [comm.cs.171 ] Received message CMD_CHECK_NETWORK_SERVICE (3)
2023.01.31 08:44:33.939 *D* [comm.cs.171 ] Command processed by sub-agent NETSVC
2023.01.31 08:44:33.939 *D* [comm.cs.171 ] Sending message CMD_REQUEST_COMPLETED (ID 3; size 64; uncompressed)
2023.01.31 08:44:33.939 *D* [comm.cs.171 ] Outgoing message dump:
2023.01.31 08:44:33.942 *D* [netsvc ] NetworkServiceStatus_HTTP(https://X.X.X.X:443/api/status
call to curl_easy_perform failed
2023.01.31 08:44:33.943 *D* [comm.cs.170 ] Command processed by sub-agent NETSVC
2023.01.31 08:44:33.943 *D* [comm.cs.170 ] Sending message CMD_REQUEST_COMPLETED (ID 3; size 64; uncompressed)
Example debug log - custom (Telnet) TCP port check:
** 000000: [ 8] INETADDR X.X.X.X
** 000020: [ 130] INT16 7
** 000028: [ 132] INT16 23
** 000030: [ 131] INT16 6
** 000060: [ 134] UTF8-STRING ""Connected""
2023.01.31 08:44:30.488 *D* [comm.cs.158 ] Received message CMD_CHECK_NETWORK_SERVICE (3)
2023.01.31 08:44:30.518 *D* [comm.cs.158 ] Command processed by sub-agent NETSVC
2023.01.31 08:44:30.518 *D* [comm.cs.158 ] Sending message CMD_REQUEST_COMPLETED (ID 3; size 64; uncompressed)
2023.01.31 08:44:30.518 *D* [comm.cs.158 ] Outgoing message dump:
** 000000 | 00 1D 50 00 00 00 00 40 00 00 00 03 00 00 00 03 | ..P....@........
** 000010 | 00 00 00 1C 00 00 00 00 00 00 00 00 00 00 00 00 | ................
** 000020 | 00 00 00 88 00 00 00 00 00 00 00 02 00 00 00 00 | ................
** 000030 | 00 00 01 EB 00 00 00 00 00 00 00 1E 00 00 00 00 | ................
** code=0x001D (CMD_REQUEST_COMPLETED) version=5 flags=0x0000 id=3 size=64 numFields=3
** 000000: [ 28] INT32 0
** 000010: [ 136] INT32 2
** 000020: [ 491] INT32 30
Thank you!