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

#766
А если принудительно сбросить пароль? Правый клик на юзере -> Change password
#767
Системные события нельзя удалить.
В Event Processing Policy уберите правило, которое создает алармы для этого события.
#768
General Support / Re: Email Test
August 01, 2014, 04:27:34 PM
There are no "test" button, but you can check it like this:

1) add new rule to EPP, any (preferablty unsued) event will do - with action "send email", don't forget to save EPP
2) send this event using command line tool "nxevent":nxevent -u admin -P adminpassword localhost SYS_NODE_DOWN

P.S. replace "SYS_NODE_DOWN" with event you choose in step 1.
#769
В аттаче сборка для версии 1.2.15

Исходники есть в гите: http://git.netxms.org/public/netxms.git/tree/develop:/src/java/netxms-jira-connector
#770
Announcements / Re: NetXMS 1.2.15 released
July 28, 2014, 02:33:34 PM
Quote from: Dani@M3T on July 28, 2014, 11:29:49 AM
But I get this db upgrade error when I upgrade from V1.2.14 to V1.2.15 on linux 64bit with PostgreSQL:

Hello.

Thank you for report. This bug in upgrade procedure is already fixed, we testing it right now.
#771
SQLite предназначен только для совсем маленьких, тестовых систем - надо для начала сделать миграцию на нормальную базу, я советую PostgreSQL.

В английской ветке форума я писал про процесс миграции: https://www.netxms.org/forum/general-support/database-locked-error/msg14453/#msg14453
#772
General Support / Re: database locked error
July 23, 2014, 06:51:46 PM
To use "nxdbmgr migrate", you need to do a few preparation steps:

1) Create a copy of existing netxmsd.conf, I'll name it "netxmsd_old.conf" in this example
2) Create new database
3) Init with initial schema: nxdbmgr init /opt/netxms/share/netxms/sql/dbinit_pgsql.sql
Please note, that there are different files for different database types, in this example - "dbinit_pgsql.sql" is for PostgreSQL.
4) Adjust "netxmsd.conf" - change DBDriver, DBName, etc. to match new database
5) (optional) run "nxdbmgr check" to verify connectivity to new database
6) run "nxdbmgr migrate netxmsd_old.conf". This will load data from old database (using credentials in netxmsd_old.conf) and migrate it into new one (as configured in netxmsd.conf)
#773
General Support / Re: database locked error
July 23, 2014, 01:19:03 AM
Hello.

Bundled DB engine is SQLite. You can try to export/reimport db into a new file (run in cmd.exe): echo ".dump" | sqlite3 c:\netxms\ database\netxms_db | sqlite3 c:\netxms\ database\netxms_db.new

sqlite3.exe can be downloaded here: http://www.sqlite.org/2014/sqlite-shell-win32-x86-3080500.zip

This should produce a clean copy of the database in file netxms_db.new. Move original netxms_db tor backup and rename netxms_db.new to netxms_db.

I also highly recommend you to migrate to any other database engines, PostgreSQL is common and quite good choice - it's powerful, free and require just a little of the system resources in default configuration.

nxdbmgr can be used for migration (so you don't have to dump data and reimport it manually).
#774
Общие вопросы / Re: Иконка
July 22, 2014, 07:26:02 PM
Если подвести курсор к объекту, появится тултип (первый скриншот)
Для каждого DCI на любой ноде (или в темплейте) можно включить опцию "Network Maps -> Show last value on network map" (второй скриншот)
Третий скриншот - пример ноды из первого скриншота, на которой я включил эту опцию на двух DCI
#775
Общие вопросы / Re: Иконка
July 22, 2014, 04:06:59 PM
Сейчас IP есть только в tooltip-е (который кстати настраивается)
#776
You need to create all required tables and load initial configuration. This can be done with "nxdbmgr init path_to_sql_file" command, for example:

nxdbmgr init /opt/netxms/share/netxms/sql/dbinit_pgsql.sql


You need to change path (/opt/netxms/share/netxms/sql/) to conform your installation, and please note, that file name is different for different database types:

AirAlk:~() $ ls -l /opt/netxms/share/netxms/sql/dbinit_*.sql
-rw-r--r--  1 alk  admin  120673 Jun 22 22:17 /opt/netxms/share/netxms/sql/dbinit_db2.sql
-rw-r--r--  1 alk  admin  119910 Jun 22 22:17 /opt/netxms/share/netxms/sql/dbinit_mssql.sql
-rw-r--r--  1 alk  admin  112856 Jun 22 22:17 /opt/netxms/share/netxms/sql/dbinit_mysql.sql
-rw-r--r--  1 alk  admin  120498 Jun 22 22:17 /opt/netxms/share/netxms/sql/dbinit_oracle.sql
-rw-r--r--  1 alk  admin  117540 Jun 22 22:17 /opt/netxms/share/netxms/sql/dbinit_pgsql.sql
-rw-r--r--  1 alk  admin  118248 Jun 22 22:17 /opt/netxms/share/netxms/sql/dbinit_sqlite.sql


In your case, most likely command will be

nxdbmgr init /usr/share/netxms/sql/dbinit_sqlite.sql



NB! We strongly suggest not to use SQLite for anything than testing or development
#777
Yes, it's known, low priority issue - it does not affect anything except scary record in log file (server tries to delete collected data for template itself - and fails, since idata_* tables are created only for nodes).
#779
А какая версия джавы (я переделаю, что бы везде работало — но интересно)?
Как временное решение: java -Djava.io.tmpdir=/tmp/ -jar ...
#780
В Tools -> Server Settings есть три параметра: SMTPServer, SMTPFromAddr и SNMPFromName
Для отсылки через gmail (или любой другой сервер, который требует авторизацию и/или шифрование), надо настроить локальный мейл сервер. Для UNIX систем инструкция ищется по словам "postfix smarthost gmail" (postfix заменить на используемый MTA). Для Windows систем я ставлю http://emailrelay.sourceforge.net/, маленький, но отлично работающий SMTP прокси, которые поддерживает и авторизацию и шифрование.

Quote from: Mainfin on May 23, 2014, 03:09:08 PM
Покажите, пожалуйста, еще как настроить e-mail нотификацию? Я нашел статью на wiki про нотификацию (How to send e-mail notification when disk space is low), но там нет не слова про настройку SMTP сервера. Я же могу использовать какой-нибудь gmail для отправки алармов?