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 - Victor Kirhenshtein

#2371
Да, попробую сделать.
#2372
Общие вопросы / Re: Стату Major
September 28, 2016, 07:07:44 PM
Может есть активные алармы на ноде?
#2373
Наследование происходит, просто если пользователю дать права, не происходит синхронизация объектов с его сессией. После нового логина все должно быть. Нажатие apply вызывает обновление объекта, сервер рассылает уведомления об этом, и поскольку у пользователя есть права теперь - он получает обновление и объект появляется в дереве.
#2374
Ну на уровне сообщений протокола я бы предложил не спускаться :) Собственно конфигурация графика - это XML. Если он подготовлен, то записать график можно так (XML здесь для примера):


from java.util import ArrayList

xml = '<chart><title>Test Graph</title><dciList length="1"><dci nodeId="111" dciId="55"><type>1</type><name>Server thread pool AGENT: normalized load average (1 minute)</name><lineWidth>2</lineWidth><displayType>0</displayType><area>false</area><showThresholds>false</showThresholds><invertValues>false</invertValues><instance></instance><column></column><displayFormat>%s</displayFormat></dci></dciList></chart>'

gs = GraphSettings(0, session.getUserId(), 0, ArrayList(0));
gs.setName("My graph");
gs.setConfig(xml);
session.saveGraph(gs, True);


Примеры XML конфигурации можно посмотреть в базе или в конфигурации дашборда - на любом элементе Line Chart выбрать Edit XML. Верхний уровень будет немного отличаться, но конфигурация данных (внутри тега <dciList>) - нет.
#2375
Можно как метод instance discovery выбрать скрипт, а он уже вернет массив instance'ов.
#2376
Я вижу два варианта:

1. Сделать обычный DCI, который через скрипт достанет последнее значение табличного DCI и посчитает по ней среднее.

2. Сделать скриптовый DCI, который сделает SNMP walk и опять же посчитает среднее.
#2377
А можно прислать результат walk по базовому OID'у таблицы?
#2378
Feature Requests / Re: SMTP authentication
September 28, 2016, 06:20:47 PM
We plan to make significant changes in notifications part during 2.1 development - replace current built-in SMTP client and option to load single SMS driver with loadable communication channels - this will allow to have email, SMS, and Slack for example for notifications. When SMTP client will be loadable module we will also implement one with authentication.

Best regards,
Victor
#2379
General Support / Re: Sporadically losing values in NetXMS
September 28, 2016, 06:16:15 PM
Hi,

are you running agents in cached mode?

Best regards,
Victor
#2380
General Support / Re: LVM_PV_STATE_NOT_ACTIVE event
September 28, 2016, 06:14:36 PM
Hi,

actually it is supposed not to replace existing events but get first available ID during import. Looks like corrupted database or some other bug. Please keep an eye on event definitions and let us know if something similar happens again.

Best regards,
Victor
#2381
Hi,

is there any messages in the log around those times related to communication session with the server? Was session disconnected and reconnected only in the morning?

Best regards,
Victor

#2382
General Support / Re: nxshell snmp vaules
September 28, 2016, 06:06:29 PM
Hi,

you can use call NXCSession.queryParameter. For example, to query system description from node with id 178:


print session.queryParameter(178, DataCollectionObject.SNMP, ".1.3.6.1.2.1.1.1.0")


Best regards,
Victor
#2383
General Support / Re: How to setup webproxy for NetXMS
September 28, 2016, 05:56:36 PM
Problem with geo maps in web UI is that they actually downloaded by application server, not by client browser. You can set HTTP proxy settings for application server's JVM (for example, by adding -Dhttp.proxyHost=host -Dhttp.proxyPort=port to JVM command line in application server startup script).

Best regards,
Victor
#2384
General Support / Re: ping test to mikrotik
September 28, 2016, 05:49:14 PM
Ping subagent should help - https://www.netxms.org/documentation/adminguide/icmp-ping.html. Alternatively, you can just add Mikrotik device to NetXMS as node and set required poll count for status change to 10 on all interfaces or globally - then node will be marked as down if 10 consecutive polls will fail.

Best regards,
Victor
#2385
General Support / Re: Net.interface changed to UNSUPPORTED
September 28, 2016, 05:47:15 PM
Hi,

does it support Net.Interface.BytesOut(Ethernet)?

Best regards,
Victor