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

#1576
General Support / Re: Errors Starting 2.2.7
July 28, 2018, 12:14:20 AM
There is issue registered for incorrect Hyper-V host detection: https://track.radensolutions.com/issue/NX-1472. Possible reason is that we are using CPUID "hypervisor" bit to detect if agent is running within a VM, and I suppose that Hyper-V host OS is in fact privileged VM, so agent runs inside virtual environment anyway. We will add additional checks in 2.2.8 to report host as physical machine.

Best regards,
Victor
#1577
General Support / Re: Errors Starting 2.2.7
July 26, 2018, 11:28:52 AM
This is download link for both minimal and full installers: https://cloud.netxms.org/index.php/s/yWU2wcC3c4WO2Y6

Best regards,
Victor
#1578
General Support / Re: Errors Starting 2.2.7
July 25, 2018, 06:28:33 PM
Would you like to test build with experimental patch that changes some internal synchronization mechanism?

Best regards,
Victor
#1579
Hi,

these tasks created as system tasks, and in 2.2.7 system tasks are hidden by default. You can make them visible in view menu (top right corner of scheduled task list).

Best regards,
Victor
#1580
Проще сделать не через condition, а как DCI на каждом узле.

return $1 - time();

идет в trаnsformation script. Тогда значением DCI будет расхождение времени. Затем на закладке "Thresholds" добавляются нужные пороговые значения.

Если делать таким образом, то можно создать шаблон и накладывать его на те узлы, где требуется контроль за расхождением времени. Источником события при такой конфигурации всегда будет узел с проблемой.
#1581
General Support / Re: Errors Starting 2.2.7
July 24, 2018, 11:27:02 AM
I doubt it's Windows bug, more likely just lucky timing. I checked provided process dump - it is deadlocked in a code related to applying templates and sending events. There were execution errors for template auto apply scripts - in that case server generates event - and this event generation from within auto apply code somehow caused deadlock. I will investigate it further. As a workaround I suggest to check auto-apply scripts for possible errors.

Best regards,
Victor
#1582
General Support / Re: Process - Instance discovery
July 23, 2018, 03:22:09 PM
Yes, my mistake - method is correct. Still seems to be a typo in list name: it is "Phonelisa.Processes" in script and "Phonalisa.Processes" in DCI configuration.

Best regards,
Victor
#1583
General Support / Re: Process - Instance discovery
July 23, 2018, 02:26:35 PM
Hi,

you have wrong discovery method - it should be "Script", not "Agent List" if you are using script from script library for discovery.

Best regards,
Victor
#1584
General Support / Re: Errors Starting 2.2.7
July 23, 2018, 02:18:48 PM
Quote from: StanHubble on July 23, 2018, 02:07:02 PM
I created the process dump but it is almost 10GB.  Will this forum accept an upload that big?

I don't think so. I'll send you upload link via PM.

Best regards,
Victor
#1585
Я обычно делаю мониторинг разницы с сервером. Можно сделать DCI на параметр System.CurrentTime со скриптом трансформации


return $1 - time();


Он будет возвращать разницу во времени в секундах. Значение приблизительное, но сильное расхождение будет видно. Из практики можно ставить пороговое значение > -2 или < 2 - при нормальной синхронизации оно не сработает, только если расхождение действительно есть.
#1586
General Support / Re: Errors Starting 2.2.7
July 23, 2018, 11:33:03 AM
Hi,

so "show watchdog" actually shows empty list? Can you enter any command in nxadm after that?
Could you please create process dump for netxmsd.exe (using Task Manager) and provide it to us for debug?

Best regards,
Victor
#1587
Hi,

it's known issue (https://track.radensolutions.com/issue/NX-1463), not fixed yet. In the meantime you should use Tomcat 8 or Jetty.

Best regards,
Victor
#1588
Feature Requests / Re: node discovery poll
July 19, 2018, 10:45:38 AM
Just added new hook "DiscoveryPoll" - it will be available in 2.2.8.

Best regards,
Victor
#1589
Общие вопросы / Re: 2.2.6 и Juniper
July 19, 2018, 10:34:29 AM
Поведение системы действительно изменилось в версии 2.2.5 - до этого configuration poll на unmanaged нодах работал. Я проверил историю изменений - это было исправление для https://track.radensolutions.com/issue/NX-1420 - теперь сервер не пытается коммуницировать с нодами в состоянии unmanaged. Я думаю будет логично добавить в принудительный poll сообщение о невозможности опроса в таком состоянии чтобы исключить странное с точки зрения пользователя поведение системы.
#1590
General Support / Re: SNMP trap configuration
July 18, 2018, 11:47:42 PM
Currently it is only possible if you use "umatched trap" event. You can create event processing rule for that event and use the following script as action to generate new event with necessary data:


if (($event->parameters[1] == '.1.3.6.1.2.1.15.7.2') &&
    ($event->parameters[2] ~= "\\.1\\.3\\.6\\.1\\.2\\.1\\.15\\.3\\.1\\.14\\.([0-9]+\\.[0-9]+\\.[0-9]+\\.[0-9]+)"))
{
   PostEvent($node, "BGP_PEER_DOWN", null, $1);
}


This will generate event BGP_PEER_DOWN (you have to define it) with peer address passed as parameter 1 (you can access it in message text via %1).

Best regards,
Victor