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

#1876
Hi,

are you using cache mode for agent? It seems like corrupted data collection configuration on agent side, when agent sends both correct data and data for some other DCI. If yes, please check what is configured in table dc_config in agent local database. You may also try to delete agent local database (while agent is stopped) - it should reconfigure on first configuration poll.

Best regards,
Victor
#1877
General Support / Re: Adding Mib's fails
November 14, 2017, 06:54:53 PM
Hi,

did you add any custom MIBs? If yes, could you share them?

Best regards,
Victor
#1878
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
#1879
Hi,

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

Best regards,
Victor
#1880
{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
#1881
Проверили - это баг (исправлен в текущем dev бранче). Исправление войдет в 2.1.3.
#1882
Скрипт создавать в 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;
}

#1883
Похоже на несоответствие типов. Не может быть такого что DCI сделан как int32?
#1884
Поправил. Войдет в следующий релиз.
#1885
В 2.1 появилось новое право доступа - "read agent data". Надо его дать пользователю чтобы он мог запрашивать данные напрямую с агента.
#1886
Как primary host name указано имя? Тогда должен на каждом configuration poll проверять. Не может быть такого что в DNS кэше надолго остается старый адрес?
#1887
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
#1888
Hi,

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

Best regards,
Victor
#1889
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
#1890
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