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

#526
General Support / Re: Table DCI
September 08, 2023, 03:14:01 PM
Hi!

You can just grep agent sources for any built-in agent table name, e.g. Agent.SubAgents and you will find the code, e.g:
https://github.com/netxms/netxms/blob/master/src/agent/core/subagent.cpp#L301

Also, it's possible to configure external tables, this way agent would call an external process that provides table data.
#527
General Support / Re: Legacy Interface
September 07, 2023, 06:16:12 PM
If you've tried the new UI some time ago - at some point the icons on the left were arranged in a bit more logical way. I was kinda struggling before, but now Infrastructure services is the top one icon and things are way better.
Also to note - a few things - e.g. data collection is moved from the node context menu to a tab.
In overall - it took some time for me to get used to the new UI, but now it feels more comfortable then the old one (also still has some minor things to improve)
#528
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?
#529
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.
#530
Change interface expected state... как выяснилось еще не был перенесен в новый клиент. Будет в патч-релизе который должен быть сегодня-завтра.
#531
Hi!

4.4 version client requires java 17
#532
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/;
        }
}
#533
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.
#534
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.
#535
Try using
systemctl enable --now netxms-server.service

You can see unit names by issuing
systemctl | grep netxms
#536
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.
#537
Передано разработчикам
#538
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?
#539
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:



#540
Да, с наложением шаблонов есть ошибка в новом клиенте (он все еще в разработке). Можно взять легаси клиент.