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

#1831
General Support / Re: [Windows] NetXMS Core won't start
December 13, 2017, 12:49:37 PM
Hi,

please enable logging to file (by setting LogFile = some_file in netxmsd.conf), set debug level to 9 (by setting DebugLevel = 9 in netxmsd.conf), try to start service, and post log file here.

Best regards,
Victor
#1832
Announcements / Re: NetXMS 2.2.1 released
December 13, 2017, 12:47:31 PM
Hi,

persistent storage is implemented. You can access persistent storage entries using # operator. It has two forms:

#identifier

and

#(expression)

If your key conforms to NXSL identifier requirements you can use first form, otherwise (or if you are building key name dynamically) you should use second form. Examples:

1. Set value of key "test":

#test = 123;

or

#("test") = 123;


2. Set value of a key whose name built from prefix "node_" and current node ID:

#("node_" . $node->id) = 42;


3. Print value of key from example 2 multiplied by 10:

println #("node_" . $node->id) * 10;


Best regards,
Victor
#1833
Hi,

we just moved our repository to github (https://github.com/netxms/netxms), so if you are familiar with it you can clone it, edit messages_<lang>.properties and bundle_<lang>.properties files (for example: https://github.com/netxms/netxms/blob/master/src/java/netxms-eclipse/AgentManager/src/org/netxms/ui/eclipse/agentmanager/messages_de.properties - German translation for agent management plugin), and submit pull request.
Alternatively, I can create a package with all language files extracted so you can fix translations and submit back.

Best regards,
Victor
#1834
General Support / Re: Server Actions Remote Execute
December 13, 2017, 12:25:35 PM
Hi,

are you sure that hostname will be resolved correctly? You may try to use %a macro instead that will be expanded into node's primary IP address, or reference to node by name using @%n construct (which is the only option if you are using agent-to-server connection).

Best regards,
Victor
#1835
Hi,

here you can download patched Windows agents: https://netxms.org/download/patches/019/

Best regards,
Victor
#1836
General Support / Re: Server Actions Remote Execute
December 11, 2017, 05:07:44 PM
Hi,

please provide screenshot of your action configuration and rule that triggers it.

Best regards,
Victor
#1837
Hi,

we just fixed this bug. If you are building from sources, you can just re-build agent from current "stable-2.2" branch in our repository or replace file src/agent/subagents/ping/ping.cpp with attached one in your current source tree and rebuild. I'll also repack Windows installers.

Best regards,
Victor
#1838
Что интересно, этот код не менялся уже много лет. Похоже что-то пошло не так с переходом на Visual C++ 2017.
#1839
Announcements / Re: NetXMS 2.2.1 released
December 10, 2017, 12:00:01 PM
Hi,

current download links points to repackaged agents. It should work fine without separately installed VC++ runtime. We didn't fix agent crash issue yet, but was unable to reproduce it either.

Best regards,
Victor
#1840
Quote from: iGodunoff on December 08, 2017, 02:18:32 PM

Запуск программы невозможен, т. к. на компьютере отсутствует api-ms-win-crt-runtime-l1-1-0.dll. Попробуйте переустановить программу.

Это ошибка упаковки инсталлера. Мы перепаковали, попртобуйте заново скачать инсталлятор агента и установить. Издержки перехода на более новую версию Visual C++.
#1841
Я имел ввиду без трансформации. Когда будет пик, надо будет срванить значения без трансформации - какая между ними разница.
#1842
А можно пожалуйста текстовый лог файл?
#1843
Announcements / Re: NetXMS 2.2.1 released
December 08, 2017, 03:36:17 PM
Hi,

try to install runtime from Visual Studio 2017. Seems that we pack it incorrectly.

Best regards,
Victor
#1844
Надо просто

nxagentd -D9

Надо только убедиться что логгирование идет в файл. Ну или добавить DebugLevel = 9 в nxagentd.conf и запустить как службу.

#1845
Еще настройте логирование в файл и дебаг уровень 9, и пришлите лог вместе с полным конфигом. Мы попробовали несколько Windows систем у нас - везде агент работает, так что это какая-то комбинация настроек и особенностей конкретных систем.