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

#1696
General Support / Re: Schedule Node Restart
April 09, 2018, 12:40:11 PM
Hi,

you can use function AgentExecuteAction to execute action on remote agent. So script which will cause remote node to restart will looks like this:


AgentExecuteAction($node, "System.Restart");


you can create scheduled task which will call this script.

Best regards,
Victor
#1697
Hi,

it turns out that System.Memory.Physical.Free actually returns amount of available memory (same as returned by System.Memory.Physical.Available). I changed it to return amount of free memory and also added support for System.Memory.Physical.Cached and System.Memory.Physical.CachedPerc parameters.

Best regards,
Victor
#1698
Hi,

didn't get to it yet. Will check it on my Windows systems later today.

Best regards,
Victor
#1699
I suppose you mean NXSL script? Then you can use function PostEvent (https://wiki.netxms.org/wiki/NXSL:PostEvent).

Best regards,
Victor
#1701
You can use PING subagent and configure set of Icmp.Ping DCIs in the server, one for each host. You can use custom schedule to collect data once a day at 12:00, and configure threshold as necessary. Relevant part of the documentation: https://www.netxms.org/documentation/adminguide/icmp-ping.html

Best regards,
Victor
#1702
If V5U151 means Java 5 then it would not work for different reasons. Console requires at least Java 7.

Best regards,
Victor
#1703
На всякий случай - у вас субагенты не в той секции прописаны (хотя вроде как дублируются в правильной секции тоже).

Парсер выглядит правильным, должен был послать событие с кодом 200000 (кстати можно использовать имена событий вместо кодов). А событие было послано? Если нет, надо смотреть лог агента - можно в тэг парсер добавить опцию trace="9" и запустить агент с высоким дебагом - будет подробный лог парсера.

#1704
Можно добавить фильтрующий скрипт в правило, где отсылается сообщение. Из скрипта можно проверить статус других объектов и соответственно вернуть true или false дле выполнения правила или игнорирования.
#1705
Горячую клавишу назначить нельзя, а в контекстное меню добавляется через Configuration -> Object Tools.
#1706
Попробуйте отдельно поставить Visual C++ 2017 Runtime (https://support.microsoft.com/en-us/help/2977003/the-latest-supported-visual-c-downloads). Файл называется vc_redist.x64.exe или vc_redist.x86.exe.
#1707
Общие вопросы / Re: nxpush 2.2.4 32bit
April 04, 2018, 12:20:47 PM
А для какой платформы? Windows?
#1708
Hi,

it's a bug in a server. We will fix in in 2.2.5 release.

Best regards,
Victor
#1709
General Support / Re: False SYS_NODE_DOWN alarms
April 04, 2018, 11:11:18 AM
Hi,

in this debug output you see internal rule index, which is 0-based, so it's rule number 1. Node down was likely generated because agent was unresponsive and there are no other communication means for that node, so server consider it as down. There should be debug log records related to status poll of that node upper in the log.

Best regards,
Victor
#1710
Hi,

there are no standard procedure for that. You can though carefully insert necessary records into NetXMS DB from backup DB (while NetXMS server is stopped). What exactly for that device you need to restore?

Best regards,
Victor