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 - Lukas

#31
On the 1st February, the RAP 2.0 RC2 was released - http://www.eclipse.org/rap/noteworthy/2.0/?build=RC2 Since that time I am unable to start NetXMS RAP application under eclipse. The most obvious error is "Unable to locate installable unit org.eclipse.rap.equinox.target.feature.feature.group" and there are hundreds of more unresolved dependencies because of that.
My colleague can see the same message in the RAP target definition, but he can still run the application because he did not update the target definition.

I tried to create a new workspace and setup the RAP target once more from the scratch as described on wiki (http://wiki.netxms.org/wiki/How_to_setup_Eclipse/RAP). The first step that asks for installation of "Rich Ajax Platform (RAP)" from "RAP 2.0 Tooling" probably needs to be changed - in my case the following is available:


Apart from that, everything seems to be all right until the dependencies should be resolved. Now comes the part that I do not understand. For example netxms Core bundle requires org.eclipse.core.runtime;bundle-version="3.9.0" . This particular line in the MANIFEST file was not changed since December 13th 2012 (revision 6886).
My local eclipse installation (Juno Service Release 1 Build id: 20121004-1855) shows org.eclipse.core.runtime;bundle-version="3.8.0.v20120521-2346". So obviously the requirement is not fulfilled.
I was able to run NetXMS on last Friday under the same eclipse installation.... strange, right?

Any ideas what I should try to get back to state when RAP application can be properly imported and started?

Thanks,
Lukas
#32
Feature Requests / Re: event processing
January 23, 2013, 11:05:39 AM
I find this feature useful as well.
The following feature request created https://www.radensolutions.com/chiliproject/issues/226.
#33
General Support / Mapping tables
January 23, 2013, 05:36:29 AM
Hi,

NetXMS 1.2.5 has a new feature called "mapping tables". It is accessible via toolbar, several mapping tables can be created, each can contain key value pairs.
I wonder, what it can be useful for?

Best Regards,
Lukas
#34
General Support / Re: Reports
January 08, 2013, 05:26:28 AM
Thank you Alex for the detailed how-to.

I am using the report definition file from the netxms svn: https://svn.netxms.org/public/netxms/trunk/reports/IP%20Inventory.jrxml and tried both your and my report-generator.jar.

The ValueRequiredException is printed to the console even in case that the report-generator.jar file is not present. Server log then contains Exception in thread "main" java.lang.NoClassDefFoundError: org/netxms/report/Generator So it seems to be independent of the presence of the generator.

I also made sure that there is only one row in the reports table in the database.

Do you have some other ideas what can be wrong?

The full stacktrace, in case it helps:

org.simpleframework.xml.core.ValueRequiredException: Unable to satisfy @org.simpleframework.xml.ElementList(inline=true, entry=, name=, data=false, empty=true, required=true, type=void) on field 'parameters' private java.util.List org.netxms.ui.eclipse.reporter.widgets.helpers.ReportDefinition.parameters for class org.netxms.ui.eclipse.reporter.widgets.helpers.ReportDefinition at line 2
at org.simpleframework.xml.core.Composite.validate(Composite.java:705)
at org.simpleframework.xml.core.Composite.readElements(Composite.java:510)
at org.simpleframework.xml.core.Composite.readSection(Composite.java:388)
at org.simpleframework.xml.core.Composite.read(Composite.java:367)
at org.simpleframework.xml.core.Composite.readDefault(Composite.java:262)
at org.simpleframework.xml.core.Composite.read(Composite.java:232)
at org.simpleframework.xml.core.Composite.read(Composite.java:202)
at org.simpleframework.xml.core.Composite.read(Composite.java:150)
at org.simpleframework.xml.core.Traverser.read(Traverser.java:92)
at org.simpleframework.xml.core.Persister.read(Persister.java:625)
at org.simpleframework.xml.core.Persister.read(Persister.java:606)
at org.simpleframework.xml.core.Persister.read(Persister.java:584)
at org.simpleframework.xml.core.Persister.read(Persister.java:562)
at org.simpleframework.xml.core.Persister.read(Persister.java:499)
at org.simpleframework.xml.core.Persister.read(Persister.java:408)
at org.netxms.ui.eclipse.reporter.widgets.helpers.ReportDefinition.createFromXml(ReportDefinition.java:47)
at org.netxms.ui.eclipse.reporter.widgets.ReportExecutionForm.createParamEntryFields(ReportExecutionForm.java:184)
at org.netxms.ui.eclipse.reporter.widgets.ReportExecutionForm.<init>(ReportExecutionForm.java:117)
at org.netxms.ui.eclipse.reporter.views.ReportView.createPartControl(ReportView.java:63)
at org.eclipse.ui.internal.ViewReference.createPartHelper(ViewReference.java:375)
at org.eclipse.ui.internal.ViewReference.createPart(ViewReference.java:229)
at org.eclipse.ui.internal.WorkbenchPartReference.getPart(WorkbenchPartReference.java:595)
at org.eclipse.ui.internal.WorkbenchPage$ActivationList.setActive(WorkbenchPage.java:4317)
at org.eclipse.ui.internal.WorkbenchPage$18.runWithException(WorkbenchPage.java:3359)
at org.eclipse.ui.internal.StartupThreading$StartupRunnable.run(StartupThreading.java:31)
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:135)
at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3563)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3212)
at org.eclipse.ui.application.WorkbenchAdvisor.openWindows(WorkbenchAdvisor.java:803)
at org.eclipse.ui.internal.Workbench$33.runWithException(Workbench.java:1600)
at org.eclipse.ui.internal.StartupThreading$StartupRunnable.run(StartupThreading.java:31)
at org.eclipse.swt.widgets.Synchronizer.syncExec(Synchronizer.java:180)
at org.eclipse.ui.internal.UISynchronizer.syncExec(UISynchronizer.java:150)
at org.eclipse.swt.widgets.Display.syncExec(Display.java:4330)
at org.eclipse.ui.internal.StartupThreading.runWithoutExceptions(StartupThreading.java:94)
at org.eclipse.ui.internal.Workbench.init(Workbench.java:1595)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2628)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2499)
at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:679)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:668)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
at org.netxms.ui.eclipse.console.NXMCApplication.start(NXMCApplication.java:36)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:344)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:622)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:577)
at org.eclipse.equinox.launcher.Main.run(Main.java:1410)
at org.eclipse.equinox.launcher.Main.main(Main.java:1386)
#35
General Support / Re: Reports
January 07, 2013, 02:08:55 PM
Hi rostyslav,

Did you have any success with the reports generation?

I got the following exception in the java management console stderr or stdout (netxms 1.2.4):

org.simpleframework.xml.core.ValueRequiredException:
Unable to satisfy @org.simpleframework.xml.ElementList(inline=true, entry=, name=, data=false, empty=true, required=true, type=void) on field
'parameters' private java.util.List org.netxms.ui.eclipse.reporter.widgets.helpers.ReportDefinition.parameters
for class org.netxms.ui.eclipse.reporter.widgets.helpers.ReportDefinition at line 2


Do you see the same error?

BTW https://svn.netxms.org/public/netxms/trunk/src/java/report-generator/ contains source files and jar -cvf will create an archive, which can not be used as interpreted java jar file. There is a pom file in that directory which controls the build process and should be invoked via maven if you really need to build the report generator again. I think that it is not necessary.

Best Regards,
Lukas
#36
 Hello,

I am trying to figure out how to use condition objects in NetXMS in order to display a proper link status (e.g.: custom attribute on node A = 1 and other attribute on node B != 2 and no alarm exists on connected interfaces). As a side effect, the following description was added to the wiki page http://wiki.netxms.org/wiki/UM:Objects#Condition_Objects. Can you please review the following text and suggest improvements and some real usage examples?

Conditions may represent more complicated status checks because each condition can have a script attached. Interval for evaluation of condition status is configured in Server Configuration Variables as ConditionPollingInterval with default value 60 seconds. Input values for the condition script can be added in the Data tab. Such values are accessible via $1, $2, ... variables inside the script. If the script returns 0, an activation event with the defined severity is created. If the script returns any other value, then a deactivation event is created.

Thanks,
Lukas
#37
Thank you for the reply, this looks as a very useful feature.
#38
General Support / Re: DCI for SNMP tables
December 19, 2012, 02:02:02 PM
Thank you Victor for very quick reply.

One more thing: what is the currently expected release date for 1.2.5 and 1.2.6?

Kind Regards,
Lukas
#39
General Support / DCI for SNMP tables
December 19, 2012, 12:57:23 PM
Hello,

I need to collect data from SNMP tables and generated events based on collected data. So far I was unable to find any useful example except for creating DCI for a single OID pointing to the particular row and column in the table. Is there some other way?

There seems to be some work in progress related to polling tabular SNMP data:
https://www.netxms.org/forum/configuration/dealing-with-snmp-index-values/msg418/#msg418
https://www.netxms.org/forum/configuration/new-table/msg7346/#msg7346

It seems to me that the implementation in 1.2.4 is not complete yet. Is that correct observation? I can see the same behavior as described in the second post above.

The only related opened task in the the bug tracker seems to be https://www.radensolutions.com/chiliproject/issues/153 - should this help or not?

Thanks,
Lukas
#40
Hello,

Please, can someone explain difference between "Acknowledged" and "Sticky Acknowledged" alarm states? What is "Sticky Acknowledge" action good for?

Thanks & Regards,
Lukas