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
Можно сделать через 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.*"

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

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

this is bug in agent cache mode - agent ignores custom schedule and use fixed collection interval. We will fix that.

Best regards,
Victor
#1227
Depending on how you are using server it could be commit 3ab06f4e1c ("fixed server deadlock after action configuration import", 2019-06-19).

Best regards,
Victor
#1228
Quote from: Akira on August 09, 2019, 09:52:04 AM
Quote from: Victor Kirhenshtein on August 09, 2019, 09:50:31 AM
Похоже на 2019 проблема с доступом к PDH, System.Uptime берется оттуда-же.
это можно поправить?
Наверняка можно. Надо будет ставить Server 2019 и смотреть что там.
#1229
Quote from: Akira on August 09, 2019, 09:51:25 AM
Quote from: Victor Kirhenshtein on August 09, 2019, 09:49:35 AM
System.IO.Devices - это список, его не будет в списке параметров. Если сделать

nxget -l ip_address System.IO.Devices

с Server 2019, что он выдаст?
выдает 0
как кстати идентифицировать какой номер диска, соответствует какому физическому?
Значит там один диск, с номером 0. Можно посмотреть таблицу Hardware.StorageDevices, будет что-то такое:

victor@netxms:~$ nxget -T fin Hardware.StorageDevices
| NUMBER | TYPE | TYPE_DESCRIPTION | BUS_TYPE | REMOVABLE | SIZE        | MANUFACTURER | PRODUCT          | REVISION | SERIAL                           |
| 0      | 0    | Direct-access    | SAS      | 0         | 85899345920 | VMware       | Virtual disk     | 1.0      | 6000c298b14cbc6f88a1e26bb24a8cd8 |

#1230
Feature Requests / Re: Dashboard Templates
August 09, 2019, 10:04:55 AM
Hi,

no updates yet. Closest thing we have now is graph templates - can help in some situations.

Best regards,
Victor