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

#2431
Announcements / NetXMS 2.0.5 released
July 19, 2016, 09:18:57 AM
Hi all,

NetXMS version 2.0.5 is out. Changes since previous release:

- Data collection script can return null to indicate data collection error
- Added option to set type of each varbind in nxsnmpset
- Fixed memory leak in PostgreSQL database driver
- New attributes "source" and "sourceId" in NXSL class "Event"
- New method toJson() in NXSL class "Event
- LVM monitoring parameters on AIX
- Added option to get normalized server thread pool load average
- Fixed bug in self-monitoring termplates
- Management console
        - Fixed possible deadlock when executing server script
        - Fixed area charts on dashboards
        - "Interactive" option for line chart dashboard elements
- Fixed issues: #1018, #1039, #1239, #1250, #1255

Best regards,
Victor
#2432
Без патча не получится. Я сегодня/завтра соберу драйвер с изменением, можно будет попробовать.
#2433
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
#2434
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
#2435
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
#2436
На мой взгляд совершенно правильно - каждый скрипт заимается своим делом.
#2437
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
#2438
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
#2439
Could you delete it again, turn on debug 6, run configuration poll, and send me log messages related to that node?

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


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


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


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


в данном примере используется событие с именем SNMP_NOT_DETECTED.
#2443
Зарегистрировал как баг: https://dev.raden.solutions/issues/1257
#2444
Для всех опросов есть hook скрипты: Hook::ConfigurationPoll, Hook::sStatusPoll, и т.д. В данном случае похоже подойдет hook на configuration poll. Еще рекомендую отключить CheckTrustedNodes, иначе могут быть проблемы с поиском объектов.
Не совсем понял как ноды оказались в Infrastructure Services - сам по себе сервер их туда не помещает. В любом случае можно использовать UnbindObject в хуке чтобы убрать ноду оттуда.
#2445
Посмотрел внимательней лог - получается что модем дает ошибку на AT+CMGS. Когда делали отсылку с терминала, как вводили номер? Драйвер дает номер в двойных кавычках (например AT+CMGS="+15557770001"), возможно этот модем такой формат не понимает.