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

#856
Общие вопросы / Re: NXAgent & OpenWRT
October 21, 2013, 02:59:35 PM
Бинарники, которые я выложил, должны работать – тулчейн как раз под AR7xxx.
Если заработает – я пересоберу с поддержкой openssl
#857
Общие вопросы / Re: NXAgent & OpenWRT
October 21, 2013, 02:36:04 PM
Под рукой был готовый тулчейн только для MIPS: https://www.dropbox.com/s/pe5spa6x7rjuifq/nxagent-1.2.9-mips.tar.gz

Под какой target system нужны бинарники?
#858
I just tried on my laptop (1.8.5 with all updates, including recent Java update) – it works fine.

I used this image: https://www.netxms.org/download/nxmc/nxmc-1.2.9.dmg
File size: 29178676 bytes.
SHA1 hash of the file is b77ac923f46a16994e318cf51bf67a2c2686b130 (to check, open Applications -> Utilities -> Terminal, type "openssl sha1 ", drag nxmc-1.2.9.dmg to Terminal and press "enter")

You getting this error while trying to mount dmg file, at "Verify" stage — or it's after you drag "NetXMS Console.app" to Applications?

Just to be sure, I repacked dmg file, please try this one: https://www.dropbox.com/s/9rd0e164d9e60rf/nxmc-1.2.9.dmg
#859
Общие вопросы / Re: segfault nxagentd
October 06, 2013, 06:56:13 PM
Попробуйте наложить патч из аттачмента.

Накладывается так:cd netxms-1.2.9
patch -p1 < /path/to/patch
#860
Общие вопросы / Re: segfault nxagentd
October 06, 2013, 06:37:52 PM
Я не могу повторить на тестовой системе. В таком режиме держал больше часа: while true; do nxget localhost 'ServiceCheck.HTTPS(alk.lv,443,/,www.alk.lv,)'; done

Дайте больше деталей о системе – дистрибутив, версия, 32/64
#861
Will be included in 1.2.10, you can also apply attached patch and rebuild portcheck subagent.
To enable this feature, set parameter "FailedDirectory" to any existing directory, whole http response including headers will be dumped there. Name format for dump files is "hostname-unixtimestamp", or "ip-unixtimestamp".

Sample config:
MasterServers = 127.0.0.1
LogFile = /opt/netxms/var/log/nxagentd
*portcheck
FailedDirectory=/tmp/failed
#863
Какая версия дебиана? 7?
#864
Общие вопросы / Re: NetXMS + DB Oracle
September 03, 2013, 11:39:10 AM
Agent.IsSubagentLoaded не относится к oracle субагенту, это параметр самого core агента. пример:
root@demo:~# nxget localhost "Agent.IsSubagentLoaded(oracle)"
1
root@demo:~# nxget localhost Agent.IsSubagentLoaded(linux)"
1
root@demo:~# nxget localhost Agent.IsSubagentLoaded(somethingnotloaded)
0


"ID" в конфигурации оракл-субагента позволяет мониторить через один агент несколько разных баз, его нужно подставлять в все Oracle.* DCI-и первым параметром.

Пример конфигурации с моей демо системы:

nxagentd.conf:
MasterServers=0.0.0.0/0
LogFile=/var/log/nxagentd
Subagent=xfsdummy.nsm
Subagent=oracle.nsm

*oracle
ID=db1
TNSName=//127.0.0.1/XE
UserName=netxms
Password=netxms


Скриншот настроек в аттаче.

Так же в аттаче темплейт, в котором есть все DCI-и настроенные на id="db1" (без трешхолдов)
#865
Для UNIX систем достаточно выставить переменную "TZ" в стартап скрипте.
Пример: $ TZ=Europe/Riga date
Mon Aug 26 10:43:56 EEST 2013
$ TZ=Europe/London date
Mon Aug 26 08:43:59 BST 2013
#866
Announcements / Re: NetXMS 1.2.8 released
August 23, 2013, 12:03:05 AM
I assume you running Debian (or Debian based - Ubuntu, etc.) and have Tomcat installed from package – correct directory will be /usr/share/tomcat7/lib/
#867
Announcements / Re: NetXMS 1.2.8 released
August 22, 2013, 06:17:27 PM
Create "nxmc.properties" somewhere in classpath (e.g. "/lib" in case of Tomcat), it should be read on application startup.
Sample config: server=127.0.0.1
enableAdvancedSettings=false


"enableAdvancedSettings=false" disable "Options" button on login screen, so user can't connect to another server.
#868
General Support / Re: Upload file to NetXMS Server
August 20, 2013, 11:45:30 AM
Not possible at the moment. In fact, agent support this feature, but we have no user-ready tool available at the moment.

Registered as https://www.radensolutions.com/chiliproject/issues/310
#869
Please try these binaries (uninstall old version and remove leftovers is any):
www.netxms.org/tmp/netxms-webui-1.2.8.exe
www.netxms.org/tmp/netxms-webui-1.2.8-x64.exe
#870
База не существует. Проверьте параметры подключения (в netxmsd.conf), и создана ли база.
При необходимости создайте:

psql -U postgres
CREATE user netxms PASSWORD 'password';
CREATE DATABASE netxms_db OWNER netxms ENCODING='utf-8';


netxmsd.conf должен быть примерно таким: DBDriver = pgsql.ddr
DBServer = localhost
DBName = netxms_db
DBLogin = netxms
DBPassword = password


Проверьте подключение при помощи "nxdbmgr check", должны получить ошибку "Unable to determine database syntax": root@netxms:~/netxms-trunk# nxdbmgr -c /tmp/netxmsd.conf check
NetXMS Database Manager Version 1.2.9-SNAPSHOT

Unable to determine database syntax


После этого выполните шаги из моего предыдущего сообщения ("Если база пустая")