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

#3346
Hi,

yes, it's a bug in server SNMP code. Type 5 is NULL - it seems that some device reports missing OIDs by setting type to NULL instead of reporting error. I've fixed that - fix will be included in 2.0-M1 release.

Best regards,
Victor
#3347
Announcements / Re: NetXMS 1.2.17 released
December 08, 2014, 05:06:25 PM
Hi,

yes, it's possible.

Best regards,
Victor
#3348
Несколько замечаний:

1. Когда создаете новый storage, попробуйте указать 0.0.0.0 как "основной адрес".

2. Попробуйте сбор данных сделать не через transformation script у dummy DCI, a как скрипт в библиотеке и тип DCI "скрипт".
#3349
General Support / Re: POLL ERROR: Request timed out
December 08, 2014, 10:27:45 AM
Hi!

Looks like this node do not support SNMP (or it is blocked by firewall) and SNMP checking just takes too long. You can disable SNMP for this node if it is not needed.
In fact, poll itself should be finishing anyway - it is UI timeout waiting for poller update messages.

Best regards,
Victor
#3350
А можно скриншот настройки DCI?
#3351
General Support / Re: Switch FDB differences
December 05, 2014, 06:29:47 PM
Information for "Topology > Switch forwarding database (MAC address table)" taken from FDB cached by topology poll which is filtered (only active dynamic entries left) and contains additional information (such as node name). Information shown in "Tools > Info > Switch forwarding database (FDB)" is a result of walk over specific OID.

Best regards,
Victor
#3352
I suppose that df may report percentage of total space - reserved space used (so you actually can see 101% use in df for example). NetXMS agent returns percentage of used total space. You can see the difference by comparing FileSystem.Free/FileSystem.FreePerc with FileSystem.Avail/FileSystem.AvailPerc.

Best regards,
Victor
#3353
Ох, как-то я выпустил это из головы... Сегодня вечером подключусь к устройству и посмотрю что там. ПО идее драйвер добавить не долго.
#3354
Hi,

it's quite strange because NetXMS server closes Oracle session if it cannot login and opens new one. Theoretically closing session in Oracle client should close underlying socket as well. Were those connections on DB server side or on NetXMS server side? I'll also check if we close Oracle session correctly.

Best regards,
Victor
#3355
Да, именно так и стоит сделать. Узлы без IP адреса создавать можно, можно также использовать значение какого-то DCI для определения статуса такого узла, чтобы он не болтался в UNKNOWN. Надо будет только прописать етот узел как trusted в свойствах всех узлов с которых будет проишодить сбор данных.
#3356
Hi,

how big is the difference? Also, in version 1.2.14 there was a fix in Linux agent in file system percentage calculation (before that fix percentage was always rounded down, so 3.99 would become 3.00 for example).

Best regards,
Victor
#3357
Hi,

it's a bug that is already fixed in development branch (will be released as 2.0-M1 soon). In the meantime you can patch server code manually if you are building it from source:

In file src/server/core/node.cpp find line


             Node *peerNode = (Node *)FindObjectById(iface->getPeerNodeId(), OBJECT_NODE);


(should be around line 5329). Immediately after that line add the following code:


            if (peerNode == NULL)
            {
               iface->clearPeer();
               continue;
            }


Best regards,
Victor
#3358
Try to install libsensors4 manually. It's a bit strange though - I test it on Ubuntu 14.04 LTS and installation went fine.

Best regards,
Victor
#3359
Можно написать data collection script, который в цикле будет опрашивать ноды и возвращать первое успешно полученное значение. Выглядеть может например так:


nodes = %("node1", "node2", "node3");
foreach(n : nodes)
{
   node = FindNodeObject($node, n);
   if (node != null)
   {
      snmp = CreateSNMPTransport(node);
      if (snmp != null)
      {
         value = SNMPGetValue(snmp, ".1.3.6.1.2.1.1.1.0");  // put your OID here - you can also pass OID as script parameter
         if (value != null)
            return value;  // got response
      }
   }
}
return "ERROR";   // error indication


Соответственно DCI на массиве будет с типом Script и в качестве имени - скрипт из библиотеки.
#3360
"connection refused" означает что веб интерфейс не может к netxms серверу подключится. NetXMS сервер на той-же машине? Запущен?