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 - Filipp Sudanov

#1246
Are you sure that nxagentd.conf portion is exactly the same that the agent is running with? Was agent restarted to work with actual config?
For me "RunExternal (shell exec): worker thread created" only appears when ExternalParameterShellExec is used (by the way this soon gonna be reworked and all actions and external parameters will be lauched as ShellExec).

I've tried with agent 3.6.300. Here's my config:
ExternalParameterShellExec=Get-ScheduledTask(*):powershell.exe -NoProfile -Command "$$Parameter = \"$2\"; Write-Host (Get-ScheduledTask -TaskName \"$1\").$$Parameter"

And that's the log:

2020.12.16 03:41:40.720 *D* [comm.cs.50         ] Requesting parameter "Get-ScheduledTask("Test Task", "State")"
2020.12.16 03:41:40.720 *D* [comm.cs.50         ] H_ExternalParameter called for "Get-ScheduledTask("Test Task", "State")" "Spowershell.exe -NoProfile -Command "$$Parameter = \"$2\"; Write-Host (Get-ScheduledTask -TaskName \"$1\").$$Parameter""
2020.12.16 03:41:40.720 *D* [exec               ] RunExternal called for "Get-ScheduledTask("Test Task", "State")" "Spowershell.exe -NoProfile -Command "$$Parameter = \"$2\"; Write-Host (Get-ScheduledTask -TaskName \"$1\").$$Parameter""
2020.12.16 03:41:40.720 *D* [exec               ] RunExternal: command line is "powershell.exe -NoProfile -Command "$Parameter = \"State\"; Write-Host (Get-ScheduledTask -TaskName \"Test Task\").$Parameter""
2020.12.16 03:41:40.720 *D* [exec               ] RunExternal (shell exec): worker thread created


#1247
Ethernet/IP is a protocol used on some industrial controllers, this message informs that netxms was not able to connect via this protocol.

PDH error is related to windows performance counters. On configuration poll netxms is trying to read the list of performance counters. If this was successful, when adding a DCI of type "Windows performance counters" under "Select" button there will be a list of available counters.
In node properties -> Polling it's possible to turn this off - "Disable reading of Windows performance counters metadata" checkbox.

Here's an old post that mentions same PDH error:
https://www.netxms.org/forum/general-support/problem-with-windows-performance-counters/
#1248
А как именно вы пытаетесь добавлять MIBы?

Во этих MIB файлах есть зависимость от SNMPv2-SMI.txt
Он должен был проинсталлироваться вместе с NetXMS в директорию mibs, туда же нужно добавлять ваши mib файлы и запустить mib compiler.
#1249
Did you open User Manager recently? From the same netxms console, or from another machine?
If you open Tools-> Server console, what is the output of
show sessions
command there?

Does this error stays, if you close netxms management console and start it again?

Most probably it will go away if you restart netxms server process.
#1250
General Support / Re: Upgrade to 36.4
December 14, 2020, 05:31:40 PM
What's the output of
show status where variable_name = "innodb_page_size";

I've just tried to install NetXMS 3.5 from packages on Debian 10 and upgrade to 3.6 went successfully. Could it be that your NetXMS database was created some time ago and on older MariaDB?
#1251
General Support / Re: Upgrade to 36.4
December 14, 2020, 04:53:23 PM
What is the value of innodb_page_size on your system?
#1252
Несколько путей:

а) в правиле в EPP в filtering script:
return ( (strftime("%H", time()) >= 8) and (strftime("%H", time()) < 19) );

Таким образом все правило в EPP не будет срабатывать ночью. Алармы также не будут создаваться. Если нужны алармы, то тогда нужно два правила в EPP.

б) не запускать action, отсылающий сообщение напрямую, а запускать action, вызывающий NXSL скрипт. В этом скрипте сделать проверку по времени и оттуда запускать отсылку сообщения:
if ( (strftime("%H", time()) >= 8) and (strftime("%H", time()) < 19) )
{
    SendNotification("Telegram", "Alice; Bob", "", "My message text");
}
#1253
Можно сделать Script DCI для сбора данных. Это может быть один скрипт, в который в качестве параметра передается OID.

В этом скрипте можно делать несколько попыток опроса с задежкой. Если все равно не получилось получить данные, можно сделать abort - в этом случае будет data collection erorr, но DCI не перейдет в unsupported.
#1254
Configuration poll is once per hour by default. You can try setting debug level 6 on one agent, restarting it and running configuration poll, in this case we will see at what moment this error is happening.
On what OS the agent is running?
#1255
General Support / Re: Upgrade to 36.4
December 14, 2020, 01:03:49 PM
Recent changes in NetXMS added fields to nodes table. Looks like we are now hitting page size limitation: https://mariadb.com/kb/en/innodb-row-formats-overview/#maximum-row-size
Increasing innodb_page_size might help.
#1256
А уведомления вне этого временного диапазона должны выбрасываться или дожидаться утра?
#1257
Was it one-time occurence or it happens often? Currently the probocol between management console and server is not tolerant to interruptions and console needs to be restarted.
Is there anything is netxms server log at that moment? Did server restart that moment?
#1258
Какая версия NetXMS?
#1259
apt install netxms-base

if it's already installed, try removing it first with
apt purge netxms-base
#1260
Did you manage to find and delete libnx* and libnetxms* files?

Please show the output of these two commands:
ldd /usr/bin/nxagentd
ldd /usr/lib/x86_64-linux-gnu/libnxdb.so.36