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

#151
General Support / Re: v5.1.3 Android Client
July 11, 2025, 11:03:47 PM
Do you install from packages or build from source?
#152
General Support / Re: v5.1.3 Android Client
July 11, 2025, 09:48:05 AM
Looks like webapi module was not packaged in 5.1. I recommend you to upgrade to latest (5.2.4 at the moment) version.
#153
General Support / Re: v5.1.3 Android Client
July 09, 2025, 10:06:20 PM
what's in the logs? Also ",Y" is not required anymore, it's default now.
Which version of the server you are using?
#154
General Support / Re: Netxms Rock Linux 10 Support
July 08, 2025, 08:41:51 PM
In next patch release
#155
If I understand your correctly, this should be enough:

InetAddress("10.5.3.0", 24).contains($node.ipAddress)

This autobind script will collect all 10.5.3.0/24 nodes into container.
$node.ipAddress is detected management address, if you want to do it based on the interfaces:

for (i : $node.interfaces) {
  for (addr : i.ipAddressList) {
    if (InetAddress("10.5.3.0", 24).contains(addr)) {
      return true;
    }
  }
}
return false;
#156
готово
#157
This hook is not limited to Nodes, so $node can be null while $object is set.
If you are interested in nodes only, just check for $node:

if ($node and not $node.snmpSysName.isEmpty()) {
   $node.rename($node.snmpSysName);
}
#158
impish (21.10) больше не обновляется. Мы собираем пакеты для всех LTS версий и последней текущей
#159
General Support / Re: v5.1.3 Android Client
May 07, 2025, 04:39:41 PM
I'll try to push it into public beta (in the play store) next week
#160
Мы какое-то время не проверяли совместимость с последними версиями.
Я зарегистрировал таск: https://track.radensolutions.com/issue/NX-2762
#161
Похоже на баг, или в прошивке, или у нас. Я только что проверил на микротике и циске - там всё стабильно работает. Что это за устройство, и какая там стоит прошивка?

И попробуйте nxsnmpwalk, возможно устройство не понимает запрос на несуществующий OID?
1.3.6.1.4.1 - это вся ветка private, ее нельзя запросить гетом.

Пример, как я проверял:
[admin@MikroTik] /snmp/community> add name=v3user addresses=::/0 authentication-password=UFDz3XGjYUhVEjTS encryption-password=ZwtM5KlwSsVQxsyc authentication-protocol=SHA1 encryption-protocol=AES security=private read-access=yes write-access=no

❯ nxsnmpget -a SHA1 -A UFDz3XGjYUhVEjTS -e AES -E ZwtM5KlwSsVQxsyc -u v3user -v 3 10.40.4.18 1.3.6.1.2.1.1.1.0
1.3.6.1.2.1.1.1.0 [STRING]: RouterOS RB5009UPr+S+
#162
Try "chown -R fts-fatmir /opt/netxms-webui/", then restart jetty
#163
If you want to enable ssl in jetty, you need to generate keychain and set keyStorePath, as well as keyStorePassword.

Keychain can be either self-signed or you can import existing certificates.

Or you can just omit https on the jetty side and configure ssl-offloading using any other reverse proxy (nginx, reproxy, etc.)
#164
You can run jetty on the same server. Jetty (or Tomcat) is just a java application which can run .war files.

Recent jetty is not available in packages, but it's easy to install by hand:

curl -O https://repo1.maven.org/maven2/org/eclipse/jetty/jetty-home/12.0.17/jetty-home-12.0.17.tar.gz # download latest Jetty12
tar zxf jetty-home-12.0.17.tar.gz -C /opt # unpack it to /opt/
ln -s  /opt/jetty-home-12.0.17 /opt/jetty-home-12 # make a symlink without a minor version, so every upgrade you don't have to modify systemd unit
mkdir /opt/netxms-web/ # actual work area for the web
cd /opt/netxms-web/
java -jar /opt/jetty-home-12.0.17/start.jar --add-modules=server,http,ee8-deploy,gzip,http2,https,logging-logback,plus,ssl,work # create default configuration for jetty
vim start.d/ssl.ini # change keyStorePath and keyStorePassword to match your keystrore
curl -o webapps/ROOT.war https://netxms.com/download/releases/5.1/nxmc-5.1.4.war # download war file to webapps/ROOT.war, so app will be available at /
java -jar /opt/jetty-home-12.0.17/start.jar # test that it runs

useradd -r -s /sbin/nologin jetty # create user so we don't run it as root
systemctl edit --full --force netxms-web.service # create service, paste sample from bellow
systemctl enable --now netxms-web.service # enable autostart and start immediately


Unit file:

[Unit]
Description=NetXMS WEB UI
StartLimitIntervalSec=0

[Service]
Type=simple
WorkingDirectory=/opt/netxms-web
User=jetty
Group=jetty
ExecStart=java -jar /opt/jetty-home-12/start.jar
Restart=on-failure
RestartSec=30
TimeoutSec=900

[Install]
WantedBy=multi-user.target
#165
General Support / Re: ubuntu installation with mysql
March 13, 2025, 11:18:42 PM
use netxms-dbdrv-mariadb instead, it's compatible