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

#1276
Hi,

you can configure DCI on a switch with source "internal" and parameter ReceivedSyslogMessages- it is cumulative counter for received syslog messages. Then you can either do delta transformation and create threshold on it or use "diff" threshold on raw value.

Best regards,
Victor
#1277
Ну это должно происходить автоматом. В списке интерфейсов свича должны показываться телефоны как подключенные устройства. Если нет, то надо разбираться почему.
#1278
Похоже что наш клиент заблокировали на tile.openstreetmap.org. Мы будем делать свой tile server, пока можно поставить в настройках https://maps.wikimedia.org/osm-intl/ (параметр TileServerURL).
#1279
А какую информацию можно получить через CDP про телефон? В любом случае, если есть OID'ы на свиче, то можно их настроить на ноде телефона и как source node указать ноду свича - тогда реальный сбор данных будет на свиче а показываться они будут на телефоне.
#1280
Quote from: Retif on May 22, 2019, 04:41:49 PM
1. Сейчас ExternalList отвечает в формате "(Название) - (Идентификатор)", соответственно, в ExternalParameter этот текст передается в таком же виде и в интерфейсе отображается в таком же виде.
Это неудобно визуально, потому что идентификатор (THUMBPRINT) большой и бесполезный для отображения.
Можно ли как-то через ExternalList получить отдельно две части - название и идентификатор, в ExternalParameter передавать только идентификатор, а отображать только название?

Можно использовать instance discovery filter - там можно вернуть отдельно значение instance и отдельно instance name, например так:


instance = $1;
if (instance ~= "(.*) - (.*)")
{
   return %(true, instance, $1);
}
return true;


и в поле description для DCI использовать {instance-name} вместо {instance}.

Quote from: Retif on May 22, 2019, 04:41:49 PM
2. Нужно изменить конфиг агента на группе серверов. Не для всех, а только для каких-то, например для находящихся в контейнере. Для этого нужно использовать Agent configuration policy? Прочитал документацию про это, но что-то не понял, можно ли сделать на группу серверов. Или правильней для всех серверов одинаковый мастер-конфиг с netxms подтягивать, просто не использовать потом, что не нужно?

Да, можно использовать политику и наложить на несколько серверов. Как вариант - использовать функцию автоматического наложения, по аналогии с шаблонами.

Quote from: Retif on May 22, 2019, 04:41:49 PM
3. В макросах для Event Processing не смог получить количество дней, которое выдается в Value DCI-инстанса. %<currentValue> и %<dciValue> что-то пустоту выдают.

Это при обработке события по срабатыванию threshold?
#1281
We have very good experience with PostgreSQL, that's definitely our recommendation. You may also try TimescaleDB - this is PostgreSQL extension optimized for time series data. We have added support for TimescaleDB recently and so far it shows significant performance improvement for large deployments.

Best regards,
Victor
#1282
Hi,

try to open properties of already added device and set option "This is address of remote management node" on "Communication" page. Then try to addd another node with same IP address. It should work if both nodes does not report NAT IP as one of their interfaces address.

Best regards,
Victor
#1283
Add line

CreateCrashDumps = yes
DumpDirectory = some dir

to netxmsd.conf. Server then should generate minidumps after crash in directory you have specified.

Best regards,
Victor
#1284
General Support / Re: Wrong time on linecharts
June 12, 2019, 10:58:46 AM
Hi,

do you have web server on same machine as netxms server? What Java application server and Java version you are using?

Best regards,
Victor
#1285
Check server configuration variable CheckTrustedNodes - it should be set to 0 (false).

Best regards,
Victor
#1286
What version and on what platform you are running? Windows minidump or Linux core file would be extremely helpful to debug.

Best regards,
Victor
#1287
Yes, export - copy - import  is another option. It may not work well on large databases though (because of space requirements, extra time to write export file, and on some systems hitting file size limit).

Best regards,
Victor
#1288
Yes, you create script in library and then create script DCI specifying this script as parameter name. For testing you can select any container, right click and select "execute server script". You can also add print or trace calls to provide diagnostic. You have to use * as wildcard in FindAllDCIs call.

Best regards,
Victor
#1289
General Support / Re: Database Issues
June 08, 2019, 12:27:59 PM
Hi,

just commented in the issue.

Best regards,
Victor
#1290
Quite strange, I don't see anything wrong with the data. Could you please make it crash under debugger again, and then do the following commands:

bt
print module
print *module
print row
print column
print *var
print *request
print *response

Best regards,
Victor