Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - adrian69

#1
Announcements / Re: NetXMS 4.3 released
January 31, 2023, 06:49:47 PM
Quote from: Victor Kirhenshtein on January 31, 2023, 06:03:16 PMHi!

I was unable to reproduce telnet service check issue. "[  136] INT32      2" in response indicates connection problem, so agent was unable to connect to given address and port. Could it be that address is a loopback?

For HTTPS checks - it could be certificate issue. Unfortunately agent do not log exact failure reason (I fixed it already in development branch). Try to do same request with curl from command line (using URL exactly as logged - https://x.x.x.x:443/api/status) - will you get any errors?

Best regards,
Victor

Thank you for your prompt response!
Regarding HTTPS check, the thing is netsvc does the check against the IP address, instead of the URL that i have in my request field, so naturally the SSL certificate check would fail. (e.g sending to https://$IP_ADDRESS:443/api/status instead of https://my.host/api/status). As about the telnet check it does say it sends it to the public ip address. ( ** 000000: [    8] INETADDR    $REMOTE_PUBLIC_IP_ADDR). Note that all of the tests were working fine with previous version 4.2 (portcheck). 
#2
Announcements / Re: NetXMS 4.3 released
January 31, 2023, 04:08:44 PM
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!
#3
Announcements / Re: NetXMS 4.0 released
February 22, 2022, 11:24:28 PM
Thanks! Kind of couldn't find that info so i had to ask.
#4
Announcements / Re: NetXMS 4.0 released
February 22, 2022, 07:09:11 PM
Hello,

Running Ubuntu 16.04.7 LTS and i can't find any 4.0 packages released, yet. Does that mean you guys are dropping Xenial support?