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

Topics - Sch.Donat

#1
General Support / Compile NetXMS server for Windows
February 13, 2022, 06:13:50 PM
Hi!

I can't seem to find information about this. What is the procedure to compile NetXMS server for Windows? I know that there is a .sln file, but do I have to have some compiler configurations set in a specific way if I want to have a result that is most similar to the distributed server binary?

Thanks in advance!
#2
General / Error while building the console
March 08, 2021, 01:30:09 AM
Hello!

I'm trying to build the console (3.4.310 version, so a bit outdated), and like a week, or two ago it work fine, but now it seems like that the org.netxms.gef4.zest.core dependency cannot be found.
Full error message:

[INFO] --- tycho-p2-repository-plugin:1.4.0:assemble-repository (default-assemble-repository) @ org.netxms.ui.eclipse.product ---
[WARNING] Mirror tool: Problems resolving provisioning plan.: [Unable to satisfy dependency from org.netxms.ui.eclipse.console.product 3.4.0 to org.eclipse.equinox.p2.iu; org.netxms.gef4.zest.core [2.0.8,2.0.8].; Unable to satisfy dependency from org.netxms.ui.eclipse.console.product 3.4.0 to org.eclipse.equinox.p2.iu; org.netxms.gef4.zest.jface [2.0.8,2.0.8].; Unable to satisfy dependency from org.netxms.ui.eclipse.console.product 3.4.0 to org.eclipse.equinox.p2.iu; org.netxms.gef4.zest.layouts [2.0.8,2.0.8].]
[WARNING] More information on the preceding warning(s) can be found here:
[WARNING] - http://wiki.eclipse.org/Tycho_Messages_Explained#Mirror_tool
[WARNING] Mirror tool: Problems resolving provisioning plan.: [Unable to satisfy dependency from org.netxms.ui.eclipse.console.product 3.4.0 to org.eclipse.equinox.p2.iu; org.netxms.gef4.zest.core [2.0.8,2.0.8].; Unable to satisfy dependency from org.netxms.ui.eclipse.console.product 3.4.0 to org.eclipse.equinox.p2.iu; org.netxms.gef4.zest.jface [2.0.8,2.0.8].; Unable to satisfy dependency from org.netxms.ui.eclipse.console.product 3.4.0 to org.eclipse.equinox.p2.iu; org.netxms.gef4.zest.layouts [2.0.8,2.0.8].]
[WARNING] More information on the preceding warning(s) can be found here:
[WARNING] - http://wiki.eclipse.org/Tycho_Messages_Explained#Mirror_tool
[WARNING] Mirror tool: Problems resolving provisioning plan.: [Unable to satisfy dependency from org.netxms.ui.eclipse.console.product 3.4.0 to org.eclipse.equinox.p2.iu; org.netxms.gef4.zest.core [2.0.8,2.0.8].; Unable to satisfy dependency from org.netxms.ui.eclipse.console.product 3.4.0 to org.eclipse.equinox.p2.iu; org.netxms.gef4.zest.jface [2.0.8,2.0.8].; Unable to satisfy dependency from org.netxms.ui.eclipse.console.product 3.4.0 to org.eclipse.equinox.p2.iu; org.netxms.gef4.zest.layouts [2.0.8,2.0.8].]
[WARNING] More information on the preceding warning(s) can be found here:
[WARNING] - http://wiki.eclipse.org/Tycho_Messages_Explained#Mirror_tool
[INFO]
[INFO] --- tycho-p2-repository-plugin:1.4.0:archive-repository (default-archive-repository) @ org.netxms.ui.eclipse.product ---
[INFO] Building zip: /home/schdwlk/Projects/netxms/src/java/netxms-eclipse/Product/target/org.netxms.ui.eclipse.product-3.4.0.zip
[INFO]
[INFO] --- tycho-p2-director-plugin:1.4.0:materialize-products (create-product-distributions) @ org.netxms.ui.eclipse.product ---
[INFO] Installing product org.netxms.ui.eclipse.console.product for environment linux/gtk/x86_64 to /home/schdwlk/Projects/netxms/src/java/netxms-eclipse/Product/target/products/org.netxms.ui.eclipse.console.product/linux/gtk/x86_64
Installing org.netxms.ui.eclipse.console.product 3.4.0.
Installation failed.
Cannot complete the install because one or more required items could not be found.
        Software being installed: org.netxms.ui.eclipse.console.product 3.4.0
        Missing requirement: org.netxms.ui.eclipse.console.product 3.4.0 requires 'org.eclipse.equinox.p2.iu; org.netxms.gef4.zest.core [2.0.8,2.0.8]' but it could not be found
There were errors. See log file: /home/schdwlk/Projects/netxms/workspace/.metadata/.log


So, my question is: if I work with a more updated version (preferably which still support java 8 ), it would build successfully, or is this a problem with the infrastructure that provides this package?

Best regards
#3
General Support / UTF-8 in syslog
February 22, 2021, 06:44:44 PM
Hi all!

Is it possible to configure NetXMS server so it will send syslog messages encoded as UTF-8?
I'm using it on Windows, and as far as I can tell, it uses western codepage.
UTF-8 shows fine in the client, so my guess is that I should be able to set it in syslog as well.

In the documentation I found that it is possible to set the syslog codepage in netxmsd.conf, but it is ignored in Windows, and there is no UTF-8 there?

Best regards
#4
General Support / Log alarms to syslog
November 11, 2020, 04:59:40 PM
Hi!

Is it possible to log alarms generated by NetXMS to external syslog server? I didn't found appropriate script function or notification channel for this.

If not, what should be the debug level for logging to file to show alarms (without too much bloat)?

Regards
#5
General Support / HA Database
October 02, 2020, 03:48:28 PM
Hi!

Is it possible to set up NetXMS server to be able to connect to a secondary database server (with different IP address) if the database server is down?
I would be useful if the database was setup to have 2 instances running at same time with different IPs, but they would be identical in regards to everything else (replicated data, etc.). With this setup, NetXMS could connect to the second IP address and continue working with that when there is some issue with the first.

Best regards
#6
General Support / Server Certificate
September 25, 2020, 12:23:02 PM
Hi!

Is it possible to set a certificate for the NetXMS server (that is signed by my CA) and setup the consoles such that they only connect to the server if the certificate is OK?
This would achieve that the console would only connect to this specific NetXMS server instance, so Man In the Middle/Impersonation attacks would not be possible.

Best regards
#7
General Support / Right click object in Dashbords
September 02, 2020, 06:15:13 PM
Hi!

I have Custom Network Map that contains an object (a Node). I can right click it, and open the Alarm Browser for that node, for example.
When I place this Network Map in a Dashboard, I can't right click the object anymore.
It is possible somehow to enable right click in a dashboard? Or propagate the right click from the dashboard to the network map?

NetXMS version: 3.4.313

Best regards
#8
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
#9
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.
#10
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
#11
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
#12
General Support / Oracle Database
February 10, 2020, 11:20:21 AM
Hi All!

What Oracle DB versions does NetXMS Support? Is it supports any newer version(s) than 12?

Best regards,
Sch.Donat
#13
General Support / Is it possible to control NetXMS cache?
December 02, 2019, 02:29:12 PM
Hi!

I have a few questions regarding NetXMS database caching:

Is it possible to turn off caching and set it to write to database instead?
Is the cache flushing time based or data based? If it is time based, is it possible to set the interval?

I'm using custom attributes to store some user specified data, which I need to query from DB. I would like to avoid using the web API.

Best regards,
Sch. Donat
#14
General Support / Report definition
November 19, 2019, 02:06:06 PM
Hi all!

I'm trying to compile and run EPP report definition from attached samples in https://www.netxms.org/forum/installation/install-report-server/msg16296/#msg16296. I got it to compile with maven (had to make some changes to pom.xml), but it can't run. The first error was that it couldn't find the report.DataSource's constructer with (net.sf.jasperreports.engine.JRDataset, java.util.Map) parameters, so I changed the existing one to:

public DataSource(JRDataset dataset, Map<String, ? extends JRValueParameter> parameters){
        super(dataset, parameters);
}


in EPP's DataSource.java. After this, for a few time I got null pointer exception (unfortunately I don't have the log for that), but now I'm getting:

12:36:06.760 [quartzScheduler_Worker-1] ERROR c.r.r.s.impl.FileSystemReportManager - Can't load compiled report
net.sf.jasperreports.engine.JRException: java.io.FileNotFoundException: main.jasper
        at net.sf.jasperreports.engine.util.JRLoader.loadObject(JRLoader.java:127) ~[jasperreports-6.3.1.jar:6.3.1]
        at net.sf.jasperreports.engine.util.JRLoader.loadObject(JRLoader.java:116) ~[jasperreports-6.3.1.jar:6.3.1]
        at com.radensolutions.reporting.service.impl.FileSystemReportManager.loadReport(FileSystemReportManager.java:129) [reporting-server-2.2.16.jar:na]
        at com.radensolutions.reporting.service.impl.FileSystemReportManager.execute(FileSystemReportManager.java:282) [reporting-server-2.2.16.jar:na]
        at com.radensolutions.reporting.job.GeneratorJob.execute(GeneratorJob.java:33) [reporting-server-2.2.16.jar:na]
        at org.quartz.core.JobRunShell.run(JobRunShell.java:202) [quartz-2.2.1.jar:na]
        at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:573) [quartz-2.2.1.jar:na]
Caused by: java.io.FileNotFoundException: main.jasper
        ... 7 common frames omitted


I don't know what causes the problem, I guess there were some changes in reporting server.

So my question is: Should I just use SQL data source, or is it possible to use java data source and if so, where can I find some sample that works, to examine it?
I'm using NetXMS version 2.2.16 (both server and reporting server).
Attached is the pom.xml

p.s.: The Data Collection Configuration definition seems to work just fine.

Edit:
I forgot to mention that I also had to modify processAlarms method, because EventProcessingPolicyRule.getActions() return a List<ActionExecutionConfiguration> not a List<Long>.

Best regards,
Sch.Donat
#15
General Support / Compiling NetXMS
November 13, 2018, 09:58:30 PM
Hi!

I have 2 questions regarding compiling NetXMS.

The first question is about compiling the 2.2.10 version NetXMS management console in Eclipse 4.7 (Oxygen) for RCP and RAP Developers. I tried to install the Eclipse addons listed in eclipse_addons.txt, but Target Managment Terminal doesn't have 3.5 version anymore, so I installed a more recent version, but it doesn't have org.eclipse.tm.terminal_VERSION.jar file. I had some problems with the Birt Charting as well, but I could install that from the oxygen site.
There are a few imports that cannot be resolved:

  • org.eclipse.ui.internal.presentations.defaultpresentation
  • org.eclipse.ui.internal.presentations.util
  • org.eclipse.ui.internal.tweaklets.WorkbenchImplementation
  • org.eclipse.ui.presentations
I tried to get the last from a previous Eclipse version, but without a success.
I could build the 3.0.M0 console wit the above setup.

The second question is building the server with the make command. The Administrator Guide says run configuration script  ./configure -with-server --with-pgsql--with-agent but there is no such script (I found reconf script witch seems to work fine and configure.ac but it fails to run in bash and sh with syntax error on line 7). I tried to run make nonetheless, but it says "No target secified and no makefile found". If I specify the Makefile.am (with -f switch) it says "./tools/updatetag.sh" so I'm guessing it runs that script, but doesn't build NetXMS. If I specify a target, i.e. install, it says "No rule to make target install". I have no experience with make, I don't know that I'm missing.

So my questions would be, is it still possibly to build the 2.2.10 management console? How can I build the server?

Best regards,
Sch.Donat
#16
Hi All!

First of all great product, thank you for making it opensource!

My question would be that how can one install an eclipse plugin into the Netxms console?
I read somewhere on the forums that one can create eclipse plugins for Netxms, so I wanted to try it out with the hello world plugin, because I will need to add SNMP set functionality to Netxms, and creating a plugin for that would be a good solution.

Best regards,
Sch.Donat