News:

We really need your input in this questionnaire

Main Menu
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

#3331
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
#3332
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
#3333
Ох, как-то я выпустил это из головы... Сегодня вечером подключусь к устройству и посмотрю что там. ПО идее драйвер добавить не долго.
#3334
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
#3335
Да, именно так и стоит сделать. Узлы без IP адреса создавать можно, можно также использовать значение какого-то DCI для определения статуса такого узла, чтобы он не болтался в UNKNOWN. Надо будет только прописать етот узел как trusted в свойствах всех узлов с которых будет проишодить сбор данных.
#3336
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
#3337
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
#3338
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
#3339
Можно написать 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 и в качестве имени - скрипт из библиотеки.
#3340
"connection refused" означает что веб интерфейс не может к netxms серверу подключится. NetXMS сервер на той-же машине? Запущен?
#3341
Hi,

if you have Linux installation, can you please run it under gdb?

Commands would be like this:

gdb /path/to/netxmsd

will show (gdb) prompt, then

run -D5

server will run in foreground. When crash will happen, (gdb) prompt will be shown again. Type

bt

and send me an output.

Best regards,
Victor
#3342
General Support / Re: Importing database 1.2.16
December 03, 2014, 12:22:30 PM
Hi!

You may need to build NetXMS in UNICODE mode (by adding --enable-unicode to configure) or set proper code page in netxmsd.conf (CodePage parameter).

Best regards,
Victor
#3343
Hi,

Debian 7 packages should work on Ubuntu, and so you can use repository for Debian 7. You can just add

deb https://www.netxms.org/apt wheezy main

to /etc/apt/sources.list, then run

apt-get update
apt-get install netxms-agent

Should work fine.

Best regards,
Victor
#3344
General Support / Re: Importing database 1.2.16
November 27, 2014, 06:36:14 PM
Hi!

Do you use precompiled binaries or you compile NetXMS on Ubunto from sources?

Best regards,
Victor
#3345
Announcements / Re: NetXMS 1.2.16 released
November 26, 2014, 10:59:54 AM
Quote from: Dani@M3T on November 26, 2014, 10:42:32 AM
in 'Performance Tab' 'Title' I can't use the macro {instance-name}. Is it not implemented, a bug or my error in reasoning?

You can only use {instance} macro there. But actually you'll got instance name with that macro. Long explanation is following:

{instance} and {instance-name} macros in DCI name and description expanded during instance discovery process. There is "instance" field in each DCI (you can see it's value on "Thresholds" tab) - you can edit it freely for ordinary DCIs but it is populated automatically for DCIs created by instance discovery, and it is set to instance name. Macro {instance} in performance tab configuration expanded when you open performance tab, and value of "instance" attribute of appropriate DCI is used.

Both macros was created when there was only {instance} in instance discovery and it was making sense. Now with introduction of {instance-name} macro it becomes counter-intuitive. I probably can add {instance-name} macro to performance tab just to make it compatible - but still it will not allow to get actual instance value (although I double somebody will need it in graph title).

Best regards,
Victor