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

#811
General Support / Re: Find switch ports in script
May 06, 2014, 05:11:19 PM
You are trying to call static method — code should be like this:

for node in [o for o in s.getAllObjects() if isinstance(o, objects.Node)]:
point = s.findConnectionPoint(node.ZONE0, node.getPrimaryIP())
print node.getObjectName(), point


And you don't need to import org.netxms.client, it's done automatically by nxshell.
from org.netxms.client import *
from org.netxms.api.client import *
#812
Общие вопросы / Re: DNS names
April 30, 2014, 06:39:59 PM
Попробуйте такой запрос:SELECT n.primary_ip,o.name FROM nodes n, object_properties o WHERE n.id=o.object_id AND o.is_deleted=0
#813
Можно сделать например так: File.Size(/path/to/backup_%d_%m_%Y) — сегодня вернет размер файла /path/to/backup_17_04_2014

Агента в планах пока нет, но вы можете сделать feature request тут: https://www.radensolutions.com/chiliproject/projects/netxms/, и мы его учтем.
#814
Рестарт агента помогает?
#815
Announcements / Re: NetXMS 1.2.13 released
March 31, 2014, 03:12:57 PM
No idea, to be honest. I'd try to capture traffic with tcpdump when nxdbmgr connects (successfully) and compare it to traffic when server connects (with error)

Quote from: jeffreyz on March 28, 2014, 05:40:52 PM
Do you have any other suggestions?  The data is not very important since this is for a server that I am only using for testing.  Plus it is on a virtual machine so I am willing to try anything - I can always revert to a snapshot if things go south. But I do need to get it going somehow.
#817
General Support / Re: Which database backend?
March 27, 2014, 01:54:11 PM
SQLite is mostly for development or really small installations.
All other DB engines are production ready. In most installations we use PostgreSQL, with proper tuning it works pretty good — but decision is usually based on existing infrastructure or DBA experience.
Currently we fully support DB2, Informix, MSSQL, MySQL, Oracle, and PostgreSQL.
#818
Announcements / Re: NetXMS 1.2.13 released
March 25, 2014, 07:59:04 PM
Quote from: jeffreyz on March 23, 2014, 08:15:13 PM
I upgraded from 1.2.12 to 1.2.13 and now I cannot start the server because the server cannot log into the database.  Here is the output from the server log file (DebugLevel = 9):

1. Try to change "localhost" to "127.0.0.1"
2. Please show your pg_hba.conf
#819
General Support / Re: Agent Encryption - Win 2008 R2
March 19, 2014, 11:03:00 PM
Encryption is used by default, however it's a subject to supported ciphers and negotiation during initial handshake — with plain text fallback. To ensure that network traffic is always encrypted (or connection is rejected), add "RequireEncryption=yes" to nxagentd.conf.
#820
Починил, http://git.netxms.org/netxms-snapshot-develop.tar.gz теперь тоже работает.

Но если у вас нет необходимости использовать именно снапшот — я советую использовать git напрямую: git clone https://git.netxms.org/public/netxms.git
#821
Спасибо, я проверю.

Попробуйте пока вот этот снапшот: http://git.netxms.org/public/netxms.git/snapshot/HEAD.tar.gz?js=1
#822
Общие вопросы / Re: nxencpasswd -a
March 04, 2014, 11:33:18 PM
Только что проверил версию 1.2.12 — есть опция "-a". Какую сборку вы используете?

По логину — agent shared secret использует логин "netxms" для обфускации, "-a" сделано для удобства: AirAlk:nxencpasswd(develop) $ ./nxencpasswd -a test1
nyQyxaEwZRbCpgp+8SvHuMKmCn7xK8e4wqYKfvErx7g=
AirAlk:nxencpasswd(develop) $ ./nxencpasswd netxms test1
nyQyxaEwZRbCpgp+8SvHuMKmCn7xK8e4wqYKfvErx7g=
#823
Добавим, спасибо за репорт.

Мы используем flex и bison.

Точно работающие версии:AirAlk:~() $ flex -V
flex 2.5.35 Apple(flex-31)
AirAlk:~() $ bison -V
bison (GNU Bison) 2.3
Written by Robert Corbett and Richard Stallman.

Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

alk@debian6 in ~
$ flex -V
flex 2.5.35
alk@debian6 in ~
$ bison -V
bison (GNU Bison) 2.4.1
#824
General Support / Re: Changing Mangament Console port
February 28, 2014, 03:49:04 PM
Use "host:port" in login dialog
#825
Общие вопросы / Re: nfs
February 19, 2014, 12:23:56 PM
А что именно нужно мониторить?