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

#1216
Hi,

not much changes compared to 2.2. yet. You can find source code here: https://github.com/netxms/netxms/tree/master/src/client/nxapisrv/java

Best regards,
Victor
#1217
Ну да, это они. Если теперь на остановленом сервере сделать

UPDATE object_properties SET is_system=0 WHERE object_id IN (10,11);

То должны появиться в дереве объектов после старта сервера.
#1218
Вспомнил, у них скорее всего стоит атрибут системного объекта. Можно попробовать такой запрос для проверки:

SELECT p.name,p.object_id FROM templates t INNER JOIN object_properties p ON p.object_id=t.id WHERE p.is_system <> 0;

Если будут такие, то выставить им is_system в 0 (при остановленом сервере) и зайти системным пользователем - они будут видны и можно будет как обычно удалить.
#1219
General Support / Re: Mikrotik/RouterOS isCDP
August 24, 2019, 09:03:18 PM
Mikrotik LLDP implementation is not entirely correct, sometimes it reports bridge interface instead of actual port. This was discussed recently in another topic. I have some ideas how to deal with it, will try to implement in next few releases.

Best regards,
Victor
#1220
Попробуйте зайти пользователем system - возможно он увидит этот шаблон.
#1221
General Support / Re: Timescale DB
August 24, 2019, 09:00:41 PM
Just want to node that TimescaleDB support in 3.0 is much better then in 2.2.16, and schema is slightly different (including chunk intervals).

Best regards,
Victor
#1222
Сейчас такой возможности нет. Просто горизонтальную линию можно сделать, создав DCI с источником Internal и в трансформации написав

return 123;

вместо 123 подставить нужную константу, и добавить этот DCI на график.
#1223
Похоже на следы древних системных шаблонов. Если смотреть data collection configuration для ноды, у этих параметров что-то есть в колонке Template?
#1224
Можно сделать через Tools -> Find Object. Если выбрать режим Query, то там пишется NXSL скрипт, причем все параметры каждого проверяемого объекта доступны напрямую, без $object->. Например, все SNMP + CDP ноды можно найти таким запросом:


type == NODE and isSNMP and isCDP


все SNMP + LLDP:

type == NODE and isSNMP and isLLDP


все ноды с текстом "Cisco" в SNMP sysDescription:

type == NODE and sysDescription match ".*Cisco.*"

#1225
Общие вопросы / Re: NetXMS FAQ/ЧаВо
August 24, 2019, 08:49:18 PM
Только в виде событий NetXMS для отработавших правил - синхронизации лог файлов нет.
#1226
In NXSL script you can use $dci->instance (or $dci->instanceData depending on your configuration) to get instance value.

Best regards,
Victor
#1227
Hi,

you can execute two actions for sending emails - one immediately, and one with specific timer and key (set to delay when you want your reminder). With SYS_NODE_UP event you can cancel that timer. If SYS_NODE_UP happens before timer expires then second email will not be sent.

Best regards,
Victor
#1228
Yes, NetXMS uses explicit cutoff points for dropping chunks. But please note that TimescaleDB support in 2.2.16 is quite immature - we have improved it significantly in 3.0 branch.

Best regards,
Victor
#1229
General Support / Re: how to monitor bandwidth
August 20, 2019, 03:54:50 PM
Hi,

you have to provide actual configuration for those DCIs and information about node you are collecting them from - otherwise it's hard to tell what goes wrong.

Best regards,
Victor
#1230
Hi,

interface alias is not passed to SYS_IF_DOWN. You can create script in script library called GetInterfaceAlias with the following code:

return GetInterfaceObject($node, $event->parameters[5])->alias;


and then use macro %[GetInterfaceAlias] in message text.

Best regards,
Victor