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

#16
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
#17
Thank you very much! ;D
#18
   Hi,
   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
#19
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.
#20
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.
#21
General Support / Re: SATA drive data collection
November 10, 2011, 08:10:54 AM
Has this problem been solved??
#22
Thank you!
tested many times and work it out finally....
#23
version 1.1.5
I've tried adding DCI,physical.disk and filesystem related,on both linux and windows 7,all these DCI's timestamp display 1970-jan-01 except for one item "Free physical memory" .
can some friend tell me how to fix this problem,please?
#24
General Support / Re: how to get java api sourcecode
October 26, 2011, 03:38:27 AM
Thank you!That will help a lot! ;D
#25
General Support / how to get java api sourcecode
October 25, 2011, 05:04:31 AM
Er..my English is not that well,I've tried serching for java api source code,it seems that there is .class file only,can some friend offer me an access to the java api souce code,which should include base,client,client api?

thanks
sincerely