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

#3316
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
#3317
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
#3318
Можно написать 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 и в качестве имени - скрипт из библиотеки.
#3319
"connection refused" означает что веб интерфейс не может к netxms серверу подключится. NetXMS сервер на той-же машине? Запущен?
#3320
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
#3321
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
#3322
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
#3323
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
#3324
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
#3325
Hi,

check server configuration variable SyncNodeNamesWithDNS - it must be set to 0 to avoid node names re-sync with DNS.

Best regards,
Victor
#3326
General Support / Re: Problem with SNMP
November 24, 2014, 03:42:03 PM
Hi,

no, we do not support time filtered MIBs. I'll add this as feature request.

Best regards,
Victor
#3327
General Support / Re: Problem with SNMP
November 21, 2014, 12:24:37 PM
So it's a bug in SNMP agent on switch then. The only workaround so far is to disable topology poll on that node and restart NetXMS server.

Best regards,
Victor
#3328
General Support / Re: Problem with SNMP
November 21, 2014, 10:49:15 AM
Hi,

interesting is that I don't see "Finished topology poll" message for that node. This may indicate that server is stuck within topology poller for some reason. Can you please run snmp walk from command line on this node on OID .1.3.6.1.2.1.17.7.1.4.2.1.4? I suspect that walk may cycle for some reason thus forming infinite loop.

Best regards,
Victor
#3329
Hi,

you are using wrong configuration parameters. Correct will be

ID = NTS8
Name = 172.29.10.149:1549/NTS8
Username= apps
Password = apps

ID is an arbitrary string. You will use it in parameters, like this:

Oracle.Cursors.Count(NTS8)

See Oracle subagent documentation for more information: https://www.netxms.org/documentation/adminguide/subagents.html#oracle

Best regards,
Victor
#3330
General Support / Re: Solaris client installaiton problem
November 20, 2014, 08:03:53 PM
Hi,

in version 1.2.7 we start using finction inet_pton which seems to be defined only in SUNW_1.3.1 version of libxnet. That's the only dependency on this version. I'll check how it's usage can be avoided.

Best regards,
Victor