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
In general I always recommend to start with https://pgtune.leopard.in.ua, when using Postgres
#17
Check Postgres's log - good chance you run out of shared memory
#19
make sure that you have

Module=aitools

in the core section of the netxmsd.conf
#20
also set debug tag ai.skills to 6 or higher and look for skill loading messages
#21
check server log, on level 2 or higher there should be messages like this:

   nxlog_debug_tag(DEBUG_TAG, 2, L"%d global functions registered", static_cast<int>(s_globalFunctions.size()));
   nxlog_debug_tag(DEBUG_TAG, 2, L"%d skills registered", static_cast<int>(GetRegisteredSkillCount()));


are they non-zero?
#22
we just pushed documentation update: https://netxms.org/documentation/adminguide/ai.html
#23
fixed
#24
thanks for the report, I've forgot to move this hostname during migration to another server.
#25
General Support / Re: Mac version 6.0.0 not downloading
February 10, 2026, 01:45:12 AM
yes, it's know issue - package will be available tomorrow.
#26
There are no arm installer (yet), but you can download standalone jar file, install java, and launch jar file directly
#28
function GetTree(nodeID)
{
    obj = FindObject(nodeID);
    if (obj == null) return;
   
    children = obj.children;
   
    for (n : children)
    {
        if (classof(n) == "Node")
        {
            ifaces = n.interfaces;
            for (iface : ifaces)
            {
                if (iface.description ~= "WAN")
                {
                    println("Node: " .. n.name .. ", Interface: " .. iface.name .. ", Description: " .. iface.description .. ", IP: " .. iface.ipAddr);
                }
            }
        }
        // Рекурсия ВЫНЕСЕНА за пределы условия - обходим все контейнеры
        GetTree(n.id);
    }
}

GetTree(2);

Основные изменения:

- function вместо sub — современный синтаксис
- obj.children вместо GetObjectChildren(obj)
- . вместо -> для доступа к свойствам
- .. для конкатенации строк (вместо , в println)
- Рекурсия вынесена за пределы условия classof(n) == "Node"
#29
Общие вопросы / 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? Со временем они появляются обратно ::)
#30
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