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

#1921
Можно использовать скрипт, который по индексу найдет интерфейс и вернет его алиас.
#1922
Скорее всего это тот-же баг что описан здесь: https://track.radensolutions.com/issue/NX-1361. Он исправлен в 2.1.3.
#1923
General Support / Re: can't import Cambium epmp 3.5 mibs
November 17, 2017, 08:09:46 AM
Hi,

you should compile new MIB file together with the rest of MIBs. Either place it in same directory or specify multiple -d entries.

Best regards,
Victor
#1924
Feature Requests / Re: Configuration Backup (Diff)
November 14, 2017, 11:29:28 PM
Hi,

we don't have it inside NetXMS, but I can recommend product that does it (it's built by our partners and integrates with NetXMS): https://www.unimus.net/

Best regards,
Victor
#1925
Hi,

yes, agent will cache syslog records and SNMP traps, but only in memory. If you restart agent while there is no connection, unsent records will be lost.

Best regards,
Victor
#1926
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
#1927
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
#1928
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
#1929
Hi,

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

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

#1933
Похоже на несоответствие типов. Не может быть такого что DCI сделан как int32?
#1934
Поправил. Войдет в следующий релиз.
#1935
В 2.1 появилось новое право доступа - "read agent data". Надо его дать пользователю чтобы он мог запрашивать данные напрямую с агента.