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

#391
Общие вопросы / Re: RADIUS Auth protocol
November 04, 2016, 09:54:45 AM
Добрый день.

Буквально на днях добавили поддержку.
Код сейчас только в 2.1, но пожалуй перенесем в 2.0.6 тоже.
#392
Там некоторая магия с версиями.
Для десктопа надо использовать 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
#393
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"
#394
Имя меняется в двух случаях:

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

2) Включена опция SyncNodeNamesWithDNS, но в этом случае используется только DNS.
#395
Make sure you are running Java8
#396
Похоже vmgr.nsm не добавили в пакеты. Вечером поправлю и выложу апдейт в репозиторий.
#397
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"
#398
Hello.

Change "/index.html" to "/"
#400
Да, переход на 2.1 - долгий. Мы сильно поменяли структуру хранения табличных метрик, и все данные при апгрейде конвертируются в новый формат.
После апгрейда рекомендую сделать вакуум - база будет в разы меньше.
#401
На данный момент этот артибут недоступен из nxsl
#402
Try http://mysqltuner.com/, it usually gives you quite decent ideas about MySQL configuration (it's not a silver bullet though).
#403
General Support / Re: bug with bar graph
October 14, 2016, 09:38:56 AM
Are you using HiDPI screen by any chance?
#404
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
#405
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"