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

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

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 (при остановленом сервере) и зайти системным пользователем - они будут видны и можно будет как обычно удалить.
#1202
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
#1203
Попробуйте зайти пользователем system - возможно он увидит этот шаблон.
#1204
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
#1205
Сейчас такой возможности нет. Просто горизонтальную линию можно сделать, создав DCI с источником Internal и в трансформации написав

return 123;

вместо 123 подставить нужную константу, и добавить этот DCI на график.
#1206
Похоже на следы древних системных шаблонов. Если смотреть data collection configuration для ноды, у этих параметров что-то есть в колонке Template?
#1207
Можно сделать через 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.*"

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

Best regards,
Victor
#1210
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
#1211
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
#1212
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
#1213
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
#1214
Очень странно. Можно смотреть что в логах сервера на высоком уровне дебага, 5 и выше. Возможно у второго сервера где-то нет доступа или не прописаны community strings.
#1215
Правый клик на линке - Properties - Data Sources - Add - Добавляем DCI с нужных нод. Если помимо значения надо вывести текст, то в свойствах конкретного data source можно вписать свой format string (значение подставить как %s или %*s если ножна конвертация в K/М/G).