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

#4531
Здесь похоже что какой-то другой процесс успел захватить порт 4700, на котором сидит агент, поэтому он и не стартует. Посмотрите, какой еще процесс может 4700 использовать, и если возможно поменяйте его настройки, или попробуйте поставить другой номер порта для NetXMS агента (параметр ListenPort в nxagentd.conf). Если меняется номер порта у агента, то надо не забыть в консоли монитринга в свойствх соответствующего объекта тоже его поменять.
#4532
Да, у многих в 1.2.7 такая проблема. В 1.2.8 должно быть исправлено.
#4533
General Support / Re: Web UI Server 2012
June 26, 2013, 04:14:16 PM
Hi!

Looks like port 8787 already used by some other program. Try to change port number when installing service.

Best regards,
Victor
#4534
Hi!

On my system, it looks like system library, located in /usr/lib:


tower:/# ldd /opt/netxms/bin/nxagentd
/opt/netxms/bin/nxagentd needs:
         /opt/netxms/lib/libnxdb.a(libnxdb.so.1)
         /opt/netxms/lib/libnetxms.a(libnetxms.so.1)
         /usr/lib/libxnet.a(shr_64.o)
         /usr/lib/libpthread.a(shr_xpg5_64.o)
         /usr/vacpp/lib/libC.a(shr_64.o)
         /usr/vacpp/lib/libC.a(ansi_64.o)
         /usr/lib/libc.a(shr_64.o)
         /opt/netxms/lib/libnxexpat.a(libnxexpat.so.1)
         /opt/netxms/lib/libnxtre.a(libnxtre.so.5)
         /usr/lib/libdl.a(shr_64.o)
         /usr/lib/libcrypto.a(libcrypto64.so.0.9.8)
         /usr/lib/libiconv.a(shr4_64.o)
         /usr/lib/libc.a(pse_64.o)
         /unix
         /usr/vacpp/lib/libC.a(shrcore_64.o)
         /usr/vacpp/lib/libC.a(ansicore_64.o)
         /usr/lib/libcrypt.a(shr_64.o)
         /usr/lib/libpthreads.a(shr_xpg5_64.o)


But it's AIX 5.3. Most likely your system has newer libcrypto.

Here is link to download /usr/lib/libcrypto.a from my system: https://www.dropbox.com/s/gxqodx91t0099oz/libcrypto.a.

Best regards,
Victor
#4535
Hi!

Do you configure DCI for ProvaExternal parameter? Can you run agent in debug mode and check if server requests this DCI and what happens with external script execution?

Best regards,
Victor
#4536
Hi!

Agent is built with prefix /opt/netxms, so path to internal libraries embedded in binary is /opt/netxms/lib. Try to set environment variable LIBPATH before running agent as following:

$ LIBPATH=/apps/TRUE/netxms/nxagent-1.2.7-aix5.3-ppc64/opt/netxms/lib:$LIBPATH
$ export LIBPATH
$ /apps/TRUE/netxms/nxagent-1.2.7-aix5.3-ppc64/opt/netxms/bin/nxagentd

or just run agent as following:

$ LIBPATH=/apps/TRUE/netxms/nxagent-1.2.7-aix5.3-ppc64/opt/netxms/lib /apps/TRUE/netxms/nxagent-1.2.7-aix5.3-ppc64/opt/netxms/bin/nxagentd

Because of different path, you may also need to load platform subagent manually. Add the following lines to nxagentd.conf:

EnableSubAgentAutoload = no
SubAgent = /apps/TRUE/netxms/nxagent-1.2.7-aix5.3-ppc64/opt/netxms/lib/netxms/aix.nsm


Best regards,
Victor
#4537
Попробуйте тип DCI поменять на Floating Point Number.
#4538
Значение instance берется не из самого параметра - это просто текст, занесенный в поле instance на страничке Thresholds в свойствах DCI.
#4539
General Support / Re: Instance Discovery questions
June 20, 2013, 12:33:25 PM
Just checked trace. I've created simple script:


for(i = 0; i <= 9; i++)
trace(i, "Trace at level " . i);


and run it on my test server console (with debug level set to 6). Output is as expected:


netxmsd: exec c:\temp\trace.nxsl
[20-Jun-2013 12:32:15.828] Trace at level 0
[20-Jun-2013 12:32:15.828] Trace at level 1
[20-Jun-2013 12:32:15.828] Trace at level 2
[20-Jun-2013 12:32:15.828] Trace at level 3
[20-Jun-2013 12:32:15.828] Trace at level 4
[20-Jun-2013 12:32:15.828] Trace at level 5
[20-Jun-2013 12:32:15.828] Trace at level 6
INFO: Script finished with rc=0

netxmsd:


Best regards,
Victor
#4540
General Support / Re: Custom Attributes
June 19, 2013, 12:40:16 PM
Hi!

You can create new empty template, open data collection configuration for existing one, select DCIs you want to copy to new template, right-click, select "Copy to other node...", and select new template object as destination.

You can modify templates using nxshell and Python scripts. Info about nxshell can be found here: http://wiki.netxms.org/wiki/Using_nxshell_to_automate_bulk_operations, and Java API documentation is here: https://www.netxms.org/documentation/javadoc/latest/ (you call Java API from nxshell script).

Best regards,
Victor
#4541
Общие вопросы / Re: snmp v3 informs
June 18, 2013, 05:36:33 PM
На первый взгляд ответ кажется правильным. Буду читать RFC внимательно и сравнивать ответ сервера с тем, что должно быть по стандарту.
#4542
General Support / Re: Custom Attributes
June 18, 2013, 05:13:26 PM
Another possible option is to use script type macros in templates. For example, you can use macro like

%{script:SelectOID}

instead of actual OID in template, and create script called [n]SelectOID[/b] in script library, which will return correct OID for given node. This script will have $node variable set, so it can get any information about the node.

For example:


if ($node->snmpOID like ".1.3.6.1.4.1.11.*")
   return ".1.3.6.1.4.1.11.2.3.4.5.6.7.8.0";
return return ".1.3.6.1.2.1.1.1.0";


Not sure if this will be easier then configuring separate templates...

Best regards,
Victor
#4543
General Support / Re: Custom Attributes
June 18, 2013, 04:59:52 PM
Hi!

Custom attributes are attached to the object. Template only handles data collection configuration, custom attributes will not be copied. Custom attributes was designed to store object-specific attributes, and often used by integration tools or scripts. For data collection it is usually enough to create different templates for different vendors/models.

Best regards,
Victor
#4544
Мистика какая-то. Connection from 192.168.3.3 rejected означает что 192.168.3.3 не прописан в конфиге в MasterServers. Для теста, попробуйте в конфиге добавить MasterServers = 0.0.0.0/0 - тогда агент должен любые соединения принимать.
#4545
Quote from: touton on June 18, 2013, 12:48:36 PM
QuoteYou can create dashboard which contains other dashboards and configure rotation. (Create new dashboard object, add single element of type "Dashboard", open it's properties, and add dashboards you want to rotate to the list. You can also set delay between changing screen here.)
Seems to do the job, one question, I've create a dashboard to host network map. When it is displayed, I have no background, and icons are not setup like within the network map (I know that there's a bug with display settings storage not located in the map). Any idea ?

This is bug in console. It's already fixed, version 1.2.8 will work as expected.

Quote from: touton on June 18, 2013, 12:48:36 PM
QuoteNo, with current map implementation you can only see different colors beneath object icon
Any schedule for creating decoration or other object with color selection linked to object status ? (it might be usefull for ATM monitoring ;) )

I'll add this to feature request list, but don't expect it in 1.2.8.

Quote from: touton on June 18, 2013, 12:48:36 PM
Last thing : is there a way to send events to java console (like force opening X view) ? Thaks to this, it would be possible to change view when an event occurs.

No, it's not possible. You can create your own plugin which will listen to events coming from server and do necessaey view switching :) Also, this will be a bit simpler when we add Python scripting support in console (similar like it's done now in nxshell tool).

Best regards,
Victor