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

#4486
Общие вопросы / Re: auto set unmanaged
June 30, 2013, 12:42:13 PM
Есть функция RemoveContainer, которая позволяет удалять только контейнеры. В 1.2.8 переделал ее в DeleteObject.
#4487
Hi!

If you have multiple UPSes connected to single machine, the only way for agent to distinguish them is by using UPS serial number. It is the serial number written on UPS. But if you have only one USB UPS, you can simple use word ANY instead of actual serial number - agent will pickup first available UPS.

Best regards,
Victor
#4488
Hi!

You should put %a in "Remote Host" field and shutthisdown in "Agent action" field.

Best regards,
Victor
#4489
Hi!

You have an error in action configuration - you have to specify remote host where to execute an action. Usually you can use macro %a here to execute it on event source.

Best regards,
Victor
#4490
Hi!

I found out that libcrypto is shipped with AIX, in openssl.base fileset, but probably it is not installed by default. This is how it looks on my machine:


tower:/# lslpp -w /usr/lib/libcrypto.a
  File                                        Fileset               Type
  ----------------------------------------------------------------------------
  /usr/lib/libcrypto.a                        openssl.base          File
tower:/# lslpp -L openssl.base
  Fileset                      Level  State  Type  Description (Uninstaller)
  ----------------------------------------------------------------------------
  openssl.base            0.9.8.1800    C     F    Open Secure Socket Layer


I found this on IBM web site:

The OpenSSL package is available as installp in the AIX Version 6.1 Expansion Pack. The package name is Openssl-0.9.8.8, and it can be installed using SMIT. (http://pic.dhe.ibm.com/infocenter/aix/v6r1/index.jsp?topic=%2Fcom.ibm.aix.ntl%2FRELNOTES%2FSC23663002.htm).

Best regards,
Victor
#4491
Can you please show the screenshots of action configuration on server and appropriate event policy rule? Also, can you try to execute action manually with nxaction command line tool?

Best regards,
Victor
#4492
Hi!

What type of map it is? If it's an automatically populated map, then objects will reapper - that's the point of automatic map population. If it is manually built map, then this is definitely a bug.

Best regards,
Victor
#4493
Надо использовать параметр PDH.CounterValue, или в 1.2.7 поставить origin "windows performance counter" и указать нужный счетчик. В конфиге агента в этом случае прописывать ничего не надо.
#4494
Здесь похоже что какой-то другой процесс успел захватить порт 4700, на котором сидит агент, поэтому он и не стартует. Посмотрите, какой еще процесс может 4700 использовать, и если возможно поменяйте его настройки, или попробуйте поставить другой номер порта для NetXMS агента (параметр ListenPort в nxagentd.conf). Если меняется номер порта у агента, то надо не забыть в консоли монитринга в свойствх соответствующего объекта тоже его поменять.
#4495
Да, у многих в 1.2.7 такая проблема. В 1.2.8 должно быть исправлено.
#4496
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
#4497
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
#4498
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
#4499
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
#4500
Попробуйте тип DCI поменять на Floating Point Number.