thank you,I've tried fetching the last value in database using getDciDataRow,and it worked fine
moseszero
Posts
-
delta calculation , Net.Interface.BytesIn(*) -
delta calculation , Net.Interface.BytesIn(*)HI,
I created DCI "Net.Interface.BytesIn(*)",* is the index of interface,and selected "Delta value(average per second)".I use the method "Session.queryParameter()" (Java API version 1.1.6),the result returned is the total number of bytes-in ,not delta value average per second ,I've also viewed the origin data in database and it is exactly delta value per second,why?? -
the way of how DiskQueue in NetXMS worked outHI,
I use shell to view the real time info of IO,but the data about diskqueue seems different from that fetched by NetXMS,actually the real time data is much smaller.So I'm confused if the way of calculation about diskqueue in NetXMS is specical?? -
create DCI with Java APIThank you very much!
-
ask -
create DCI with Java APIIs the list of all supported DCI to some Node available using Java API?
-
create DCI with Java APIHI,
I'm trying to create a DCI for a Node with Java API(version 1.1.6),and noticed that when create a DCI in Java console,after some DCI's parameter selected, its default information like data type,origin are also specialized dynamically,
how to get these default setting information with Java API or any other advice for creating DCI?Best regards
-
NetXMS 1.1.8 releasedHi,
very glad to see new version released!
I've been doing some work using java api for 2 months,somehow I still feel uncertain about if NetXMS is stable and effective when it was deployed on a large amount of computers(at least 1000),as there is only several PCs for me to develop and test. -
usage of setting alarm's message and keyHi,
I'm trying to set event rule using Java API(version 1.1.6),and in Java console and user manual, the alarm's message use "%m","%i","%2"and so on,what's the meaning or usage of "%m","%i","%2"??Best regards,
-
How to configure action in event process policy rule with java apiThank you!
-
How to configure action in event process policy rule with java apiHI,
The work I tried to do is when some threshold reached , an alarm should be recorded.Setting threshold is done with java api(version 1.1.6),and configuring action(simply generate an alarm) in java console is OK,too.But when I try to do add action with java api , I don't know what action id should be used here.
I wonder if there is some introduction about the original action of netxms?For example , the id for the action of "generate an alarm". -
topology map in java console@victor said in topology map in java console:
You can get network topology only from devices supporting one of topology discovery protocols: CDP, LLDP, or SONMP (NDP). Usually it is supported only on network devices.
Best regards,
VictorIn Legacy NetXMS console(C++),there is a tag "Dependants",how to get this kind of relation map?is it simply to find parent object and child parent?
-
topology map in java consoleThank you very much!
-
type and range of Threshold "sample" and "value"Thank you very much!
-
topology map in java consoleHi,
In java console(1.1.6),when right click a node(centos 5.5) and choose "Layer 2 Topology",it always encounters a mistake with a tip"Cannot get layer 2 topology for localhost.localdomain: Node has no support for layer 2 topology discovery".I want to get node's topology map,what is the right way to do that?

-
type and range of Threshold "sample" and "value"Hi,
When set threshold's attributes in java console(1.1.6),there's 2 input(see the picture uploaded),"sample" and "value",which attributes does "sample" and "value" refer to in the Class Threshold.java in java api?
Second,"sample" and "value" 's value both have special type and range,they require int and range from 1 to 1000.
In my last topic posted yesterday,I knew threshold does work immediately after added to one dci(using default fireEvent and rearmEvent code),no need to set event policy extral .But where to see the "trigger" information or anything else changed if threshold's value has been reached?
Best regards,
Yan

-
meaning of some attributes in CLASS Threshold.javaThank you very much! ;D
-
meaning of some attributes in CLASS Threshold.javaHi,
I'm doing some work about threshold and event using java api(1.1.6),and confused about the usage
public class Threshold { private long id; private int fireEvent; private int rearmEvent; private int arg1;//? private int arg2;//? private int function; private int operation; private int repeatInterval; private String value;//? private boolean active; }What I want to know is the meaning of "arg1","arg2","value".
Also,when a threshold is added to a dci,does it work immediately(any other work need to do,like setting event policy?)?Best regards,
Yan -
procedure to use event in netxms with java api??oh sorry,it seems to be a problem of tomcat.
When I call the method in web page ,it is likely to occur;but if call the method in a simple test java class(simply call the method and print data returned) it won't happen. -
procedure to use event in netxms with java api??I met with a problem recently and I didn't know how to start.
hoping some friend could offer some reminding of the normal procedure to use event with java api.
ps:I have met another problem about "java.lang.OutOfMemoryError: Java heap space" when try getting data using "NXCsSession.queryParameter()" (version 1.1.5),
and in 1.1.6's change log it shows that a memory bug has been fixed, does this bug refers to "java.lang.OutOfMemoryError: Java heap space" ??Best Regards.