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 - Alex Kirhenshtein

#16
Общие вопросы / Re: FileSystem.Total
January 22, 2026, 12:45:58 PM
если появляются - значит instance discovery фильтр всё еще проходит. DCI удаляются автоматически, если для них фильтр вернул false. По умолчанию - через 7 дней.

Quote from: Argonauts on January 13, 2026, 11:27:07 AMКак мне удалить все DCI, что я наплодил с созданием DCI под instance discovery? Со временем они появляются обратно ::)
#17
Feature Requests / Re: IOS App
December 31, 2025, 01:39:19 PM
Well, it's still in the TestFlight. We need more feedback from users, right now it's a bit on a back burner
#18
Well, we always mention that it's just for the tests and extremely simple setups. SQLite is great for some use cases, but not this one.
Consider it's not available.


Quote from: cwl on November 22, 2025, 11:10:02 AM
Quote from: Filipp Sudanov on November 21, 2025, 03:43:38 PMIs this still with SQLite?
But generally speaking if SQLite is provided as an option - it has work correctly.
#19
update alarms set alarm_state=3 where alarm_state <> 3;
Quote from: Argonauts on November 10, 2025, 09:50:21 AMАктивных алармов 187к -_-
Я могу их как-то скопом потушить? С момента развертывания не трогали алармы
#20
General Support / Re: Sending alarms to N8N?
October 21, 2025, 11:16:19 PM
also you don't need "function main()", just write code.

something like this:

source = FindObject($alarm.sourceObject());

j = JsonObject();
j.set("id", $alarm.id);
j.set("state", $alarm.state);
j.set("severity", $alarm.severity);
j.set("message", $alarm.message);
j.set("source", source ? source.name : "");
j.set("eventCode", $alarm.eventCode);
j.set("eventName", $alarm.eventName);

trace(0, j.serialize());

I highly recommend you to read https://www.netxms.org/documentation/nxsl-latest/.
#21
General Support / Re: Sending alarms to N8N?
October 21, 2025, 10:22:34 PM
There are no "Execute()" function in the NXSL, and you can't execute external commands in any way - that's by design.

What I'd do:
- create Action which runs external shell script to form  json and send query using curl. Pass required event fields as arguments to the script.
- add this Action to EPP (I'd create separate rule just for this integration - this way you can control what exactly being sent)

Or, you setup web service (Settings -> Web service definition), and call it from NXSL. But again, I'd use action for that, not hook.

Note on the json string escaping: instead of manual processing, you can use construct https://netxms.org/documentation/nxsl-latest/#class-jsonobject and produce perfectly valid json.
#23
General Support / Re: v5.1.3 Android Client
September 30, 2025, 10:38:21 PM
Quote from: tolimanjo on September 30, 2025, 05:41:40 AMI was getting the '500' error from the client when using HTTP, and a packet capture showed HTTPS style connection attempts to the server. Perhaps Android was trying to be helpful?
Anyway, putting an HTTPS-HTTP proxy in front of the server (and specifying https:// on the client) fixed the problem.

if protocol is not specified in the connection string, https:// is added.
#24
General Support / Re: "mysql.ddr"
September 26, 2025, 10:52:10 AM
apt install netxms-dbdrv-mariadb

then use DBDriver=mariadb
#25
General Support / Re: v5.1.3 Android Client
September 25, 2025, 01:42:14 AM
Quote from: cserzs on September 24, 2025, 10:40:58 PMWhat is the syntax of the "Hostname or IP" parameter in the mobile app?

You can check if endpoint is correct - it should return information about the API itself, something like:

{"description": "NetXMS web service API", "version": "5.2.3.21", "build": "5.2-366-g15daea330f", "apiVersion": 1}⏎                                                                         
#26
Announcements / Re: NetXMS 5.2 patch release 5
September 22, 2025, 01:33:28 PM
Quote from: johnnyva on September 16, 2025, 07:39:49 AMHey Alex, I'd imagine we should also be checking for dupes on the tdata tables too right?

Yes, if you have table DCIs configured.

But this issue is already sorted in 5.2.6
#27
General Support / Re: Alarm notification call API
September 21, 2025, 09:57:57 PM
Add "server action" in EPP rule where you are creating alarm
#28
Feature Requests / Re: IOS App
September 18, 2025, 07:58:55 PM
Quote from: richard21 on September 18, 2025, 07:40:29 PMVery Nice I have it working one Observation / Issue it doesn't let you logon if you have MFA enabled on the account

Thanks for the report, I'll check it. It supposed to be working.

BTW, you can screenshot app and send comments directly in the TestFlight
#29
Feature Requests / Re: IOS App
September 16, 2025, 11:20:57 AM
It's still in TestFlight, not released into store itself. You can get it here: https://testflight.apple.com/join/B677yBU2
#30
General Support / Re: NetXMS default templates
September 12, 2025, 11:28:02 AM
Quote from: maliodpalube on September 12, 2025, 11:14:39 AMOk, thx, but when trying to import xml template nothing happens it just stands like this indefinitely, can click on ok, only browse or cancel

which version is it?