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

#616
День добрый,

для начала нужно проверить, какая версия сервера, выполнив
netxmsd -v

Ну и на всякий случай перезапустить сервер
systemctl restart netxmsd
чтоб не было ситуации, чтоб бинарники уже новые, а в памяти все еще работает сервер старой версии.

Для проверки можно поставить десктопного клиента и посмотреть, можно ли подуключиться из него
#617
You can try using https://github.com/netxms/nxmc-web-launcher - it should build one .jar that contains web UI and Jetty 10.
#618
Just in case - how many alarms do you have on your system? (can be checked by issuing
sh st
in Tools -> Server Console
#619
General Support / Re: Cisco Switch port bandwidth
June 26, 2023, 11:24:08 PM
Hi!

Most convenient way to achieve this is if you have your interfaces set as Related Object ("Other options" tab in DCI's properties). Related object is automatically set, if you create your DCIs from context menu of interface(s). Or you can set it manually. Or if you use instance discovery to create your DCIs, Related Object can be set from instance discovery filter script.

Then, in Transformation script of your DCI you can use
return $1 * 8 / $dci->relatedObject->speed;and your threshold should be "last polled value > 90", samples: 5.

There is currently one drawback of this approach - to work with traffic counters, DCI type should be Counter32 or Counter64, and the resulting percentage will be integer (it will be seen as float in last values, but will be integer in history and graphs).
You can have another float DCI with push source and push values from transformation script of the first DCI.
Or just wait for this issue to get resolved: https://track.radensolutions.com/issue/NX-2371 - you can watch it in the bug tracker to get notifications.

Feel free to ask any additional questions.
#620
General Support / Re: EPP Timer not working
June 14, 2023, 12:20:26 AM
Hi!

I've tried on my system, everything works as intended.

Just in case, check that there is no other rule that could be interfering with that timer.

You can check in Configuration -> Scheduled tasks. If you enable showing of system tasks (under three dots menu), during your 120 second delay an entry should be visible with correct value in "Timer key" column.

You can also set debug level 7 for debug tags
event.*
scheduler
to monitor event processing and scheduled task execution in server log
#621
I assume you are installing on Windows.
Check NetXMS configuration file C:\NetXMS\etc\netxmsd.conf - it should contain database credentials for your database. Change these credentials is needed to match your database.
#622
General Support / Re: "Dashboard" Tab for Node
June 12, 2023, 06:16:51 PM
Right, I forgot about that checkbox. Actually, it's not strictly necessary, without it you can still open the dashboard from "Dashboard" menu on a node (we will rename this checkbox somehow to demonstrate that it just opens dashboard in a tab by default).
#623
Yes, {} characters are interpreted as part of regular expression. These fields will be renamed, e.g. "DCI name regular expression" to give more understanding.
#624
General Support / Re: "Dashboard" Tab for Node
June 08, 2023, 12:03:48 PM
There is context dashboard functionality, added quite recently, somewhere in 4.x. It could be that it could be improved to be simpler to use, comments are welcome.


If you open data sources of dashboard element, there is button "Add template". There you can specify how to choose what DCI to display - by metric name or description.

The second step is to apply dashboard to a node. This could be done either by auto-apply script in dashboard properties, or manually in properties of a node.
#625
I was not able to replicate this. What kind of ID do you have in m variable, is it decimal number or hex?

I'd try a few things:

- executing this script via "Execute server script" from node context menu. May be you'll see some errors there.
- you can try removing the dot from the beginning of custom attribute name - in this case custom attribute will be visible in node properties. Does setCustomAttribute actually add custom attribute to the node?
#626
Импорт из .xml можно запускать через nxshell. Но вообще вопрос в чем именно задача, возможно можно обойтись без импорта:

 - можно с помощью auto-bind script автоматически назначать шаблоны на ноды, т.е. можно иметь в системе пачку шаблонов и назначать нужный
- можно создавать DCI с помощью instance discovery - это можно делать скриптом
- можно использовать макросы в качестве пороговых значений, интервала сбора и пр. 
#627
Во-первых можно взглянуть на Object Tools - их можно в виде кнопок размещать на дешбордах. У object tools есть intput fields, возможно их будет достаточно чтоб организовать что-то типа меню
Ну и дальше есть два варианта
- Rest API - там не все реализовано. Есть например возможность менять custom attributes, а в DCI можно испольвать %{custom_attribute_name} в качестве порогового значения https://www.netxms.org/documentation/adminguide/rest-api.html#update-object
- nxshell / Java API - там доступено все, что можно делать через nxmc
#628
В версии 4.3 добавили
#629
С версии 4.3 поддерживает
#630
SMTP Authentication was added in 4.3, please see updated documentation: https://www.netxms.org/documentation/adminguide/event-processing.html#notification-channels