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 - Sch.Donat

#16
Hi!

Just some suggestions:
As a not so secure workaround, see this: https://stackoverflow.com/questions/49194719/authentication-plugin-caching-sha2-password-cannot-be-loaded
Instead you could try downloading and installing a driver from https://www.mysql.com/products/connector/, but I don't know if it will do anything. I had other connectivity issues with postgres and oracle (haven't used mysql), and in those cases installing the appropriate driver helped.

Best regards
#17
General Support / Re: Web API alarm list for single node
September 02, 2020, 04:15:17 PM
It works great, thank you!
#18
General Support / Re: Web API alarm list for single node
September 01, 2020, 07:33:37 PM
Hi!

Thanks, this way it works.
Is it possible to only query alarms from a given time period, or those that were generated in the last X seconds? Adding the filters from DCI querying doesn't seem to work.

Best regards
#19
General Support / Web API alarm list for single node
August 27, 2020, 04:02:41 PM
Hi all!

I tried out the web API interface (3.4.313 server and 3.4.318 web API version). Getting the full alarm list worked fine, but when I want to query a single node, the request is returned with status code 405 (method not allowed) and with body:
{
    "description": "Internal error",
    "error": 46
}


The path used is <ip>/netxms-websvc/alarms/<nodeid>

Am I using the wrong path?

Regards
#20
General Support / Re: User Tag
August 27, 2020, 03:52:12 PM
Hi!

It worked like a charm, thanks!
#21
General Support / User Tag
August 26, 2020, 04:56:55 PM
Hi all!

On NetXMS 3.4.313  User Tag is ignored in alarm generation. The User Tags are configured in SNMP Trap Configuration and added to alarm key via the %u macro. It worked fine in version  2.2.16.
I'm trying to map alarm activation and deactivation events with the User Tag, this way I can pair them, and can have only one EPP rule for a lot of events.
#22
General Support / Re: Building NetXMS Console
August 04, 2020, 11:39:31 PM
I figured out. I had to edit the src/java/netxms-eclipse/Core/plugin.xml file (the aboutText property).
#23
General Support / Re: Building NetXMS Console
August 04, 2020, 07:08:43 PM
I successfully packaged it on Linux as well (I had to remove the .m2 repo from my home dir).

But I have another problem: I added a few lines to the about text part in src\java\netxms-eclipse\Product\nxmc.product file, but it doesn't show up in the console after I run maven. If I change the version in src\java\netxms-eclipse\Product\nxmc.product file, in first maven command it shows the new version, but in the second maven command it's the old version again (and it's gotten changed back in pom file as well). I'm guessing maven cached it somewhere, but deleting the .m2 directory in my home didn't have.

I don't what am I doing wrong, I'm guessing there are other maven caches?
#24
General Support / Re: LDAP with TLS
August 04, 2020, 03:46:48 PM
Hi!

Thanks for the clarification!

The problem was that I only added the trusted CA to my Windows account and not the system. After I did the latter, it worked fine.

Regards
#25
General Support / Re: Netxms tomcat .war deploy
August 03, 2020, 11:32:28 PM
Hi!

For me it seems the web server still uses the old file. You could try recreating the config files and see if that help. If you are windows, you try to reinstall the webui service (webui installer).

Regards
#26
General Support / LDAP with TLS
August 03, 2020, 10:43:33 PM
Hi!

When NetXMS is connecting to a LDAP server using the ldaps protocol (secure ldap), what certificate store does it use, to verify the ldap server's certificate? I'm trying to connect to a server which uses a certificate that is signed by a Root CA that is in the same network  (intranet, so no internet access), so basically it's a self signed certificate. The Root CA's certificate is added to Windows's cert store, and also I added it to the openssl.exe program that is shipped with NetXMS, but the connection is terminated after the TLS server hello message. In NetXMS log there is not much, it says that it couldn't connect to the server.

Regards
#27
General Support / Re: Building NetXMS Console
August 03, 2020, 05:28:14 PM
Hi!

I was able to package the stable 3.2 version (which is what I need for the moment) on Windows with your instructions. I haven't tried 3.4 yet.
Is there a difference between Linux and Windows maven? Or maybe openjdk is not good in this case.

Either way, thanks for your help! And I realized that this question was duplicate (don't why I couldn't find the other one earlier), sorry about that.

Regards
#28
General Support / Re: Building NetXMS Console
August 03, 2020, 01:58:00 PM
Hi!

Thanks for the reply! I tried your instruction (I don't have jenv, so I skipped that, but I'm using openjdk version 11.0.7). org.netxms.ui.eclipse.charts 3.4.0 fails to build with a lot of error messages like this: The import org.swtchart.ISeries cannot be resolvedbut swtchart 0.7.15 builds successfully and is a required bundle in the MANIFEST.MF file. I tried installing swtchart into local maven repo, but that didn't help. I don't know what am I missing.

Regards
#29
General Support / Building NetXMS Console
August 02, 2020, 03:10:29 AM
Hi!

I'm trying to build the NetXMS Console without success. I'm following the wiki (https://wiki.netxms.org/wiki/How_to_setup_Eclipse/RAP), I tried with eclipse 4.15 and 4.16 (even 4.11) on linux. I get the following error:

/home/**********/Projects/workspace-4.16_3.2/.metadata/.plugins/org.eclipse.pde.core/temp/org.eclipse.pde.container.feature/package.org.eclipse.pde.container.feature.linux.gtk.x86_64.xml:90: The following error occurred while executing this line:
/home/**********/Projects/workspace-4.16_3.2/.metadata/.plugins/org.eclipse.pde.core/temp/org.eclipse.pde.container.feature/package.org.eclipse.pde.container.feature.linux.gtk.x86_64.xml:2624: The following error occurred while executing this line:
/home/**********/Downloads/eclipse-4.16/plugins/org.eclipse.pde.build_3.10.800.v20200410-1419/scripts/genericTargets.xml:241: A problem occured while invoking the director.
The following error occurred while executing this line:
/home/**********/Projects/workspace-4.16_3.2/.metadata/.plugins/org.eclipse.pde.core/temp/org.eclipse.pde.container.feature/package.org.eclipse.pde.container.feature.linux.gtk.x86_64.xml:2624: The following error occurred while executing this line:
/home/**********/Downloads/eclipse-4.16/plugins/org.eclipse.pde.build_3.10.800.v20200410-1419/scripts/genericTargets.xml:241: A problem occured while invoking the director.


After some searching I enabled logging in genericTargets.xml, which gives me the following:

Property "p2.director.log" has not been set
[p2.director] Installing org.netxms.ui.eclipse.console.product 3.4.0.
[p2.director] Installation failed.
[p2.director] Cannot complete the install because one or more required items could not be found.
[p2.director] Software being installed: org.netxms.ui.eclipse.console.product 3.4.0
[p2.director] Missing requirement: Graphical Editing Framework Zest Core 2.0.7 (org.netxms.gef4.zest.core 2.0.7) requires 'osgi.bundle; org.eclipse.rap.rwt 3.4.0' but it could not be found
[p2.director] Cannot satisfy dependency:
[p2.director] From: org.netxms.ui.eclipse.console.product 3.4.0
[p2.director] To: org.eclipse.equinox.p2.iu; org.netxms.gef4.zest.core [2.0.7,2.0.7]
[p2.director] Cannot complete the install because one or more required items could not be found.
[p2.director] Software being installed: org.netxms.ui.eclipse.console.product 3.4.0
[p2.director] Missing requirement: Graphical Editing Framework Zest Core 2.0.7 (org.netxms.gef4.zest.core 2.0.7) requires 'osgi.bundle; org.eclipse.rap.rwt 3.4.0' but it could not be found
[p2.director] Cannot satisfy dependency:
A problem occured while invoking the director.
runDirector:  duration 0 seconds


The missing bundle is provided by RAP 3.12 software, so it shouldn't be missing.

Any help, or tips how to solve this would be much appretiated.

Regards
#30
General / Re: re - compile src from github
February 28, 2020, 07:18:41 PM
Thanks for the clarification!

Best regards,
Sch.Donat