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 - Filipp Sudanov

#661
General Support / Re: Legacy Interface
September 07, 2023, 02:25:56 PM
Yes, the plan is to phase out old interface - it will stay and should be able to work (at least for some time), but new features won't be added to it.

It's a good time to discuss your experience and feelings regarding the new interface - are there some specific inconvenient / unlogical / etc things or it's something overall?
#662
Transformation script is launched when data collection returns some value. As far as I understand, it will not be launched if data collection returned error.
#663
Change interface expected state... как выяснилось еще не был перенесен в новый клиент. Будет в патч-релизе который должен быть сегодня-завтра.
#664
Hi!

4.4 version client requires java 17
#665
General Support / Re: NGINX as reverse proxy
August 31, 2023, 02:17:20 PM
I am not an expert in nginx, but here's a config that I know is working:

server {
        listen 443 ssl http2;

        ssl_certificate /etc/ssl/certs/xxxxx.pem;
        ssl_certificate_key /etc/ssl/private/xxxxx.pem;

        server_name xxxxx nx.local;

        root /var/www/html;

        location = / {
                return 301 /nxmc-light.app;
        }

        location / {
                proxy_set_header Host $host;
                proxy_set_header X-Real-IP $remote_addr;
                proxy_set_header X-Forwarded-Proto $scheme;
                proxy_set_header X-Forwarded-Ssl on;
                proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
                proxy_set_header X-Frame-Options SAMEORIGIN;
                proxy_pass http://10.10.10.10:8080/;
        }
}
#666
General Support / Re: NetXMS 4.4.1 server failed
August 31, 2023, 02:05:36 PM
nxdbmgr check should be able to fix this specific sql error. And also this error should not crash the server.

Please try starting netxms server in foreground:
systemctl stop netxmsd
netxmsd -D 6

this way server will be putting it's log on the screen. When it crashes, you should see some info on the reason it crashed. Try running it a couple of times that way to see if it's crashing on the same log line.
#667
Try adding
MaxSessions = 100
to agent configuration file (default for this setting is 32 - https://netxms.org/documentation/adminguide/appendix.html#agent-configuration-file-nxagentd-conf)

Are you collecting a lot of ssh metrics, do these metrics take long time to return value? Or is this agent a proxy or loaded with some other tasks? I just wonder why many sessions are used at the same time.
#668
Try using
systemctl enable --now netxms-server.service

You can see unit names by issuing
systemctl | grep netxms
#669
General Support / Re: ssh to ubiquiti
August 23, 2023, 05:26:13 PM
ssh connections in netxms are performed via agent that is running along with the server. You can try setting debug level 6 for that agent - one way is to stop it via systemctl:

systemctl stop nxagentd

and start in in foreyground:

nxagentd -D 6


Then try running configuration poll for your uniquiti node to see if ssh capability becomes yes. Or try adding a ssh DCI on that node and forcing poll for that DCI. Log of the above agent should have some lines about ssh.
#670
Передано разработчикам
#671
First thing to try would be 127.0.0.1 instead of localhost - may be localhost is resolved into ipv6 address and database does not like it?
#672
Yes, the MySQL client library shipped with NetXMS requires to use "legacy password" mode (it's possible to replace this lib, but it's not what we are currently fixing).

I've just tried installing mysql-installer-community-8.0.34.0.msi and netxms 4.4.1, it worked fine.

Did you check "Create database and database user..." on the attached screen during installation:



#673
Да, с наложением шаблонов есть ошибка в новом клиенте (он все еще в разработке). Можно взять легаси клиент.
#674
Ага, ну у нас есть хук скрипт Hook::PostObjectCreate который отрабатывает после создания объектов. Можно в нем для новосозданных точек делать или unmanage или менят propogation.
#675
Hi!

There should not be length limitation, I've just tried 500000 byte log web page and it works fine.

Possible reason could be that libcurl, on which NetSVC is based is checking tls certificates. The curl output that you provided - was that curl executed on the same system where netxms agent is running?