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

#1381
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

#1382
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
#1383
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
#1384
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.
#1385
Параметры в тул передавать можно - определить поля ввода в закладке Input Fields и потом делать подстановку через макрос %(field_name).
#1386
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
#1387
Можно сертификат передавать как параметр:


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


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

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

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

try to remove old libraries (libnetxms.*) from /usr/local/lib before running make.

Best regards,
Victor
#1390
Hi!

Please check server queues. You can do that from shell by running command

nxadm -c "show queues"

For MS SQL initialization - it definitely looks like a bug, we will check that.

Best regards,
Victor
#1391
Yes, you can execute any command including powershell. There are some examples on forum.

Best regards,
Victor
#1392
Update: we have found bug in alarm termination code, in upcoming release 2.2.14 this issue will be fixed.

Best regards,
Victor
#1393
Hi,

you can use Process.CPUTime to monitor CPU usage by specific process. Process.CPUTime returns cumulative counter in milliseconds of processor time spent by given process. You can use transformation as following to convert it to percentage:

1. Select delta calculation type "average delta per second".
2. Use the following transformation script:

return $1 / 10;

Best regards,
Victor
#1394
Hi,

in the autobind script you can access node's parents and check if any of them are MainServer or routers. There should be examples of enumerating parent objects on forum or wiki.

Best regards,
Victor
#1395
Hi,

Threshold table has reference to DCI table (items) via item_id column which in turn has reference to owning node (via node_id column).

Best regards,
Victor