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

#1981
General Support / Re: RabbitMQ Monitoring
September 19, 2017, 09:54:13 PM
Hi,

currently there is no ready to use solution. You probably can build shell script that will use RabbitMQ HTTP API to fetch required information and get it into NetXMS via external parameters.

Best regards,
Victor
#1982
Hi,

it's not possible without changes in the console. One possible option could be macro to insert user's custom attributes and UI for editing user's custom attributes. Feel free to register feature request in out tracker.

Best regards,
Victor
#1983
No, but you can create shell script which will do that and call that script using appropriate action, passing event data as parameters.

Best regards,
Victor
#1984
General Support / Re: agent-to-server connections
September 19, 2017, 09:43:36 PM
Hi,

most likely certificate format is wrong. Server expects it to be in PEM format.

Best regards,
Victor
#1985
General Support / Re: Agent Upgrades
September 19, 2017, 09:42:19 PM
Hi,

just to confirm that this is a bug and it is fixed in current development branch. Will be included into next patch release.

Best regards,
Victor
#1986
General Support / Re: Import database backup file
September 19, 2017, 09:41:07 PM
Hi,

what NetXMS version you are using and what database?

Best regards,
Victor
#1987
Announcements / Re: NetXMS 2.1.1 released
September 19, 2017, 09:38:47 PM
Should be fixed now.
#1988
Announcements / Re: NetXMS 2.1.1 released
September 01, 2017, 01:33:07 PM
Linux linker could take libraries from destination prefix instead of source tree. Because there was new symbol not defined in previous version you got this error. Removing libraries from destination prefix force linker to use newly compiled libraries from source tree.

Best regards,
Victor
#1989
Announcements / Re: NetXMS 2.1.1 released
September 01, 2017, 12:57:02 PM
Hi,

try to remove existing libraries from /opt/netxms/lib and re-run make.

Best regards,
Victor
#1990
Announcements / NetXMS 2.1.1 released
August 31, 2017, 04:08:44 PM
Hi all,

NetXMS patch release 2.1.1 is out! Changes since previous release:

- XEN monitoring subagent
- Fixed issues with agent tunnels
- Fixed bug in STP-based topology discovery
- Fixed unrestricted node poller queue growth when discovery from SNMP traps or syslog is on
- Server's database password can be supplied by external tool
- Fixed OpenBSD compatibility issues
- Correct handling of "dormant" and "not present" interface operational states
- Syslog messages received on loopback bound to receiving node (local management node or syslog proxy node)
- Fixed mail sender address encoding
- Fixed bug with lost agent connectivity after tunnel reconnect
- Zone ID now referenced as Zone UIN (unique identification number) to avoid confusion with zone object ID
- NXSL:
        - New class "InetAddress"
        - New attribute "ipAddressList" for class "Interface"
        - New method "enableRoutingTablePolling" in class "Node"
- Management console:
        - Improved status map
        - Fixed bug in sorting alarms by zone name
        - Zone ID can be generated automatically on zone creation
        - New node can be created directly from agent tunnel manager
        - "Bar" mode for gauge dashboard elements working correctly
- Fixed issues: NX-930, NX-1143, NX-1153, NX-1170, NX-1263, NX-1272, NX-1273, NX-1278, NX-1281, NX-1284, NX-1285, NX-1286

Best regards,
Victor
#1991
Да, думаю все 3 пункта мы сделаем. #3 думаю добавим в 2.1.2.
#1992
Да, выглядит так себе. Без исправлений в коде ничего сделать не получится. Кто-нибудь из разработчиков посмотрит.
#1993
Я бы предложил на какой-нибудь ноде сделать script DCI. Скрипт пройдется по всем нодам, просуммирует значения, и вернет сумму. Типа такого:


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

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

// 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)
{
v = GetDCIValueByName(o, "System.CPU.Usage");
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;
}


Конечно надо поставить корректное имя параметра в GetDCIValueByName. Можно его также передавать как параметр DCI, тогда будет универсальный скрипт.
#1994
Я проверю, возможно при первичном опросе что-то отрабатывает не так.
#1995
Это может быть даже не номер, а любая строка. Все графики с одинаковым знащением группы собираются в один. Группы ##число - это результат автоконвертации при обновлении.

Основная причина изменений - баги с отслеживанием изменений привязок к базовым DCI при наложении шаблонов и особенно instance discovery. В названии группы можно использовать {instance} - т.е. теперь можно при помощи instance discovery сделать комбинированые графики для каждого инстанса.

То, что графики развалились - это баг конвертации. Должны были остаться на своем месте.