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 - Victor Kirhenshtein

#31
Announcements / NetXMS 4.4 patch release 4
November 28, 2023, 09:43:29 PM
NetXMS version 4.4.4 is just published. Changes since version 4.4.3:

-  New methods in NXSL class "InetAddress": contains, equals, inRange, sameSubnet
-  Constructor for NXSL class "InetAddress" accepts mask length as second argument
-  Fixed incorrect ICMP polling if ICMP proxy set on node level
-  Improved topology discovery on TP-Link devices
-  Improved driver for DLink devices
-  Added driver for TP-Link devices
-  Added driver for Eltex devices
-  Added driver for Q-tech devices
-  nxencpasswd can read password from terminal
-  GUI clients built with patched version of simple-xml (fixes CVE-2017-1000190)
-  Fixed deadlock after login in legacy web UI

Fixed issues:
-  NX-2431 (Implement agent list Net.IP.RoutingTable for AIX)
-  NX-2478 (Named function parameters does not work for entry points)
#32
Announcements / NetXMS 4.4 patch release 3
November 02, 2023, 04:45:19 PM
NetXMS version 4.4.3 is just published. Changes since previous patch release:

-  Package deployment can be scheduled
-  Server-side macro expansion in package deployment command
-  Use compact JSON format when saving events to database
-  Improved event processing performance
-  Improved NXSL function "random"
-  New event processing macros %d (DCI description), %D (DCI comments), %L (object alias), and %C (object comments)
-  Added driver for FortiGate devices
-  Fixed server crash during execution of delayed EPP action
-  Fixed server crash when processing interfaces with 8 byte MAC address
-  Fixed session disconnect handling in new management client application
-  Fixed bug in physical disk information reading on Windows
-  Fixed bug in SSH key store
-  Improved debug logging
-  Minor fixes and improvements in new management client application
-  Fixed issues:
   -  NX-1063 (Interface icon is incorrect)
   -  NX-2224 (Command history in nxadm)
   -  NX-2446 (Increase timeout for agent tunnel binding)
   -  NX-2463 (Add metric to measure execution time of background queries in dbquery subagent)
   -  NX-2467 (Allow to execute same action multiple times in one EPP rule)
   -  NX-2468 (NetworkService.Status SMTP call to curl_easy_perform failed (56: Command failed: 502))
   -  NX-2469 (Empty "Parameters" line should be interpreted as no arguments in Execute Script)
   -  NX-2471 (Add agent list and table to list physical disks)
   -  NX-2475 (netsvc: ServiceCheck.SMTP() uses VRFY command, which is disabled on most servers)
#33
General Support / Re: TCPProxy -
October 16, 2023, 10:58:21 AM
Hi!

You should be able to use all the % macros in object tools (same macros as in event processing), so you can use custom attribute to define TCP port for example.

Currently there is no control on local port number - system allocates random port, typically from an ephemeral port range. It should not be a problem for desktop client, as this port is used only on loopback interface. FOr web client it could be an issue though, if you use web connect object tool from web client.

Best regards,
Victor
#34
General Support / Re: NetXMS 4.4.1 server failed
September 05, 2023, 06:09:47 PM
This looks like a bug in the server. Please try upgrading to 4.4.2, if this will not help, please try to run netxmsd under debugger and provide stack trace after crash.

Best regards,
Victor
#35
General Support / Re: Teltonika driver, node name
September 05, 2023, 06:08:32 PM
There is no such option in the driver. However, it is possible to use configuration poll hook to test if node name is "name" and driver is "TELTONIKA", and rename it as desired. Sample script that does this and sets node name to product name:

if ($node->name == 'name' and $node->driver == 'TELTONIKA')
{
   $node->rename($node->productName);
}

Best regards,
Victor
#36
Announcements / NetXMS 4.4 patch release 2
September 05, 2023, 12:39:37 PM
New patch release 4.4.2 is just published. Changes since previous release:

-  Server checks interface speed during status poll and generates event if it changes
-  Improved Cambium device driver
-  Added driver for Hirschmann switches
-  Implemented implicit import for constants in NXSL
-  NXSL implicit import does not add non-referenced functions and constants from imported module
-  Context action "Change expected interface state" implemented in new GUI client
-  Context action "Clone network map" implemented in new GUI client
-  Masked credentials in "Network Credentials" view
-  Fixed bugs in TCP proxy session closure handling (server and agent side)
-  Fixed bug in parsing XML content returned by web service
-  Fixed template apply/remove in new GUI client
-  Fixed server crash when network map uses physical link with non existing rack
-  Fixed audit log writing on object move


Fixed issues:
-  NX-2410 (Notification driver is locked during retry waiting period)
-  NX-2432 (Query interface speed when status poll detects that interface goes up)
-  NX-2441 (Auto-focus on Two-Factor input on WebUI)
-  NX-2442 (Maintenance predefined time)
-  NX-2449 (Unexpected SYS_DUPLICATE_IP_ADDRESS generation)
-  NX-2450 (microhttpd presence is not detected correctly)
-  NX-2451 (GetDCIValue() should return same data type as set in DCI properties)
-  NX-2452 (Agent on Windows returns only one software inventory record when multiple versions of same software are installed)
#37
Hi,

try just
59 * * * 6-7
for second schedule - it should have same effect.

Best regards,
Victor
#38
Hi,
looks like TCP connection between your workstation and the server is terminated for some reason. Can you reconnect normally after receiving this error? I would suggest checking client log file (it is in home directory .nxmc4/nxmc.log) and server log file with debug level 6 for tag "client.*".
Best regards,
Victor
#39
It is fixed in current development branch (change expected state added to new UI). We will do patch release 4.4.2 soon, fix will be part of it.

Best regards,
Victor
#40
Announcements / Re: NetXMS 4.4 patch release 1
August 30, 2023, 07:49:31 PM
Looks like web UI was not updated. Sometimes restart of Java application server can help, and/or deletion of temporary files of application server.

Best regards,
Victor
#41
Feature Requests / Re: Client Reconnect
July 25, 2023, 12:45:50 PM
We have this planned for 5.0.

Best regards,
Victor
#42
Configuration is correct, so it looks like a bug in agent (or libmosquitto). I will try to reproduce it in the lab.

Best regards,
Victor
 
#43
Announcements / NetXMS 4.4 patch release 1
July 18, 2023, 10:42:24 PM
We just published patch release 1 for version 4.4. Changes since 4.4.0:

- Improved support for LLDP-V2-MIB
- Server can use both LLDP-MIB and LLDP-V2-MIB if supported by device
- Server saves SNMPv3 context engine ID alongside authoritative engine ID to avoid unnecessary engine ID discovery
- NXSL function GetDCIValues can be used to retrieve raw DCI values
- Added method "enableWinPerfCountersCache" to NXSL class "Node"
- Custom timeouts for external metric providers in agent
- Fixed incorrect display of line chart series with "Invert values" option
- Fixed database upgrade procedure (zone UIN update)
- Fixed memory leak in subagent "netsvc"
- Fixed bug in NXSL function FormatMetricPrefix
- Added workaround for "unexpected eof" OpenSSL error reported by web service calls to some servers
- Minor fixes in asset management
- Minor fixes and improvements in new management client application

Fixed issues:
- NX-2407 (Add the ability to duplicate server action in action manager)
- NX-2414 (nxdbmgr should ignore data for deleted DCIs if there's record in dci_delete_list for that DCI)
- NX-2415 (Legend text color is ignored in the nxmc console)
- NX-2419 (When log file monitoring with wildcards is used, data right after file creation might be skipped)
- NX-2428 (Cannot import configuration if threshold activation or deactivation event tags are missing or empty)
- NX-2434 (Add option to set user, password as a parameters for IMAP and SMTP)
- NX-2435 (0 is not shown on Y scale in graphs)
#44
I have made some changes in reading LLDP information in upcoming release 4.4.1. FIrst of all there were few bugs left in reading LLDP-V2 MIB. Also, now server will use both LLDP-MIB and LLDP-V2-MIB if supported by device, and LLDP-MIB takes precedence. This should solve discovery issues.

Best regards,
Victor
#45
Another option is to call functions by explicitly specifying script name. For example, if you have script

MIKROTIK::Update and function doUpdate within it, instead of doing
import MIKROTIK::Update;

doUpdate();

you can do

MIKROTIK::Update::doUpdate();

But wildcard import could be useful anyway, I agree on that.