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

#406
General Support / Re: Compile NetXMS server for Windows
February 23, 2022, 03:43:19 PM
Hi,

should be safe.

Best regards,
Victor
#407
Announcements / Re: NetXMS 4.0 released
February 22, 2022, 10:38:59 PM
Hi,

General support for Ubuntu 16 ended in 2021, so we decide to exclude it from general release. Packages may still be made available if there will be request from customers with valid support contract (but we didn't get any yet).

Best regards,
Victor
#408
Announcements / Re: NetXMS 4.0 patch release 4.0.2157
February 22, 2022, 10:34:17 PM
Quote from: Watchman on February 22, 2022, 05:15:21 PM
Hi!

I'm facing some problems with package deployment.

For example: msi-Package "A" is successfully deployed to most nodes but for some the message "file transfer failed" appears.
msi-Package "B,C,D" are successfully deployed to nodes where Package "A" fails.

Another case: Message "timeout" appears - in fact package has been successfully deployed (not really a problem)

Best regards.

Hi,

could you provide logs from problematic agents (preferably on high debug level, 5 or 6)?

Best regards,
Victor
#409
Announcements / Re: NetXMS 4.0 patch release 4.0.2157
February 22, 2022, 10:32:59 PM
Quote from: lweidig on February 22, 2022, 06:54:06 PM
The Ubuntu package for the agent does not include mysql.nsm subagent or any of the others, though only interested in mysql at this point.  I also installed the netxms-dbdrv-mariadb package (as the mysql package not available for Ubuntu 20) and it did not provide that either.

That's packaging issue, subagent itself can use mariadb driver, but seems that it is packaged only if mysql driver is selected. We will fix it for next release.

Best regards,
Victor
#410
Announcements / Re: NetXMS 4.0 patch release 4.0.2157
February 22, 2022, 10:29:13 PM
Quote from: Spheron on February 22, 2022, 06:10:37 PM

Hello @all,

i fenced a problem too... If i select more then 16x DCI and choose Line Chart from the right click menu, the chart is not display correct. This bug i have in dashboards, too.

Bug is present since V4.0.2157.

Greetings
Marco

Hi,

actually charts does not support more than 16 items, and it was like this since very old versions.

Best regards,
Victor
#411
Announcements / NetXMS 4.0 patch release 4.0.2157
February 22, 2022, 10:51:04 AM
Hi all!

We just published another patch release for 4.0 that fixes some newly found issues:

NX-2212 (Agent segmentation fault when accessing table Hardware.NetworkAdapters)
NX-2213 (Set event parameter from NXSL by index)

It also adds new parameter Oracle.Cursors.MaxPerSession to Oracle subagent.

Best regards,
Victor
#412
General Support / Re: Compile NetXMS server for Windows
February 21, 2022, 11:46:13 AM
Hi,

no, not cross compile - just if you have a choice of platform then Linux is easier to work with.

Best regards,
Victor
#413
General Support / Re: Nodes DCI Timestamp incorrect
February 21, 2022, 11:45:08 AM
Hi,

most likely there was short period of time when system clock was set at 24.08.2033. Now server is not scheduling those DCIs to poll because current time is less than last value timestamp. Try to stop the server and run nxdbmgr check - it should delete incorrect records thus allowing normal data collection scheduling.

Best regards,
Victor
#414
General Support / Re: Compile NetXMS server for Windows
February 18, 2022, 05:35:08 PM
Hi,

you need Visual Studio 2017, and some precompiled 3rd party libraries: OpenSSL, libssh, libmosquitto, libcurl, database client libraries. You should add those libraries to include path and library path of Visual Studio. You will also need flex, bison, and perl in your path.
In general, setting up Windows build environment is much more complicated than Linux one, so if you have a choice, I'd really recommend going with Linux.

Best regards,
Victor
#415
Hi,

you can set custom attribute on a node to current time from first event, and for the second event use script macro to read custom attribute value and return the difference with current time. For example:

1. Create script in script library called SetSignalLossTime:

$node->setCustomAttribute(".signalLossTime", time());


2. Create script in script library called GetSignalLossDuration:

t = $node->getCustomAttribute(".signalLossTime");
return (t != null) ? time() - t : 0;


3. Create server action of type script that will execute script SetSignalLossTime.

4. Add action from #3 to EPP rule where you generate alarm for signal loss.

5. In the message template for recovery event add %[GetSignalLossDuration] to insert duration of signal loss.

Best regards,
Victor
#416
Announcements / NetXMS 4.0 patch release 4.0.2151
February 18, 2022, 05:23:26 PM
Hi all!

We just published another patch release for 4.0 which fixes two important issues:

NX-2210 (Network Service HTTP polling ports above 32767 generates incorrect Host header in HTTP request)
NX-2211 (Agent crash while processing request for System.ThreadCount)

Best regards,
Victor
#417
Announcements / NetXMS 4.0 patch release
February 17, 2022, 11:00:43 PM
Hi all!

We just published patch release for version 4.0 (4.0.2148). Changes since previous release:

- New attribute "lastCollectionTime" in NXSL class "DCI"
- Notification channel driver for Twilio
- Fixed server crash on receiving SNMP trap if configuration parameter SNMP.Traps.LogAll is set to true
- Fixed bug in automatic object binding
- Fixed bug in NXSL function FormatMetricPrefix
- Fixed bug in business service state calculation
- Fixed incorrect handling of manually set Y axis range on bar charts
- Fixed issues:
        NX-2153 (Add REST API endpoint for persistent storage)
        NX-2198 (Alternative data source for agent parameters Hardware.System.* on Linux)
        NX-2209 (cpuid.h is not supported on ARM macOS)

Best regards,
Victor
#418
Hi, do you have core dump from crash? If not, could you run netxmsd under gdb until it crashes? If you can, make sure that you have installed the following packages:

netxms-server-dbg
netxms-dbdrv-mariadb-dbg

The run as following in terminal:

gdb netxmsd
On gdb prompt, enter
run -D1

When server crashes, you will get gdb prompt again. Enter command
bt

and share the output.

Best regards,
Victor
#419
Announcements / Re: NetXMS 4.0 released
February 11, 2022, 06:05:01 PM
We just uploaded patched version of UI (version 4.0.2111).

Best regards,
Victor
#420
Hi,

probably just ignore them, or set EPP filter to prevent generation alarms. Events will be generated only once for each DCI, so they should stop appearing when new templates will be applied to all old agents.

Best regards,
Victor