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 - Alex Kirhenshtein

#362
1 и 2) убедитесь, что сервер собран с поддержкой UNICODE (--with-unicode в configure). До ветки 2.1, по умолчанию сборка была не уникодная.

Я проверил у себя локально – всё хорошо (скриншот в аттаче)

❯ netxmsd -v
NetXMS Server Version 2.1-M3 Build 9008 (2.1-M3-13-g3d9a40b) (UNICODE)
NXCP: 4.48.1.8 (AES-256, Blowfish-256, IDEA, 3DES, AES-128, Blowfish-128)
Built with: Apple LLVM version 8.0.0 (clang-800.0.42.1)


База:

alk=# \l netxms
                             List of databases
  Name  | Owner  | Encoding |   Collate   |    Ctype    | Access privileges
--------+--------+----------+-------------+-------------+-------------------
netxms | netxms | UTF8     | en_US.UTF-8 | en_US.UTF-8 |



3) пришлите пожалуйста лог nxmc ($HOME/.nxmc/data/.metadata/.log)

4) мы сами не пользуемся русской локализацией, поэтому не заметили :)
Перевод лежит в файлах messages_ru.properties и bundle_ru.properties – отдельно для каждого компонента.

Исходники – https://git.netxms.org/public/netxms.git/tree/refs/heads/develop:/src/java/netxms-eclipse

Самый простой метод – прислать нам diff.

Важный момент – русский текст в файлах должны быть в таком формате:

category.Views=\u0412\u0438\u0434\u044b

Если туда прописывать уникод – Eclipse ломается (потому что в стандарте прописана кодировка ISO-8859-1).

Я рекомендую использовать какой-либо редактор (например http://essiembre.github.io/eclipse-rbe/).

Ручной путь:

❯ native2ascii -reverse UserManager/OSGI-INF/l10n/bundle_ru.properties
action.CertificateManager.label=Менеджер сертификатов
action.CertificateManager.tooltip=Открыть менеджер сертификатов
...

❯ native2ascii -reverse UserManager/OSGI-INF/l10n/bundle_ru.properties temp.properties

❯ vim temp.properties

❯ native2ascii temp.properties
action.CertificateManager.label=\u041c\u0435\u043d\u0435\u0434\u0436\u0435\u0440 \u0441\u0435\u0440\u0442\u0438\u0444\u0438\u043a\u0430\u0442\u043e\u0432
action.CertificateManager.tooltip=\u041e\u0442\u043a\u0440\u044b\u0442\u044c \u043c\u0435\u043d\u0435\u0434\u0436\u0435\u0440 \u0441\u0435\u0440\u0442\u0438\u0444\u0438\u043a\u0430\u0442\u043e\u0432
...

❯ native2ascii temp.properties UserManager/OSGI-INF/l10n/bundle_ru.properties

#363
Спасибо за информацию.
Мы недавно перенесли почту на новый сервер, был неправильный PTR для нового IP.
Проверьте сейчас, судя по логам всё ушло.
#364
General Support / Re: centos 7 installation
May 02, 2017, 12:16:46 AM
I just tried building server on Centos7 (clean minimal install, reverted to snapshot between attempts) – works fine for me.

Using binaries from postgresqls.org:

yum install https://download.postgresql.org/pub/repos/yum/9.6/redhat/rhel-7-x86_64/pgdg-centos96-9.6-3.noarch.rpm
yum install postgresql96-server postgresql96-contrib postgresql96-devel
yum install gcc gcc+c++ openssl-devel libssh-devel
tar zxf netxms-2.1-M3.tar.gz
cd netxms-2.1-M3
./configure --prefix=/opt/netxms --with-server --with-pgsql=/usr/pgsql-9.6
make -j16 && make install


Using PG from EnterpriseDB:
./postgresql-9.6.2-4-linux-x64.run # installed into default /opt/PostgreSQL/9.6
yum install gcc gcc+c++ openssl-devel libssh-devel
tar zxf netxms-2.1-M3.tar.gz
cd netxms-2.1-M3
./configure --prefix=/opt/netxms --with-server --with-pgsql=/opt/PostgreSQL/9.6
make -j16 && make install
#365
We do not provide support for build process on Windows.
Please use pre-build binaries or contact [email protected] for commercial support quite.
#366
Общие вопросы / Re: Название OS.
April 27, 2017, 09:01:43 PM
Нет, отдельно только платформа (System.PlatformName)
#367
Поменялась структура пакетов.
Я рекомендую сделать так:
1) бекап конфигов
2) apt-get purge netxms-\*
3) apt-get install netxms-server netxms-dbdrv-pgsql (выбрать в зависимости от желаемой базы)
4) вернуть конфиги на место, обновить базу при помощи "nxdbmgr upgrade"

Про репозиторий: https://wiki.netxms.org/wiki/Using_APT_Repository
#368
./configure --with-db2=/opt/ibm/db2/V11.1 ...

Попробуйте так. Если не сработает – пришлите пожалуйста config.log.
#369
В 2.1-M3.
Плагин для графаны и описание тут: https://github.com/netxms/grafana
#370
В качестве временного решения для #1 (и если дискавери не используется) – можно сделать кастомный filtering script, в котором всегда возвращать false (чтоб не создавать ноды), но делать PostEvent() и обрабатывать потом это событие в EPP
#371
Check why it's failing:


> See "systemctl status nxagentd.service" and "journalctl -xe" for details.
#372
General Support / Re: DR Node
February 27, 2017, 02:09:32 PM
Create a cluster with two nodes, configure DCIs on the cluster itself - it will be propagated to both nodes
#373
General Support / Re: Network map link speed colours
January 25, 2017, 12:59:10 PM
There are two options (all accessible in link properties, right click on the link to open):

1) you add label on the link (in "Data Sources"), label color will reflect active threshold on the DCI
2) create dummy node (with IP=0.0.0.0), and add it to General->Color->Based on object status
Then create scripted DCI on this node. Select Other Options -> Use this DCI for node status calculation. Script should return 0-4 (normal-critical) based on current link usage. Don't forget to set retention time to "Do not save to the database"
#374
Попробуйте обновить Jetty до версии 9
#375
General Support / Re: web page on dashboard
January 13, 2017, 09:52:23 AM
Try to install libwebkit package.

http://www.eclipse.org/swt/faq.php#browserlinux

We are using eclipse 3.8: Mozilla 1.4 GTK2 - 1.7.x GTK2, XULRunner 1.8.x - 1.9.x, 3.6.x and 10.x (but not 2.x nor 4.x - 9.x), WebKitGTK+ 1.2.x and newer
...
A: In Eclipse/SWT 3.7 and newer the Browser attempts to use WebKitGTK for SWT.NONE-style Browsers created on GTK. For this to succeed, WebKitGTK 1.2.0 or newer must be in the library load path.