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

#1156
Можно например таким NXSL скриптом:


global visited = %();

EnumerateNodes(FindObject(1));

sub EnumerateNodes(rootObject)
{
for(o : GetObjectChildren(rootObject))
{
if (classof(o) == "Node")
{
PrintDCIs(o);
}
else if (classof(o) == "Subnet")
{
EnumerateNodes(o);
}
}
}

sub PrintDCIs(node)
{
if (visited[node->id] != null)
return;

println("***** " . node->name . " *****");
for(dci : FindAllDCIs(node))
{
println("   " . dci->description);
}

visited[node->id] = 1;
}

#1157
На какой ОС установлен сервер? Версия сервера 3.0.2287?  Если Windows, пришлите пожалуйста минидамп после падения если он есть.
#1158
Общие вопросы / Re: Карта сети
September 20, 2019, 11:39:41 AM
Это список того, что сервер обнаружил на устройстве. Проблема в том что на SNMP устройства не отвечают - надо смотреть почему. В первую очередь стоит проверить настройки файрвола, какой community string прописан на сервере и соответствует ли он тому, что настроено на устройствах, прописаны ли ограничения по IP адресам на устройствах.

#1159
Hi,

it is probably misleading choice of status icons. We have white cross on red circle to indicate port is down and red circle to indicate that it is disabled. Probably we could use something more gray colored to underscore that interface was disabled intentionally rather than has problem.

Best regards,
Victor
#1160
NXSL issue is fixed in version 3.0.2287 (only server has to be upgraded).

Best regards,
Victor
#1161
Hi all!

NetXMS patch release 1 (version 3.0.2284) is out. It fixes some issues in initial 3.0 release:

- Fixed Windows agent bug: socket handles inherited by child processes
- Fixed FreeBSD 12 build errors
- Fixed bug in reading network interface stats on Solaris 11
- HTTP/2 included into default pattern in netsvc and portcheck subagents for HTTP/HTTPS protocol check
- Fixed broken "Find IP address" function in management console
- New default tile server for geo maps
- Fixed bug in database migration to TimescaleDB
- Fixed network map view crash if map has more than 9 links between two objects
- Fixed incorrect handling of password expiration warning in Oracle database driver
- Fixed file handle leak in server
- Unused capture groups in NXSL regexp matching not reset to NULL
- Regexp matching operation in NXSL returns array of capture groups on success
- Agent returns correct version (without build hash) in Agent.Version parameter
- Interface alias correctly set on interface object creation
- Fixed minor memory leak in server

Best regards,
Victor
#1162
I would suggest upgrading to 2.2.17 or 3.0. We have fixed various deadlocks since 2.2.16, there are good chances that your problem is fixed.

Best regards,
Victor
#1163
Общие вопросы / Re: Поиск по IP и MAC
September 18, 2019, 10:36:09 AM
Исправили, войдет в следущий patch release 3.0.
#1165
Grafana definitely can be used as publishing front end for customers as you can have completely separate access control.

Best regards,
Victor
#1166
General Support / Re: Error libpcre32 on CentOS 6
September 17, 2019, 11:54:01 AM
I suspect that compiler shipped with CentOS 6 may be too old. My recommendation is to upgrade platform to CentOS 7.

Best regards,
Victor
#1167
General Support / Re: help with aggregate DCI
September 16, 2019, 06:50:39 PM
You initialize variable activeDCIs to 1, which gives you incorrect result - if you have 36 cores line

activeDCIs++;

will be execured 36 times and result will be 37.

Best regards,
Victor
#1168
Announcements / Re: NetXMS 3.0 released
September 16, 2019, 06:00:50 PM
Did you clone it from our repository? Because latest version still waiting for approval to get into official Grafana plugin list.

Best regards,
Victor
#1169
General Support / Re: help with aggregate DCI
September 16, 2019, 04:52:57 PM
Quote from: Egert143 on September 16, 2019, 02:03:33 PM
When i use "if (dci->name like "*{instance}") continue;" it doesent match.

Please share full script code. I checked on my system and it works as expected.

Best regards,
Victor
#1170
General Support / Re: help with aggregate DCI
September 16, 2019, 10:56:01 AM
You can do something like

for (dci : FindAllDCIs($node, ".1.3.6.1.2.1.25.3.3.1.2.*"))
{
   if (dci->name like "*{instance}")
      continue;
   // your code here
}


Best regards,
Victor