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

#886
General Support / Re: ERROR
July 31, 2013, 11:35:51 AM
What version of nxmc you are using?
Try to run "nxmc -clean"
#887
Hello.

1) Check that all Jetty's are stopped
2) Remove all "jetty-*-nxmc.war-*" folders from C:\Windows\Temp\
3) Try to start service once again.
#888
Общие вопросы / Re: auto set unmanaged
June 26, 2013, 12:23:25 PM
В Script Library можно добавить скрипты:
Hook::StatusPoll
Hook::ConfigurationPoll
Hook::TopologyPoll

В этих скриптах доступна переменная $node
#889
Could you please provide backtrace for updated version? ("backtrace" should be enough, with "thread apply all ...")
#890
My bad, file was from upcoming 1.2.8. Correct version (1.2.7 based) attached.
#891
Try attached version of the file (it's already patched).
#892
I've attached patch to the ticket. To apply it:
cd /path/to/sources/netxms-1.2.7
patch -p1 < fdb.diff
#893
Thanks for the tip, I've fixed that topic.
#894
Перечитал сообщение об ошибке – перепутал с другой проблемой.
https://www.netxms.org/forum/installation/cannot-load-mib-file-from-server-uri-has-an-authority-component/
#895
ExternalParameterShellExec ProvaExternal:/PATH/ProvaSSH.pl

Change it to

ExternalParameterShellExec=ProvaExternal:/PATH/ProvaSSH.pl
#896
Какая версия NetXMS? Похожая ошибка была исправлена в 1.2.7.
#897
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.
#898
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()

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

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

Default credentials:
Login: "admin"
Password: "netxms"