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

#1
General / delta calculation , Net.Interface.BytesIn(*)
February 17, 2012, 01:06:40 PM
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??
#2
General / the way of how DiskQueue in NetXMS worked out
February 16, 2012, 04:58:09 AM
HI,
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??
#3
General / create DCI with Java API
February 06, 2012, 10:46:51 AM
HI,
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
#4
General / usage of setting alarm's message and key
January 07, 2012, 10:15:11 AM
Hi,
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,
#5
HI,
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".
#6
General / topology map in java console
December 06, 2011, 09:33:22 AM
Hi,
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?
#7
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
#8
   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
#9
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.
#10
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?
#11
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