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

#1891
Можно использовать скрипт, который по индексу найдет интерфейс и вернет его алиас.
#1892
Скорее всего это тот-же баг что описан здесь: https://track.radensolutions.com/issue/NX-1361. Он исправлен в 2.1.3.
#1893
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
#1894
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
#1895
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
#1896
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
#1897
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
#1898
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
#1899
Hi,

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

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

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