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

#1396
Можно сертификат передавать как параметр:


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


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

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

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

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

Best regards,
Victor
#1399
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
#1400
Yes, you can execute any command including powershell. There are some examples on forum.

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

Best regards,
Victor
#1402
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
#1403
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
#1404
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
#1405
General Support / Re: agent tunnel not connecting
March 20, 2019, 08:04:11 PM
From the server side it looks like agent did not provide certificate:

SetupTunnel(<public ip here>): Agent certificate not provided

Can you check that agent certificate actually exist on machine with agent? What operating system agent is running on? What versions you are using?

Best regards,
Victor
#1406
Hi!

Do you mean table DCI in NetXMS or SQL database table?

Best regards,
Victor
#1407
Hi,

this is most likely related to relatively large total number of active alarms. We will investigate this further.

Best regards,
Victor
#1408
Hi,

server checks OID .1.0.8802.1.1.2.1.3.2.0 (lldpLocChassisId) as test for LLDP support on device. Did your device returns anything under .1.0.8802.1.1.2.1.3 (lldpLocalSystemData)?

Best regards,
Victor
#1409
Hi,

most likely you had user database view open when did logout. Console remembers opened views and try to reopen them at login. Because current user does not have access rights to user database, it gets this error. Just close user database view of it is open and on next login there will be no error.

Best regards,
Victor
#1410
General Support / Re: Changelog post-2.2.9
March 20, 2019, 12:09:34 PM
I've updated web site version as well. Will keep it updated during new releases.

Best regards,
Victor