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

#1396
Консоль перезагрузили после изменения файла?
Покажите содержимое nxmc.ini, как он сейчас выглядит?
Какая точно версия консоли и ОС.
#1397
Попробуйте в конец nxmc.ini дописать вот это:
-Dorg.eclipse.swt.browser.IEVersion=12001
#1398
Тогда похоже на ошибку дедупликации. Придумана она для того, чтоб убирать дубликаты, возникшие в процессе network discovery -  к примеру нода, у которой два сетевых интерфейса могла сначала добавится как две отдельных ноды, а потом, когда серверу удалось получить с этой ноды список интерфейсов, то стало понятно, что это одна и та же нода.

Используете ли вы зоны?

Дедупликация происходит при выполнении configuration poll. Было бы итересно посмотреть, что именно происходит. Если возможно, включите на время дедупликацию, поставьте 6 уровень дебага и сделайте configuration poll на нодах, которые пропадают.
Уровень дебага можно менять не останавливая сервер -
nxadm -c "debug 6"
#1399
Second one is surprising - there are several processes trying to delete from one and the same table with the same queries.
Could you set debug level for housekeeper to 7
nxadm -c "debug housekeeper 7"
This will produced detailed log for housekeeper process. We'd be interested to see the log for the night when such deadlock with several DELETE statements occurs.
#1400
 8)

Ну вообще-то оно должно работать така, как у вас сконфигурено на изначальном скриншоте.

Давайте посмотрим дебаг 7 уровня в момент запуска действия. Уровень отладки можно менять при запущенном сервере
nxadm -c "debug 7"

Посмотреть текущий уровень можно так:
nxadm -c "debug"
#1401
Нужно проверить, но скорее всего на windows действия запускаются через вызов CreateProcess(), в этом случае файл ищется в path, но расширение автоматом не подставляется. Попробуейте php.exe или если не поможет, то написать его с полным путем.
#1402
General Support / Re: More newbie issues
June 17, 2020, 12:34:30 AM
Try installing this runtime - it's required for Postgres client but is not currently included in the installer.
https://support.microsoft.com/en-us/help/3138367/update-for-visual-c-2013-and-visual-c-redistributable-package
#1403
Права наследуются, так что по идее должно быть достаточно дать группе Admins все права на Infrastructure services.
Но наследование может отключаться на контейнерах (нужно проверить, стоит ли галочка inherit access rights from parent objects(s), она должна стоять, чтоб наследование происходило).

Скриптовать можно на nxshell - он дает возможность на питоне писать скрипты, которые общаются к тому же api, что и консоль управления. Но сначала нужно понять, что именно этот скрипт должен сделать.
#1404
General Support / Re: NXSL Quetions
June 12, 2020, 11:16:18 AM
Looks like currently this is not implemented.
#1405
General Support / Re: Web API
June 12, 2020, 11:11:51 AM
If you are on Windows, there's some info in the docs: https://www.netxms.org/documentation/adminguide/installation.html#installing-on-windows

If it's linux, you need to have Apache Tomcat (min version is 8) or other Java Servlet software on your system and to deploy nxmc_xxxxx.war file into that software.
#1406
Can you retrieve any information about these locks using method 2 from this article: https://www.red-gate.com/products/dba/sql-monitor/resources/articles/monitor-sql-deadlock ?
#1407
General Support / Re: Linux Agent
June 10, 2020, 06:05:11 PM
Mint is Ubuntu based, so you can go ahead with Ubuntu installation instructions: https://www.netxms.org/documentation/adminguide/installation.html#installing-on-debian-or-ubuntu

Installation is done via packaging system - on first stage information about NetXMS is added into package manager, then you can install the necessary package, netxms-agent in your case.

When agent package is installed, it should get configured for autostart (so when Mint starts, the agent starts as well). If this does no happen, issue
systemctl enable nxagentd.service

#1408
Попробуйте поставить Visual C++ 2013 and Visual C++ Redistributable Package
https://support.microsoft.com/en-us/help/3138367/update-for-visual-c-2013-and-visual-c-redistributable-package
#1409
There's nothing special that NetXMS would be doing when working with the DB - during housekeeping it's issuing these DELETE statement and parallel to that INSERT statements do happen. So it's upon to the database settings how long it's waiting for these statements, until it decides to kill them.
Some information could be found here: https://docs.microsoft.com/en-us/previous-versions/sql/sql-server-2005/ms181150(v=sql.90)?redirectedfrom=MSDN

Also - how big is your system and the database?
What's the output of "sh stat" in server console?

Can you show the output of the following queries:
SELECT var_name, var_value FROM config WHERE var_name like 'DefaultDCI%';

SELECT polling_interval, retention_time, count(polling_interval) FROM items GROUP BY polling_interval, retention_time ORDER BY retention_time, polling_interval;

#1410
There will be some changes in file upload process in v. 3.4 that should be out within a week. Please check if this problem occurs in 3.4 and give us an update.