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

#466
Там некоторая магия с версиями.
Для десктопа надо использовать 3.8.2: http://archive.eclipse.org/eclipse/downloads/drops/R-3.8.2-201301310800/
Для веба - 4.4: https://eclipse.org/downloads/packages/release/luna/sr2

Инструкция для веба более сложная, тут: https://wiki.netxms.org/wiki/How_to_setup_Eclipse/RAP
Для десктопа должно быть достаточно пакетов из eclipse_addons.txt
#467
Almost everything is in the database. You can dump database while netxmsd is running.

1) Backup netxmsd.conf / nxagentd.conf
2) Backup /var/lib/netxms (if you custom images, sounds or packages)
3) Backup database (pg_dump, mysqldump, exp, etc.)

Restore procedure is:
1) Restore or recreate config
2) Restore files, if any
3) Restore database
4) Check data consistency: "nxdbmgr check"
#468
Имя меняется в двух случаях:

1) Включена опция ResolveNodeNames в конфиге сервера и текущее имя - IP адрес (ноды или любого ее интерфейса). Этот режим по умолчанию включен.
Порядок такой (на 4-м уровне дебага будет видно в логах):
* dns backresolve по primary address, потом по всем интерфейсам
* если не сработало, и есть агент - запрашивается System.Hostname
* если не сработало, и есть SNMP - запрашивается .1.3.6.1.2.1.1.5.0

2) Включена опция SyncNodeNamesWithDNS, но в этом случае используется только DNS.
#469
Make sure you are running Java8
#470
Похоже vmgr.nsm не добавили в пакеты. Вечером поправлю и выложу апдейт в репозиторий.
#471
Looks like startup script is a bit incorrect.

Try to do following changes:

1) in stop section add "--retry 60" to start-stop-daemon:

stop)
        log_daemon_msg "Stopping NetXMS server" "netxmsd"
        start-stop-daemon --stop --quiet --pidfile $PIDFILE --retry 60
        log_end_msg $?


2) Add following section into /etc/init.d/netxmsd (just after #!/bin/sh):

### BEGIN INIT INFO
# Provides:          netxmsd
# Required-Start:    $remote_fs network nxagentd mysql
# Required-Stop:     $remote_fs mysql
# Default-Start:     2 3 4 5
# Default-Stop:      0 1 6
# Short-Description: NetXMS server initscript
# Description:       NetXMS server startup script
### END INIT INFO


After change is made - run "update-rc.d netxmsd defaults"
#472
Hello.

Change "/index.html" to "/"
#474
Да, переход на 2.1 - долгий. Мы сильно поменяли структуру хранения табличных метрик, и все данные при апгрейде конвертируются в новый формат.
После апгрейда рекомендую сделать вакуум - база будет в разы меньше.
#475
На данный момент этот артибут недоступен из nxsl
#476
Try http://mysqltuner.com/, it usually gives you quite decent ideas about MySQL configuration (it's not a silver bullet though).
#477
General Support / Re: bug with bar graph
October 14, 2016, 09:38:56 AM
Are you using HiDPI screen by any chance?
#478
General Support / Re: DCI checks over SSH
October 14, 2016, 09:32:17 AM
Check that metric is provided by the agent:

nxget -I VM_IP|grep SSH

Also check agent version:

nxget VM_IP Agent.Version
#479
General Support / Re: Connection refused from Server
October 14, 2016, 09:24:41 AM
Also check output of "dmesg" - most likely there will be records like "Out of memory: Kill process 29957 (netxmsd) score 366 or sacrifice child"
#480
General Support / Re: Connection refused from Server
October 14, 2016, 09:23:28 AM
Yes, I'd recommend at least 2GB of memory when database is on the same server.
How many servers you have configured in the NetXSM?