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

#1351
В ExternalTable идет три поля, разделенных : - имя таблицы, параметры, и команда. Параметры разделяются ; и могут быть такими:

separator= символ - разделитель, по умолчанию запятая.
instanceColumns= колонка/колонки в которых содержится уникальный идентификатор для строки.
description= описание таблицы.

Второй вариант - это использовать instance discovery. Тогда остается параметр для получения срока действия сертификата, и делается ExternalList который выдает список всех сертификатов в системе, и используется для instance discovery. Тогда для каждого сертификата будет создан отдельный DCI, на котором уже могут быть трешолды как обычно.
#1352
Ошибка скорее всего связана с кодировкой базы, проверьте что там UTF-8.

По идее это не должно быть связано с доступом к объекту, но поскольку какие-то объекты не сохраняются корректно в базе, есть смысл сначала решить эту проблему.

Еще попробуйте пользователя system - это встроенный суперпользователь. И проверьте права на объекты (в свойствах самих дашбордов и корневого объекта) - возможно снята опция наследования прав. Пользователь admin - это просто пользователь которому назначены права при инициализации, но их можно отобрать. У пользователя system права отобрать нельзя.

#1353
Actually you can create such script DCI on any node (including server node) and skip GetNodeTemplates part, using FindObject instead. So it will be something like this:

total = 0;
t = FindObject("<NAME_OR_ID_OF_TEMPLATE>");
if (t != 0) {
children = GetObjectChildren(t);
foreach(c : children) {
dciValue = GetDCIValue(c,FindDCIByName(c,"<YOUROID>"));
if ( dciValue != null ) total+=dciValue;
}
}
return total;


With that variant it is not necessary to assign template to node with summary DCI.

Best regards,
Victor
#1354
Hi,

can you check with SNMP walk that OID .1.3.6.1.2.1.31.1.1.1.6.92 is present? Could it be that 64 bit counters only supported for physical interfaces by this device?

Best regards,
Victor
#1355
Hi,

looks like you need DCI summary table. After you hve it configured, you can either open it on demand for any container, or put on dashboard.

Best regards,
Victor
#1356
General Support / Re: Cisco switches node overview
April 03, 2019, 10:41:14 PM
What is device OID? I'll update driver so it will detect such devices as supported if it works correctly.

Does port view not working even with Catalyst driver?

Best regards,
Victor
#1357
Сервер был поставлен из пакетов или из исходников? И если из исходников, то откуда они были взяты и с какими параметрами собирались?
#1358
Hi,

knowing interface index you can use function GetInterfaceObject($node, index) to get interface object, and then read it's property "mtu". Alternative approach could be to send SNMP request for .1.3.6.1.2.1.2.2.1.4.{instance} as you do for interface name.

Best regards,
Victor

#1359
Hi,

depending on what you mean by "add up". Do you want to add each client as a node and collect some data from each? Or you want to count AP clients and calculate some common data on AP?

Best regards,
Victor
#1360
Hi,

LLDP chassis ID is important to match LLDP data from two peer switches. Can you show me remote table from one of peers of this switch?

Best regards,
Victor
#1361
Announcements / Hannover Messe 2019
April 01, 2019, 11:11:11 AM
We are participating in Hannover Messe 2019 exhibition, which will take place in Hannover, from 1st until 5th of April.
You can find us at stand H44 in Hall 4. Please join us there to check out our products, ask any questions regarding IT or industrial monitoring, or just for a random chat.
#1362
Параметры в тул передавать можно - определить поля ввода в закладке Input Fields и потом делать подстановку через макрос %(field_name).
#1363
Hi,

set server configuration parameter ImportConfigurationOnStartup to false. This is mechanism to automatically import new or updated templates from files on server startup. It was intended for first deployment and upgrades, but looks like it causes confusion quite often.

Best regards,
Victor
#1364
Можно сертификат передавать как параметр:


ExternalParameter = HTTPS.CertificateExpireDate(*): powershell.exe -file "\\Scripts\test.ps1" -cert "$1"


и в скрипте имя сертификата получать из переменной.

На стороне сервера будет что-то вроде

HTTPS.CertificateExpireDate(cert1)
#1365
Сейчас этот хук вызывается после создания объекта но перед добавлением его к ноде, поэтому список родительских объектов пустой. Я подумаю что здесь можно сделать.