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

#646
You can encode such password with nxencpasswd tool. For example:


nxencpasswd dbuser dbpass#123


will produce string


MKGI20iIOABe/NdxPN/ZMjCyW8ng20jLMLJbyeDbSMs=


which you can use as value for DBPassword parameter.

Best regards,
Victor
#647
Announcements / NetXMS 3.8 version 3.8.193
March 04, 2021, 09:38:11 PM
Hi all!

NetXMS 3.8 patch release 3.8.193 is just published. It is must have update for Timescale DB users as it fixes critical compatibility issue with Timescale DB 2.x.
Full change log:

- Fixed Timescale DB 2.x compatibility issues
- New methods isDirectChild, isDirectParent, isChild, isParent in NXSL class "NetObj"
- New NXSL function GetCurrentTimeMs
- Fixed possible server crash when agent tunnel is closing
- Always use UTF-8 instead of current system character encoding for exported CSV files
- Fixed process handle leak in Windows agent when external parameter providers are used
- Westerstrand SNMP device driver can read device geolocation
- NXSL function PollerTrace works in autobind filter scripts and instance discovery filter scripts
- Improved diagnostic output for manually started polls
- Improved network map tooltip data update

Best regards,
Victor
#648
For zoned environments probably the only way is to use filtering script that will check allowed ranges per zone. Mapping tables or custom attributes on zone objects can be used to store allowed or forbidden ranges.
But in general I think we need per zone address range filters, probably implemented as zone object properties.

Best regards,
Victor
#649
Most likely server processes already queued discovery tasks. Restart of netxmsd should fix it.

Best regards,
Victor
#650
General Support / Re: Millisecond resolution in NXSL
March 02, 2021, 10:09:42 PM
Currently it's not possible. I just added new function for that - GetCurrentTimeMs(). It will be available in next patch release.

Best regards,
Victor
#651
Quote from: Akira on March 02, 2021, 08:08:25 AM
Quote from: Victor Kirhenshtein on March 01, 2021, 06:55:21 PM
Ну значит он падает, а не виснет. Сможете прислать дампы?

сервис запущен был.
Там дамп 200мб, как передать?

Можно сюда залить: https://cloud.radensolutions.com/s/GAWHMA9ppyz78LF
#652
Hi,

second issue (404 errors for certain parameters) are normal system activity - server requests various data from nodes, but not every node support all parameters, so 404 response is expected.

PDH error is a bit more strange. When collecting performance counter metadata, agent reads all available objects and counters for each object. Such error means that PDH API reports object, but on attempt to read counters for that object returns error that such object is not found. We will add actual object name to this error message in next patch release - it will help to debug this issue further.

Best regards,
Victor
#653
Yes, it is working. Make sure that nxmc really picks up Java 11.

Best regards,
Victor
#654
General Support / Re: Set Web Console server IP
March 02, 2021, 01:45:46 PM
File nxmc.properties should be placed anywhere in class path. For Tomcat 9 good choice will be shared class path, by default it is $CATALINA_BASE/lib (unless redefined by the common.loader property in $CATALINA_BASE/conf/catalina.properties). You can find more details on Tomcat 9 class loader here: https://tomcat.apache.org/tomcat-9.0-doc/class-loader-howto.html.

Best regards,
Victor
#655
Ну значит он падает, а не виснет. Сможете прислать дампы?
#656
Rule number 5 - it has no condition, so it catches every event, and sends notification.

Best regards,
Victor
#657
Most likely you have some sort of "catch all" rule that also triggered for those events without explicitly listing them (like "all events from object"). If you can show your full policy I can comment further.

Best regards,
Victor
#658
Hi,

seems that there are two different problems. One is with CSV export - currently management console uses current system encoding instead of UTF-8, which can produce files like you have shown. I just fixed that, next version will always use UTF-8 for CSV encoding.
Second issue is likely database encoding - as we are using varchar fields text is converted to whatever character set is choosen for database, with all unsupported Unicode characters converted to ?. Easiest option probably would be to switch database to UTF-8 encoding, but is is only available for SQL Server 2019. If you only encounter such characters in software inventory, you can try to change data type for columns in table software_inventory to NVARCHAR from VARCHAR. I have registered issue in our bugtracker for considering switching to NVARCHAR for MS SQL: https://track.radensolutions.com/issue/NX-2016 - if implemented it will solve issues like this one.

Best regards,
Victor

#659
Hi,

I would create script DCI that will read last known values of two other DCIs and return two distinctive values for match and not match. Then set threshold on it as usual.

Best regards,
Victor
#660
Hi,

if you got emails that means that somewhere you have rule that catches this event and sends an email. Maybe something  generic, like all events from certain devices or with certain severity. Easiest way to turn off processing for this event is to add as first rule in EPP with condition set to just that event and action set to "stop processing".

Best regards,
Victor