Recent posts

#21
General Support / Re: How to use setCustomAttrib...
Last post by Alex Kirhenshtein - August 09, 2026, 05:01:18 PM
Hi,

setCustomAttribute is not broken, it is blocked on purpose. 6.2 added a server configuration parameter Scripts.RestrictWriteAccess, enabled by default on both new installations and in-place upgrades. With it enabled, transformation, threshold, filter and other "analysis" scripts run under a read-only security context and cannot modify objects.

Here's what's actually happening: the call is not rejected with a script error. setCustomAttribute just returns false and does nothing, so the script keeps running and returns its value as usual - that is why it looks like the function silently stopped working. Reading is not affected, getCustomAttribute in the same script still works. The integer value in your example is fine, numbers are accepted.

The restriction covers transformation scripts for both single-value and table DCIs, threshold scripts, script-type DCIs, macro expansion in DCI and object text, autobind filters, conditions, business service checks and prototype instance discovery, EPP filter and RCA scripts, asset property autofill, network map filter and link styling scripts, and SNMP trap transformation.

Simplest approach is to turn it off: Server Configuration -> Scripts.RestrictWriteAccess -> 0. It takes effect immediately, no server restart needed. Note that it is a global switch - it re-enables writes for every script type listed above, not just for your DCI.

If you prefer to keep the restriction on, move the write out of the transformation script. Server actions of type "execute server-side script" and poll hook scripts are not restricted, so a script invoked from an EPP rule can still set custom attributes.

To confirm this is what you are hitting, enable debug tag nxsl.security at level 7 - every blocked call logs "Read-only script access denied" with the object name and id.
#22
General Support / How to use setCustomAttribute
Last post by daniel23 - August 09, 2026, 01:26:20 PM
Hello,

first I would like to thank you for the excellent and very useful system.

Now I need your help. Since server version 6.2, the setCustomAttribute function doesn't work in either the transformation or threshold script.
For example, I use $node.setCustomAttribute("a",5); which no longer works now. How should I use the function correctly?

Thank you in advance
Daniel
#23
Правило 31
#24
Сегодня обновлял сервер netxms до версии 6.2.2. Перед обновлением перевел все ноды в режим обслуживания на 30 мин.
Сделал резервную копию вирт машины с netxms, обновил сервер. Заняло порядка 20-25 мин. После обновления пришли уведомления от некоторых нод (все подключены через тунель). Скриншот лога событий прилагаю.

Вопрос: может на правиле 31 Mail alarm when the node behind the proxy is down in 7 min нужно включить скрипт проверки что нода не в режиме обслуживания?
#25
Feature Requests / Re: IOS App
Last post by Alex Kirhenshtein - August 01, 2026, 06:33:53 PM
2fa added in build 34
#26
General / Re: Apple MobileWebKit touch i...
Last post by Alex Kirhenshtein - August 01, 2026, 06:23:41 PM
Hi,

Thank you for the effort. I'm not sure you'll be able to push it (judging by other pending issues in RCP/RAP), but there is good news as well - we'll migrate away from RAP in the near future. The new web is built from scratch and not Java-based. It currently exists as an internal beta.
#27
General / Apple MobileWebKit touch inter...
Last post by ExactDoug - July 31, 2026, 08:22:12 AM
I have created this:
https://github.com/eclipse-rap/org.eclipse.rap/issues/398

Has working code, minimal atomic changes, detailed explanations, etc.

I will develop & submit further and probably submit a PR in the very near future.

I am hoping NetXMS will use this to enable the content within panes in the UI to respond to touch nicely with Apple devices (especially the network topology diagram maps).

Nice project. I'm really glad I found NetXMS here on the other side of the pond.
:-)
#28
General Support / Re: How to monitor Proxmox ve ...
Last post by kavirondo - July 30, 2026, 08:30:49 PM
Many thanks for the info Alex.
#29
Feature Requests / Re: IOS App
Last post by richard21 - July 30, 2026, 07:09:12 PM
This Build still has the issue of being unable to log in if MFA is enabled will this be resolved in a future build
#30
Feature Requests / Re: Sub Zone
Last post by richard21 - July 30, 2026, 07:08:36 PM
Thanks for the reply and information