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

#1936
Hi,

seems to be very strange bug. Table should have DCI ID + timestamp as primary key, so those record theoretically should not appear. What database you are using? What NetXMS version? Could you check constraints on a table? How DCI is configured?

Best regards,
Victor
#1937
Hi,

regarding #2 - there is "order" option. Graphs with lower value will go up.

Best regards,
Victor
#1938
{instance-name} substitution is not implemented for group field (which I agree is counter-intuitive). We just need to clean it up a bit and make sure that both macros are substituted.
Currently there is no instance filtering for performance tabs.

Best regards,
Victor
#1939
Проверили - это баг (исправлен в текущем dev бранче). Исправление войдет в 2.1.3.
#1940
Скрипт создавать в ScriptLibrary. Конкретный скрипт будет такой (я так понял что название верхнего контейнера "SERVERS/TERMINALS"):


// Hash map to avoid duplicates
global processedNodes = %{};

// Find "Entire Network" object and start enumeration from it
return CalculateTotal(FindObject("SERVERS/TERMINALS"));

// This function walks object tree recursively starting from given root
sub CalculateTotal(rootObject)
{
sum = 0.0;

// Walk all child objects
foreach(o : GetObjectChildren(rootObject))
{
if (classof(o) == "Node")
{
if ((processedNodes[o->id] == null) && (o->name ilike "TER00*"))
{
v = GetDCIValueByDescription(o, "Terminal - Active Sessions");
if (v != null)
sum += real(v);
processedNodes[o->id] = 1; // actual value is irrelevant, it's just a flag
}
}
else if (classof(o) == "NetObj")
{
// For all other objects, go down the tree
// There can be additional checks for object class, like
// if (o->type == 5)
sum += CalculateTotal(o);
}
}
return sum;
}

#1941
Похоже на несоответствие типов. Не может быть такого что DCI сделан как int32?
#1942
Поправил. Войдет в следующий релиз.
#1943
В 2.1 появилось новое право доступа - "read agent data". Надо его дать пользователю чтобы он мог запрашивать данные напрямую с агента.
#1944
Как primary host name указано имя? Тогда должен на каждом configuration poll проверять. Не может быть такого что в DNS кэше надолго остается старый адрес?
#1945
Hi,

you can use %6 in threshold rearm event to insert current DCI value (see description for SYS_THRESHOLD_REARMED event for all event-specific parameters).

Best regards,
Victor
#1946
Hi,

how do you collect it - via agent or SNMP? And what NetXMS server version you are running?

Best regards,
Victor
#1947
General Support / Re: Is NetXMS GDPR compliant?
November 02, 2017, 10:51:46 AM
Normally it should be irrelevant - GDPR is about protecting personal data, and usually you don't have any in monitoring system. It depends of course on what you collect.

Best regards,
Victor
#1948
General Support / Re: MIB comiling nightmare (part 01)
November 02, 2017, 10:46:12 AM
Hi,

you can restore original MIBs by downloading source package and extracting MIBs - they are under contrib/mibs. You don't need RFC-1628 MIB - it is already included.

Seems that whoever builds Infosec MIB you have provided just took some template without much thinking - leaving "companyName" placeholder instead of replacing it with actual company name. I changed it to "infosec" and MIB name to INFOSEC-UPS, and fixed few other errors. Correct MIB attached.

Best regards,
Victor
#1949
Hi,

assuming you are using version 2.1.x you can put proper group name in DCI configuration. You can use macro {instance} there, so for example you can set group name for both Tx and Rx DCI as IfTraffic_{instance} - then server will create unique group name for each Tx/Rx DCI pair, and you'll have one graph per interface.

Best regards,
Victor
#1950
Hi,

seems like a bug, either in UI or server. What version you are using? Could you please share client log file (usually .nxmc/data/.metadata/.log in user's home directory).

Best regards,
Victor