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
Скрипт создавать в 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;
}

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

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

Best regards,
Victor
#1943
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
#1944
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
#1945
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
#1946
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
#1947
Hi,

I see that device is not responding to server's requests. What are authentication and encryption algorithms configured on that device?

Best regards,
Victor
#1948
Hi,

download XML file to your workstation and choose Tools -> Import configuration from main menu, then choose XML file to import.

Best regards,
Victor
#1949
General Support / Re: Issue with Alarm (Newbee) /2 ?
November 02, 2017, 10:22:42 AM
Hi,

could you show all parent subnets for this node?

Best regards,
Victor
#1950
General Support / Re: web interface map display
November 02, 2017, 10:21:56 AM
Hi,

seems to be a bug. What browser and OS you are using? Do you have UI scaling on?

Best regards,
Victor