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

#286
It's fixed already, however you'll need to refresh key.

If keys was installed by package netxms-release:

wget https://packages.netxms.org/netxms-release-latest.deb
dpkg -i netxms-release-latest.deb

If key was installed with apt-key:

apt-key del 179C0A80CDFADDB1
wget -O - https://packages.netxms.org/netxms.gpg | apt-key add -

Quote from: Woody on March 28, 2020, 03:23:02 PM
Can't update via packages. There is a error with the Signing Key.
#287
Общие вопросы / Re: nxmc x86
March 26, 2020, 01:38:11 AM
Нет, платформа (Eclipse RCP), на которой мы пишем клиента, больше не поддерживает x86.
#288
General Support / Re: schedule a daily task
February 14, 2020, 02:58:38 PM
Set "Repeat event" (in seconds, 86400) in threshold configuration - activation event will be regenerated if threshold is still active.
#289
General Support / Re: netxmsd Killed, Ran Out of Memory?
February 12, 2020, 08:43:11 PM
How many objects do you have in the systems? What are queue sizes?
Show output of:
* nxadm -c 'sh st'
* nxadm -c 'sh q'
#290
General Support / Re: Oracle Database
February 12, 2020, 03:45:01 PM
We haven't tested anything newer than 12c, but I see no reason why it should not work with newer.

Quote from: Sch.Donat on February 10, 2020, 11:20:21 AM
What Oracle DB versions does NetXMS Support? Is it supports any newer version(s) than 12?
#291
А это ноды вообще отдают список интерфейсов через SNMP?

Проверьте при помощи snmpget/snmpwalk:

# количество интерфейсов
nxsnmpget IP .1.3.6.1.2.1.2.1.0
.1.3.6.1.2.1.2.1.0 [INTEGER]: 33

# список индексов интерфейсов
nxsnmpwalk IP .1.3.6.1.2.1.2.2.1.1   
.1.3.6.1.2.1.2.2.1.1.1 [INTEGER]: 1
.1.3.6.1.2.1.2.2.1.1.2 [INTEGER]: 2
...

# имена
nxsnmpwalk IP .1.3.6.1.2.1.2.2.1.2
.1.3.6.1.2.1.2.2.1.2.1 [STRING]: GigabitEthernet1/0/1
.1.3.6.1.2.1.2.2.1.2.2 [STRING]: GigabitEthernet1/0/2
.1.3.6.1.2.1.2.2.1.2.3 [STRING]: GigabitEthernet1/0/3
...


# имена другим методом
nxsnmpwalk IP .1.3.6.1.2.1.31.1.1.1.1
.1.3.6.1.2.1.31.1.1.1.1.1 [STRING]: GigabitEthernet1/0/1
.1.3.6.1.2.1.31.1.1.1.1.2 [STRING]: GigabitEthernet1/0/2
.1.3.6.1.2.1.31.1.1.1.1.3 [STRING]: GigabitEthernet1/0/3
...

# алиасы
nxsnmpwalk IP .1.3.6.1.2.1.31.1.1.1.18
.1.3.6.1.2.1.31.1.1.1.18.1 [STRING]: ESX1
.1.3.6.1.2.1.31.1.1.1.18.2 [STRING]: ESX2
.1.3.6.1.2.1.31.1.1.1.18.3 [STRING]: ESX1-vMotion
...
#292
nxencpasswd does not support passwords longer than 32 symbols, you have 33:
➜ orig git:(master) ✗ nxencpasswd netxms 'k081vv3C$UKe7z!ysP4Yf408^4m78SGF'
gyuWboDpO52LQYPeHCQ6LlksHezjf3cJmhb5/VpmgJE=
➜ orig git:(master) ✗ nxencpasswd netxms 'k081vv3C$UKe7z!ysP4Yf408^4m78SG'
gyuWboDpO52LQYPeHCQ6LlksHezjf3cJmhb5/VpmgJE=
➜ orig git:(master) ✗ nxencpasswd netxms 'k081vv3C$UKe7z!ysP4Yf408^4m78S'
gyuWboDpO52LQYPeHCQ6LlksHezjf3cJnms/LdPWmmg=
#293
On my system this encoded password is different:
➜ ~ nxencpasswd netx 'k081vv3C$UKe7z!ysP4Yf408^4m78SGF'
STeHwaoRxKBJIy3cwcleEAcdrDERe/54rbusH9c57kA=


Do you use prepackaged binaries or do you compile netxms yourself?
#294
General Support / Re: Cannot delete Templates Group
January 08, 2020, 04:48:20 PM
Check netxmsd log for failed sql queries. Also check db writer queue size (there should be automatically created DCIs on the server node).
#296
Yes, it's a bug, looks like automatic cast not working correctly in set custom attribute. Wrap -1 in quite marks and it will work.

// Set initial device attributes
// If an attribute does not exist, will create it with -1 as value
// If attribute already exists, will not change it


sub AirFiber()
{
if (GetCustomAttribute($node,"TestVar1") == null) SetCustomAttribute($node,"TestVar1","-1");
}

sub AirMax()
{
if (GetCustomAttribute($node,"TestVar2") == null) SetCustomAttribute($node,"TestVar2","-1");
}
#297
Add brackets in "if":

if ( ifType->value == 1 && ifType->value == 1 ) return %(true,$1,ifName->value);
#298
Общие вопросы / Re: move to another container
November 05, 2019, 11:07:17 AM
А на какой платформе запускаете клиента?
#299
General Support / Re: More than 20000 idata_* tables
October 28, 2019, 01:39:18 PM
Yes
#300
General Support / Re: More than 20000 idata_* tables
October 28, 2019, 01:00:40 PM
There was a mistake in the script - there are few more object types which can have idata_* tables.
Please use this script instead:

SELECT s.name FROM (
    SELECT
        substr(t.table_name,7) AS id,
        t.table_name AS name
    FROM information_schema.tables t
    WHERE
        t.table_schema='mtest'
        AND t.table_name LIKE 'idata_%') AS s
WHERE s.id NOT IN (
        SELECT id FROM nodes
        UNION SELECT id FROM clusters
        UNION SELECT id FROM access_points
        UNION SELECT id FROM sensors
        UNION SELECT id FROM mobile_devices
    );