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

#1171
Announcements / NetXMS 3.0 released
September 11, 2019, 10:46:25 PM
Hi all!

NetXMS 3.0 is officially out! There are few visual changes and lot of them under the hood. Development focus was on improving system stability and performance, especially for large networks: we have improved TimescaleDB support which is now production ready;  zones can have multiple proxies for both redundancy and load sharing; embedded scripting language - NXSL - is up to ten times faster then in previous version.
Upgrade should be smooth in most cases, but there are few changes that could potentially break things:
1. We have switched from TRE to PCRE as regular expression engine. In most cases this should go unnoticed, but in certain cases regular expressions may stop working or produce unexpected results.
2. Some bit fields in NXSL classes (most notably flags in Node class) had changed their meaning. If your script use those fields please check NXSL documentation for changes.
3. Agent policies were merged with templates - all existing policies will be converted into separate templates, and new policies has to be created under template object.
4. SMS drivers replaced by notification channels (so it is now possible to have more than one channel for messaging). Existing driver configuration should be automatically converted to channel named SMS.

Starting with this release we are changing versioning scheme. From now on product version consists of two numbers - major version and minor version. Third number represents build (patch) number. After release there will be no new features in current version, only critical bug fixes. It is guaranteed that all components with same major and minor versions are interoperable. We will publish patched versions (with new build number) only for affected components. So current product version is 3.0, release build is 2258, and next version will be 3.1.

Full change log for version 3.0:

- Event tags
- ICMP polls for collecting ICMP response time statistic on server side
- User agents (desktop support application)
- Raw DCI values saved in history along with corresponding transformed values
- New DCI data types - "32 bit counter" and "64 bit counter"
- Collected DCI data recalculation based on stored raw values and current transformation settings
- Agent always requires encryption unless RequireEncryption parameter explicitly set to off
- Default values for missing custom attributes in macros (in form %{attr:default})
- Support for macros in threshold values
- Improved network discovery filter script capabilities
- Internal server parameters for counting client sessions
- New hook script UpdateInterface
- Node creation option "create as zone proxy"
- JSON support in NXSL
- Improved NXSL performance
- Null values interpreted as "false" in NXSL logical expressions
- Added method executeSSHCommand in NXSL class "Node"
- Cleanup of collected DCI data by housekeeper can be disabled
- Service group support in Tuxedo subagent
- Improved Enduro/X compatibility
- Improved Cisco Aironet (former Airespace) driver
- Added driver for Cisco Nexus switches
- Duplicate IP address detection during network discovery
- Improved I/O performance parameters in Windows agent
- Optional JSON format for log files
- Option to use stdout as log output device
- Switched to pcre (from libtre) as regular expression matching engine
- Event parameters exposed as writable "Event" class attributes in NXSL
- New method "addParameter" in NXSL class "Event"
- "Origin timestamp" for events
- Object management functions in NXSL implemented as object methods
- SNMP functions in NXSL implemented as transport methods
- Range access for strings and arrays in NXSL via [:] operator
- Access to VLAN information from NXSL
- Object tool type "Agent Table" now used to read agent tables and "Agent List" to read agent lists
- Fixed issues:
   NX-183 (Implemented responsible users for objects)
   NX-725 (Add alarm comments from NXSL)
   NX-900 (Server started during nxdbmgr check forced repair)
   NX-1021 (Add event SYS_SERVER_STARTED)
   NX-1102 (Implement event groups)
   NX-1199 (SNMP credentials per-zone)
   NX-1219 (Add 'created' and 'last login' columns to User Manager)
   NX-1271 (Implement internal server topology map)
   NX-1307 (After a node is deleted, its tunnel can't be unbound)
   NX-1386 (Implement units for server variables)
   NX-1426 (Transformation scripts for SNMP traps)
   NX-1479 (DCI poll spread after NetXMS server/service restart)
   NX-1562 (Add "tunnel only" option to node's agent communication configuration)
   NX-1601 (Log Policy editor can't parse xml with unknown event code)
   NX-1643 (Extra parameters for event generated by log parser)

Best regards,
Victor
#1172
На самом деле разработка некоторого функционала оплачивается пользователями. Так что если чего-то не хватает то можно заказывать доработку. Также можно покупать суппорт контракты - чем больше компаний на суппорте, тем больше разработчиков у нас :) Ну и конечно всегда можно сделать пожертвование через PayPal на [email protected], мы будем рады :) У нас раньше была кнопка на сайте, но при обновлении сайта пропала.
#1173
Нужен SNMP на свитчах и поддержка хотя-бы STP, лучше LLDP или CDP. Можно запустить вручную topology poll на свитчах и посмотреть результат.
#1174
General Support / Re: upgrade to 3.0 - from 2.2.10
September 11, 2019, 10:08:53 PM
Hi,

first of all I do recommend using precompiled deb packages instead of building form source. Information about repository is here: https://wiki.netxms.org/wiki/Using_APT_Repository

If you want to build server from source, you have to install the following packages:

libssl-dev libcurl4-openssl-dev libexpat1-dev libsqlite3-dev libjansson-dev libssh-dev libmosquitto-dev libpcre3-dev libmysqlclient-dev

Best regards,
Victor
#1175
General Support / Re: scripting and ssh commands
September 10, 2019, 12:53:05 PM
You can use attributes from node objects (NXSL class Node - https://wiki.netxms.org/wiki/NXSL:Node, accessible via $node variable). SSH credentials are not accessible from NXSL, however it version 3.0 we have added method executeSSHCommand in Node class.

Best regards,
Victor
#1176
В свойствах объекта закладка "access control". Права наследуются, поэтому как правило достаточно дать права на корневой объект. Если забрали доступ у админа, можно зайти пользователем system (предварительно разрешив ему логин и поставив пароль) - у этого пользователя всегда есть все права.
#1177
Это максимальное количество хопов между центральным узлом карты и остальными узлами.
#1178
General Support / Re: Nxshell no longer working
September 06, 2019, 12:19:29 PM
Check what Java version you are using. It could be that Jython is not compatible with newer versions.

Best regards,
Victor
#1179
Попробуйте пересобрать сервер с текущего бранча stable-2.2 (коммит 261e224cb9).
#1180
General Support / Re: scripting and ssh commands
September 05, 2019, 01:26:58 PM
Do you have SSH subagent loaded on node with ID 2493? If yes, check agent's log on that node for how SSH request was processed. You may need to set debug level 5 or higher on agent.

Best regards,
Victor
#1181
A сетевое оборудование есть в мониторинге? Если да, то оно поддерживает информацию о топологии? Еще можно проверить в свойствах карты topology radius - может он поставлен в 1.
#1182
General Support / Re: Netxms HA with Galera Cluster
September 04, 2019, 12:57:28 PM
That won't work either - server caches lot of information (including all objects) for performance reasons and does not expect direct modifications to database.

Best regards,
Victor
#1183
General Support / Re: Netxms HA with Galera Cluster
September 04, 2019, 11:00:52 AM
Hi,

you cannot have two running NetXMS servers connected to the same database. It should be either active/passive cluster, or two separate instances.

Best regards,
Victor
#1184
Система может обнаруживать устройства, надо включить network discovery (Configuration -> Network Discovery). Ну и можно сделать автоматическую карту - создать карту с типом "Lаyer 2 Topology" или "IP Topology" и задать корневое устройство.
#1185
General Support / Re: libnxdbmgr.dll missing
September 04, 2019, 10:57:20 AM
Hi,

it looks like broken installation. You can try to re-install 2.2.15 (just run installer again - it will copy over all files) or upgrade to latest version without checking DB - installer should bring in all necessary files.

Best regards,
Victor