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

#1471
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
#1472
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
#1473
Можно собирать статистику с интерфейса (принятые/отосланные байты или пакеты), при необходимости считать среднее за минуту или секунду. Собственно трафик снимать и анализировать нельзя.
#1474
Нет, неправильно (или пропущены шаги в описании конфигурации). Событие будет сгенерировано агентом и обработано в 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.
#1475
Попробуем у себя повторить.
#1476
Это параметр DataDirectory, по умолчанию <prefix>/var/lib/netxms
#1477
Можно при нахождении записи генерировать событие как обычно. По этому событию обновлять custom attribute на ноде в текущее время. Сделать скриптовый DCI на ноде со скриптом вида

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

он будет возвращать количество секунд с момента последнего обнаружения записи. Ну и поставить на него threshold как обычно.
#1478
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
#1479
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
#1480
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
#1481
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
#1482
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
#1483
General Support / Re: installing on Centos 7
October 24, 2018, 11:12:53 PM
Hi,

most likely that means that agent process does not have write access to it's data directory. Agent uses SQLite database to keep some persistent information. Most important use of this database it to keep data collection configuration and collected data if agent cache mode is on and agent collects information with server being disconnected. Default location for database file is $prefix/var/lib/netxms

Best regards,
Victor
#1484
Hi,

yes, I've found possible cause for that issue. Should be fixed in next release.

Best regards,
Victor
#1485
General Support / Re: False Positives?
October 14, 2018, 01:50:37 PM
Hi,

from your description it's hard to tell if that was misconfiguration or a wrong data received from agent. If you get this issue next time check raw data of parameter and event log for the node for generated events.

Best regards,
Victor