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

#1486
General Support / Re: SubAgent - icmp ping
November 08, 2018, 12:16:59 PM
Hi,

you should run nxget command on your NetXMS server - it is command line tool that connects to agent and requests given parameter. It is also strange that average ping time is provided, so agent definitely can ping targets in background. Please also try to request Icmp.Ping with nxget and show actual DCI configuration.

Best regards,
Victor
#1487
Я думаю что кроме основной команды разработчиков никто не пробовал самостоятельно писать драйвера, а у нас нет ни устройств для тестирования, ни времени. А что конкретно требуется от драйвера в случае этих устройств? Как правило драйвер нужен если часть информации (VLAN'ы, какие-то интерфейсы) недоступна через стандартные MIB'ы (которые использует generic драйвер).
#1488
Hi,

I'm not sure that installing it dynamically will work. You'll probably need to package your plugin together with rest of GUI by modifying nxmc.product file or creating your own product definition.

Best regards,
Victor
#1489
General Support / Re: MIB Parser Error
November 02, 2018, 11:15:09 AM
Could you provide archive with all your MIB files so we can test them?

Best regards,
Victor
#1490
Hi,

if you see two packets in Wireshark then it means packets are actually duplicated. NetXMS server cannot distinguish SNMP trap packets duplicated in transit from two different trap packets, so it process them both. You have to address your network problem - it is definitely network misconfiguration.
"vcase" was a typo - it should be read "case".

Best regards,
Victor
#1491
Можно собирать статистику с интерфейса (принятые/отосланные байты или пакеты), при необходимости считать среднее за минуту или секунду. Собственно трафик снимать и анализировать нельзя.
#1492
Нет, неправильно (или пропущены шаги в описании конфигурации). Событие будет сгенерировано агентом и обработано в policy, threshold тут ни при чем. Выше речь шла о том, что событий надо два. Примерно такая конфигурация:

1. Созданы события (шаблоны событий) Event_1 и Event_2.
2. Включен субагент logwatch.nsm на сервере. Настроен парсер на отсылку события Event_1 при обнаружении нужной записи.
2. Правило в policy для Event_1 с действием "execute NXSL script". Скрипт примерно такой:

SetCustomAttribute($node, "LastParserDetectionTime", time());

3. Создан DCI с source "Script". Скрипт для него используется такой:

return time() - GetCustomAttribute($node, "LastParserDetectionTime");

4. На DCI добавлен threshold, он генерирует Event_2.
5. В policy добавлено правило по отсылке письма по Event_2.
#1493
Попробуем у себя повторить.
#1494
Это параметр DataDirectory, по умолчанию <prefix>/var/lib/netxms
#1495
Можно при нахождении записи генерировать событие как обычно. По этому событию обновлять custom attribute на ноде в текущее время. Сделать скриптовый DCI на ноде со скриптом вида

return time() - GetCustomAttribute($node, "LogTimeAttribute");

он будет возвращать количество секунд с момента последнего обнаружения записи. Ну и поставить на него threshold как обычно.
#1496
General Support / Re: Link Color not Updated on the MAP
October 26, 2018, 01:13:22 PM
Please show also "General" page of link properties. Also, if it is based on interface status, did you check what was actual interface status at that moment?

Best regards,
Victor
#1497
Hi,

looks like packets actually got duplicated and sent via both links. You can check that using packet capture tool (Wireshark for example). If this is the vcase then it is network misconfiguration.

Best regards,
Victor
#1498
General Support / Re: NetXMS 2.2.7- Network Maps
October 26, 2018, 12:57:27 PM
Hi,

it needs detailed investigation by analyzing actual LLDP and other topology data from switches and checking how server process it. I don'yt have much time for that right now, please remind me later next week.

Best regards,
Victor
#1499
Announcements / NetXMS 2.2.10 released
October 26, 2018, 12:26:57 PM
Hi all!

NetXMS version 2.2.10 is released. Changes since previous release:

- Improved server startup time
- Added server startup event SYS_SERVER_STARTED
- New method readInternalParameter in NXSL classes Node, Cluster, MobileDevice
- Improved cached agent data reconciliation
- Fixed DCI instance discovery issues
- Fixed issues:
        NX-1477 (Offline data collection does not cleanup old data if there are no connection with the server)
        NX-1514 (Predefined graph tree displayed incorrectly)

Best regards,
Victor
#1500
General Support / Re: SubAgent - icmp ping
October 24, 2018, 11:16:37 PM
Hi,

what exact parameter you are using (ICMP.AvgPingTime, ICMP.LastPingTime, etc.)? And what is agent version?
Please also provide content of agent table ICMP.Targets (you can get it from command line with command nxget -T agent_ip_address ICMP.Targets).

Best regards,
Victor