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

#991
Thanks for the tip, I've fixed that topic.
#992
Перечитал сообщение об ошибке – перепутал с другой проблемой.
https://www.netxms.org/forum/installation/cannot-load-mib-file-from-server-uri-has-an-authority-component/
#993
ExternalParameterShellExec ProvaExternal:/PATH/ProvaSSH.pl

Change it to

ExternalParameterShellExec=ProvaExternal:/PATH/ProvaSSH.pl
#994
Какая версия NetXMS? Похожая ошибка была исправлена в 1.2.7.
#995
Quote from: m37r0 on June 18, 2013, 10:46:28 PM
after some time netxms is closing with error shown below:

Did it produce core file on crash? If file is not created, do following steps:
1) stop netxmsd
2) in shell execute: "ulimit -c unlimited"
3) in the same shell, run "/path/to/netxmsd -d" to start server in background (you can also replace "-d" with "-D3" to keep it in foreground with some debug enabled.

When it's crashed, file "core" should be created in current working directory.

Then run "gbd /path/to/netxmsd /path/to/core", and type "thread apply all backtrace".
This will produce quite large amount of output regarding state of the application and crash point, please send it to us.
#996
General Support / Re: nxShell and jython
June 01, 2013, 07:37:40 PM
Try to change it like this:

# coding: utf-8
import csv
import time
from java.util import HashMap # CHANGE 1
from java.lang import String
class XXX:
def YYY(self):
listaNodi = []
listaNodi = session.getAllObjects()
for nodo in listaNodi:
IPlista = nodo.getPrimaryIP()
#print "IPlista: "+str(IPlista)
for infoIP in open("RIGHT/PATH/IP.txt").readlines():
#print "infoIP: "+infoIP
#time.sleep(0.2)
if str(IPlista) == infoIP:
for interface in nodo.getAllChilds(objects.GenericObject.OBJECT_INTERFACE):
ID = interface.getObjectId()
IDinterfaccia=str(ID)
#print "IDinterfaccia: "+IDinterfaccia
for interfaccia in open("RIGHT/PATH/INTERFACCIA.TXT").readlines():
#print "interfaccia: "+str(interfaccia)
if IDinterfaccia == interfaccia:
print "Sono in IDinterfaccia == interfaccia"
info = open("RIGHT/PATH/EndUserInfo.txt").readlines()
#print "info: "+str(info)
modificatore = NXCObjectModificationData(ID)
#print "modificatore: "+str(modificatore)
modifica = HashMap() # CHANGE 2
modifica.put("End user Info",info)
#print "modifica: "+str(modifica)
modificatore = setCustomAttributes(modifica)
g = XXX()
g.YYY()

#997
Нет, нельзя. Мы давно думаем, как бы это попроще сделать (особенно критично для Android клиента), но пока решения нет.

Лично я обычно ставлю WebUI на тот же сервер, где работает netxmsd (и обновляю одновременно), плюс на всякий случай держу последние несколько версий на лаптопе.
#998
Yes, if it asked you for login and password – it works.

Default credentials:
Login: "admin"
Password: "netxms"
#999
Try http://10.0.2.15:8080/nxmc-1.2.6/. By default, Tomcat unpack application into directory matching original war file
Check it: ls -la /var/lib/tomcat6/webapps

If you want to have /nxmc/ URL – rename war file to "nxmc.war"
#1000
Yes, currently server connects to the agent to gather data.

You can push DCI values or events using "nxpush" and "nxevent", but in this configuration all scheduling is done on agent's side (actually agent is not required for these tools).
Both tools are built when "--with-client" configure option is enabled.

Major drawback of this implementation – both tools versions should match server's version, so you'll have to upgrade all nodes at the same time.
#1001
General Support / Re: Geolocation information
May 02, 2013, 03:08:38 AM
Do you use Java UI or Web interface? I just tried to reproduce it with desktop version and it's working fine.
Please attach UI log file (~/.nxmc/data/.metadata/.log for UNIX builds, similar in Windows, probably C:\Documents\USERNAME\.nxmc\...)
#1002
Please provide more details about failed step
#1003
Бан ставиться не должен. Пришлите мне пожалуйста IP и адрес (@bk.ru) приватным сообщением – я проверю логи.
#1004
bk.ru нет в бан листе, мало того – есть 5 пользователей с почтой на этом домене.
Проверьте свой адрес на http://www.stopforumspam.com/

Если сеть за тунелем пересекается с сетью, в котором стоит netxmsd – нужно включить и настроить зоны: http://wiki.netxms.org/wiki/UM:Zones
Если адреса разные – то должно работать, проверьте коммуникации между сервером, на котором стоит netxmsd  и хостами за тунелем. Так же проверьте параметор MasterServers (Servers, etc.) на удаленных агентах, возможно (в случае трансляции) соединение приходит не с IP netxms-а, и агент просто не отвечает.
#1005
General Support / Re: Registry keys
April 23, 2013, 04:57:50 PM
No, it's not available.
If you need to resolve single issue, I suggest to use Process Monitor from Sysinternals (http://technet.microsoft.com/en-us/sysinternals/bb896645).