News:

We really need your input in this questionnaire

Main Menu
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 - Filipp Sudanov

#856
General Support / Re: Network discovery filter scipt
April 11, 2022, 06:12:58 PM
Hi!

Could it be so that nodes for these IP addresses are already present in the system when discovery happens? If so, the script is not executed, if that address is already added.
#857
This was fixed in development branch and will be included in next patch release.
#858
Не, простых путей нет :)
#859
Все так и должно быть. Механизм репортинга - это лишь интеграция с Jasper Reports. А для Jasper Reports нужны .jar файлы с описанием отчетов, там есть какая-то Jasper Studio в которой можно эти .jar файлы создавать.
#860
There was a bug that access rights for editing two-factor auth methods were not automatically added to admin users when this feature was introduced. Check access right for Admins groups in user manager.
#861
1) Для начала нужно как-то собирать это значение. Например, сделаем DCI, Origin "Internal", Parameter "Dummy". А в трансформационном скрипте этого DCI сделаем все что нужно (то же самое можно было сделать с помощью DCI c origin "script"):

list = $node->readAgentList("System.ActiveUserSessions");
currentlyLoggedUser = SplitString(list[0], "\"")[1];
$node->setCustomAttribute("currentlyLoggedUser", currentlyLoggedUser);
return currentlyLoggedUser;


Для простоты скрипт сохраняет имя юзера в custom attribute на ноде - поэтому историю этого DCI можно даже не хранить.
И теперь можно пользоваться макросом %{currentlyLoggedUser} - там будет имя юзера.


Альтернативный путь - макрос %[script_name] и в этом скрипте можно находить нужный DCI и брать его последнее значение.

2) Репортинг на windows ставится инсталлятором сервера, там есть отдельная галочка.

#863
1) А о каких, например, событиях идет речь? Просто большинство событий никак не связано с тем, залогинен ли кто-нибудь в NetXMS. Может быть, что в данный момент вообще никто не залогинен, может быть что залогинено несколько юзеров.

2) В Services в Windows должен быть сервис NetXMS Reporting Server. Как он себя чувствует, стартует ли? Ему для работы нужна Java, 11 версии или старше.
#864
some URLs were renamed to lowercase-style, please try API_HOME/summary-table/ad-hoc

Admin documentation should have this updated: https://netxms.org/documentation/netxms-admin.pdf
#865
They will appear in upper left corner.
#866
General Support / Re: Trigger Action on remote host
April 04, 2022, 03:58:27 PM
Hi!

There's an issue - when we call .cmd file that produces some output, the execution fails.  (https://track.radensolutions.com/issue/NX-2242)

Currently you can try this in agent configuration file:
ActionShellExec = kill_qv:c:\NetXMS\batches\kill_qv.bat >nul

#867
Most probably you've ran into some bug that happens very rarely.
In such situation it would be beneficial to capture threads before you restart the server. It could be done by running this script (it requires gdb to be installed on the system): https://github.com/netxms/netxms/blob/master/tools/capture_netxmsd_threads.sh

Script should be executed 3 times with 20-30 interval. This would give us debug information to understand where exactly the threads have hanged.
#868
General Support / Re: FileMgr subagent access denied
April 04, 2022, 02:51:52 PM
This could also be access denied due to access control on the server.
In properties of the node under Access Control does your NetXMS user has "Download files" access right?
#869
General Support / Re: Cascading Custom Attributes
April 04, 2022, 01:52:31 PM
Could it be so on your system, that there is another folder under Infrastructure Services that contains these nodes?
#870
General Support / Re: Bug on CreateDCI Function
April 04, 2022, 01:43:08 PM
Hi!

Yes, it's a bug, it will be fixed and included in next patch release.