News:

We really need your input in this questionnaire

Main Menu
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

#1126
General Support / Re: Unable to compile
December 16, 2020, 04:24:28 PM
Not sure. At hand I have Centos 7.8, it has gcc version 4.8.5 20150623 (Red Hat 4.8.5-44) (GCC) and ./configure in 3.3 runs fine on it.

also not sure why you are specifying openssl, curl and pcre locations - are they not available from packages?
#1127
General Support / Re: Unable to compile
December 16, 2020, 04:05:23 PM
This might be the reason:
/usr/bin/ld: error while loading shared libraries: libbfd-2.20.51.0.2-5.48.el6_10.1.so: cannot open shared object file: No such file or directory

this file seems to be in binutils package.



#1128
General Support / Re: Unable to compile
December 16, 2020, 02:53:56 PM
Can you share your config.log?
#1129
Let's try to get some more debug information. Can you please run the following command in the command line on the server:

nxadm -c "debug client.* 6"
This will increase debug level for log messages related to communication with the console.
Then try to open IP neighbors window and wait for the error.
When the error shows, turn off the additional debugging
nxadm -c "debug client.* -1"
and send us server log file
#1130
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


#1131
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/
#1132
А как именно вы пытаетесь добавлять MIBы?

Во этих MIB файлах есть зависимость от SNMPv2-SMI.txt
Он должен был проинсталлироваться вместе с NetXMS в директорию mibs, туда же нужно добавлять ваши mib файлы и запустить mib compiler.
#1133
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.
#1134
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?
#1135
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?
#1136
Несколько путей:

а) в правиле в 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");
}
#1137
Можно сделать Script DCI для сбора данных. Это может быть один скрипт, в который в качестве параметра передается OID.

В этом скрипте можно делать несколько попыток опроса с задежкой. Если все равно не получилось получить данные, можно сделать abort - в этом случае будет data collection erorr, но DCI не перейдет в unsupported.
#1138
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?
#1139
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.
#1140
А уведомления вне этого временного диапазона должны выбрасываться или дожидаться утра?