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

#31
General / Re: re - compile src from github
February 28, 2020, 03:30:59 PM
Hi Victor!

In the github repository (github netxms netxms) the 3.2 tag seems to be pointing to the 3.0.1673 release and the master branch to the 3.2.69 based on the nxmc.product. Maybe I'm looking in the wrong place.

Best regards,
Sch.Donat
#32
General Support / Re: Oracle Database
February 14, 2020, 12:17:01 PM
Thanks for the info.

Best regards,
Sch.Donat
#33
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
#34
Thank you.

Best regards,
Sch.Donat
#35
You can try to recreate the EPP rule, but of course even if that helps, the problem may reoccur. You can check in the alarm log (F8) to see if the alarm was generated and got terminated or didn't even get generated. I can't answer your question about the internal timer, sorry.

Best regards,
Sch.Donat
#36
Hi!

From the thresholds configuration I assume your Resolve Temperatue Alert should clear the alarm, if this is the case, then you should filter for it in your Terminate temperature alert alarms EPP rule.

Best regards,
Sch. Donat
#37
I tried it in the latest 3.0 version (I'll check the exact version in a few hours) and in 2.2.16, I haven't tried it in 3.1 yet.

Edit: server version: 3.0.2357-1 amd64
Client version:  3.0.2329

Best regards,
Sch.Donat
#38
Hi!

Thanks for the answer, it works great when I change the Custom Attribute from the NetXMS Management Console via the object properties. I can see the changes after the specified time (in SyncInterval).
Changing Custom Attributes from script, however, doesn't seem to work. I can see the change in the console, but the server doesn't write it to the database. If I restart the server, the change is completely lost (I can't see it in the console anymore).

I use the following script, maybe I'm missing something:

SetCustomAttribute($node, "operationalstatus", "status");

Best regards,
Sch.Donat
#39
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
#40
General Support / Re: Geomap not show map
November 25, 2019, 11:14:45 AM
Hi!

Does you client have access to internet? What is you tile server's address (configured in server variables)?

Best regards,
Sch.Donat
#41
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
#42
General Support / Re: Compiling NetXMS
November 19, 2018, 10:25:58 AM
Hi!

I successfully compiled Netxms console in eclipse. I had to rename org.eclipse.tm.terminal to org.eclipse.tm.terminal.control in bundle imports and I missed a project while importing into eclipse and one file got somehow overwritten. :D

Thank you very much for your help, Victor!

Best regards,
Sch.Donat
#43
General Support / Re: Compiling NetXMS
November 15, 2018, 03:38:23 PM
Hi

Before I imported the whole netxms-eclipse directory into workspace and eclipse considered it to be 1 project (I think this was the problem). Now I imported the projects one-by-one under netxms-eclipse (scripting directory was not recognizned as a project by eclipse) and I have errors about TM Terminal: "bundle org.eclipse.tm.terminal cannot be resolved" and I don't have org.eclipse.tm.terminal_VERSION.jar in eclipse/plugins, only a few org.eclipse.tm.terminal.SOMETHING_VERSION.jar. I have installed "TM Terminal Control, SDK" from "TM Terminal Main Features" (update suite http://download.eclipse.org/tm/terminal/updates/4.4milestones/20180611). Do I need some older versions?
I attached eclipse error list, maybe something else is cousing the error?

Best regards,
Sch.Donat
#44
General Support / Re: Compiling NetXMS
November 15, 2018, 12:09:57 PM
Hi!

I only have these org.netxms.* plugins:

  • org.netxms.gef4.zest.core_2.0.6.jar
  • org.netxms.gef4.zest.jface_2.0.6.jar
  • org.netxms.gef4.zest.layouts_2.0.6.jar
  • org.netxms.nebula.widgets.gallery_0.5.3.201811141928.jar
  • org.netxms.ui.base_2.2.10.jar
  • org.netxms.ui.eclipse.clientlibrary_2.2.10.jar

Compared to my NetXMS installation I miss a lot. Maybe I haven't imported the projects into eclipse properly?

Best regards,
Sch.Donat
#45
General Support / Re: Compiling NetXMS
November 14, 2018, 08:55:49 PM
Hi!

I setup Eclipse 3.8 and I could export NetXMS console with nxmc.product, but when I try to run nxmc.exe, it terminates with exception (see attached log).
I'm doing this on Windows 10, and I already have a NetXMS (with server and console; 2.2.10 version) installation, maybe that could be cousing this?

Best regards,
Sch.Donat