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

#4186
Скачать можно здесь: https://www.dropbox.com/s/n005n2yt16nokrb/nxmc-1.2.10-M3-7850-win32-x64.zip. Если даст ошибку "incompatible protocol", то можно в командной строке дать опцию -ignore-protocol-version
#4187
Собрал консоль. Под какие платформы нужна?
#4188
Общие вопросы / Re: NetXMS + DB Oracle
November 12, 2013, 11:19:05 AM
Похоже он все-таки не может подключится к базе. DB и schema NULL это нормально, для Oracle подключений они не используются. Попробуйте указать

TNSName = TST.SUNPP.LOCAL

Успешный лог у меня выглядит так:

[12-Nov-2013 11:16:56.371] [INFO ] DB Library: Database driver "oracle.ddr" loaded and initialized successfully
[12-Nov-2013 11:16:56.373] [INFO ] Subagent "oracle.nsm" loaded successfully
[12-Nov-2013 11:16:56.373] [DEBUG] DBConnect: server=//192.168.64.3/XE db=(null) login=system schema=(null)
[12-Nov-2013 11:16:57.001] [DEBUG] New DB connection opened: handle=000000000317FBD0
[12-Nov-2013 11:16:57.001] [INFO ] oracle: connected to DB '//192.168.64.3/XE'

конфиг такой:


*Oracle
ID = DB1
TNSName = //192.168.64.3/XE
Username = system
Password = admin


но я использую instant client.
#4189
Hi!

First filtering you can do based on object class - that way you'll filter out subnets, etc. Then you can use like or match operations to filter objects by part of name. For example, to match only containers with names started with "X-" you can use the following script:


nparents = GetNodeParents(FindObject($1));
foreach(i : nparents)
{
    if ((i->type == 5) && (i->name like "X-*"))
    {
        println "Parent name='" . i->name;
    }
}


Note that like operation is case sensitive - if you need case insensitive comparison, use ilike.

Best regards,
Victor
#4190
Общие вопросы / Re: NetXMS + DB Oracle
November 12, 2013, 09:42:02 AM
Quote from: oruel on November 12, 2013, 08:43:02 AM
Со стороны сервера в параметрах стали видны Оракловские параметры (но только после перезагрузки сервера, что не есть хорошо)

Достаточно было сделать configuration poll для узла с агентом, или подождать - сервер обновляет список доступных параметров во время configuration poll.

Quote from: oruel on November 12, 2013, 08:43:02 AM
но при попытке выполнить любой запрос выпадает ошибка . В качестве параметра передаю ID т.е в моем случае ora1.
----- ERROR --------
Cannot get current parameter value: Requested data collection item is not supported by agent
-------------
Куда смотреть дальше?

Попробуйте запустить агента с уровнем дебага 9 (опция -D9 в командной строке) - скорее всего будут дополнительные сообщения в логе.
#4191
Hi!

Direct (not using PDH.CounterValue agent parameter) configuration of Windows Performance Counter DCIs was added in version 1.2.7, so you have to upgrade your 1.2.1 installation first.

Best regards,
Victor
#4192
General Support / Re: error during install agent
November 12, 2013, 09:26:48 AM
Hi!

Looks like gcc on your system configured to use i386 instruction set by default (see line "Target: i386-redhat-linux" in gcc version output). Atomic functions required at least i486. Try to use compilation flag -march=i486 when building agent, like this:

CPPFLAGS="-march=i486" ./configure other configure options as usual

Best regards,
Victor
#4193
Announcements / Re: NetXMS 1.2.9 released
November 12, 2013, 09:11:28 AM
Hi!

You can upgrade directly to 1.2.9. Actual upgrade procedure depends on your platform and installation method (from sources or using binary packages). Installation guide (http://wiki.netxms.org/wiki/Server_Installation_Guide) contains necessary upgrade steps.

Best regards,
Victor
#4194
The only way I can think of is to create "dummy" DCI and use transformation script to read value from correct OID directly in transformation script.

Best regards,
Victor
#4195
General Support / Re: Calculate/display 95th.etc
November 11, 2013, 02:53:22 PM
Unlikely in 1.2.10, but I'll register as feature request for one of the next releases.

Best regards,
Victor
#4196
General Support / Re: Uptime percentage in dashboard.
November 11, 2013, 02:51:58 PM
Hi!

You can create a calculated DCI which will calculate uptime in transformation script, and then add it to dashboard using "gauge" type element. Alternatively, you can create business service and appropriate checks.

Best regards,
Victor
#4197
General Support / Re: Agentless ICMP
November 11, 2013, 02:49:56 PM
Here it is: http://wiki.netxms.org/wiki/Subagent:Ping

Best regards,
Victor
#4198
Общие вопросы / Re: NetXMS + DB Oracle
November 08, 2013, 05:15:06 PM
субагент в аттаче. Инсталлер я порсмотрю, спасибо за репорт.
#4199
General Support / Re: error during install agent
November 08, 2013, 11:09:28 AM
Seems that atomic functions are missing on XEN server for some reason. What is output of your gcc -v?

Also, you can try to run pre-compiled static agent: https://www.netxms.org/download/agent_packages/nxagent-1.2.9-linux-x86-static.tar.gz - there are good chances that it will work.

Best regards,
Victor
#4200
General Support / Re: nodes not showing in Object tree
November 08, 2013, 10:55:38 AM
Can you show me results of the following SQL queries:

SELECT * FROM nodes;
SELECT * FROM object_properties;
SELECT * FROM nsmap;

you can send results to [email protected] if it contains sensitive data.

Best regards,
Victor