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

#2491
General Support / Re: Invalid network mask
July 18, 2016, 12:47:34 PM
Hi,

seems that agent read network mask incorrectly. I'll check it.

Best regards,
Victor
#2492
Hi,

it is not possible to transfer collected data from one server to another. However, agent can work simultaneously with multiple servers - you just have to list them in agent's config file. It is possible to change agent configuration from NetXMS server if this server address listed in MasterServers parameter on agent. You can edit agent config from management console by right-clicking on the node and selecting "Edit agent configuration".

Best regards,
Victor
#2493
Hi,

node object in FindObject call is not for limiting search scope, but for access control (it will only find objects where this node set as trusted if trusted nodes check is on). If you have trusted nodes check off, you can pass null as node parameter.

Best regards,
Victor
#2494
На мой взгляд совершенно правильно - каждый скрипт заимается своим делом.
#2495
Another option besides source code change is to create local port mappings on NetXMS server itself on some fake subnet, different local virtual IP for each NAT'ed device.

Best regards,
Victor
#2496
Hi,

this message could also mean that server cannot find required dll for pgsql.ddr. Check that postgreSQL client dll's are in your PATH.

Best regards,
Victor
#2497
Could you delete it again, turn on debug 6, run configuration poll, and send me log messages related to that node?

Best regards,
Victor
#2498
Общие вопросы / Re: POLLERS is too high
July 07, 2016, 12:51:26 PM
Планируется что будут появляться и другие шаблоны - поэтому для старых инсталляций параметр по умолчанию 0. Сейчас только несколько шаблонов для мониторинга самого сервера. Сломать ничего не сломает, просто будут дополнительные шаблоны и события.
#2499
например так:


value = GetCustomAttribute(int, "ImportantInterface");
if (value == null)  // нет такого атрибута
{
   int->setExpectedState(0); // UP
}


status propagation из скрипта поменять нельзя.
#2500
SYS_SNMP_UNREACHABLE генерируется только если SNMP на ноде был. Можно сделать hook скрипт для configuration poll, который будет проверять наличие SNMP и генерировать событие если SNMP нет:


if (!$node->isSNMP)
   PostEvent($node, "SNMP_NOT_DETECTED");


в данном примере используется событие с именем SNMP_NOT_DETECTED.
#2501
Зарегистрировал как баг: https://dev.raden.solutions/issues/1257
#2502
Для всех опросов есть hook скрипты: Hook::ConfigurationPoll, Hook::sStatusPoll, и т.д. В данном случае похоже подойдет hook на configuration poll. Еще рекомендую отключить CheckTrustedNodes, иначе могут быть проблемы с поиском объектов.
Не совсем понял как ноды оказались в Infrastructure Services - сам по себе сервер их туда не помещает. В любом случае можно использовать UnbindObject в хуке чтобы убрать ноду оттуда.
#2503
Посмотрел внимательней лог - получается что модем дает ошибку на AT+CMGS. Когда делали отсылку с терминала, как вводили номер? Драйвер дает номер в двойных кавычках (например AT+CMGS="+15557770001"), возможно этот модем такой формат не понимает.
#2504
Общие вопросы / Re: POLLERS is too high
July 07, 2016, 12:19:02 PM
Стандартные шаблоны лежат в <prefix>/share/netxms/templates (/usr/share/netxms/templates для deb пакетов, <path>\share\templates на Windows). Сервер при старте импортирует все из этого каталога, если параметр ImportConfigurationOnStartup выставлен в ненулевое значение.
#2505
Hi,

do those subnets have same network mask?

Fix should be quite easy - just delete one of them (make sure you don't have nodes that are only in subnet being deleted).

Best regards,
Victor