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

#91
General Support / create event with acknowledgements
October 15, 2014, 11:36:27 PM
Hello.

I am wondering if I can create event when I clicked to acknowledge or sticky acknowledge in context menu.

In fact, i am trying to make multi process with one click :) In my case :

When I clicked to sticky acknowledgement on an alarm, I want to

mail a service ticket to my network provider,
sms to my manager about this alarm,
sms to my boss about my alarm.

I see that I can do these by creating object tool but if I do so, i can not see if I send a ticket mail to my network provider and sent smss to people.

Is this possible ? thanks.
#92
All Information about DCI values and script as follows:

DCI Values :
"Timestamp","Value"
"15.10.2014 22:48:51","5192"
"15.10.2014 22:48:41","7360"
"15.10.2014 22:48:31","8624"
"15.10.2014 22:48:21","160"
"15.10.2014 22:48:11","2952"
"15.10.2014 22:48:01","160"
"15.10.2014 22:47:51","160"
"15.10.2014 22:47:41","160"
"15.10.2014 22:47:31","160"
"15.10.2014 22:47:21","160"
"15.10.2014 22:47:11","160"
"15.10.2014 22:47:01","2952"
(Got these with export to csv)

my sample script is :


node=FindNodeObject(null,11298);
nodedci2=FindDCIByDescription(node,"inbound_12");
nodedci=GetDCIObject(node,nodedci2);
saturesure=GetCustomAttribute(node,"saturesure");
btime=time();
avgdci=GetAvgDCIValue(node,nodedci->id,btime-saturesure,btime);
sumdci=GetSumDCIValue(node,nodedci->id,btime-saturesure,btime);
println "avgdci     : ".avgdci;
println "sumdci     : ".sumdci;
println "saturesure : ".saturesure;

inboundsondakka=GetDCIValues(node,nodedci->id,btime-saturesure,btime);
ib=0;
ic=0;
foreach (ia:inboundsondakka)
{
ib++;
ic=ic+ia;
println ib.".th record :".ia;
}

ic=ic/ib;
println "recordcount :".ib;
println "avgdcivalue :".ic;

return false;

(11298 my node id)

and console output is :

avgdci : 2.00000
sumdci : 3.00000
saturesure : 120
1th record : 5192
.
.
.
12.th record : 2952
recordcount : 12
avgdcivalue : 2350.00000

NETXMS version : 1.2.16. Compiled from source, and i am using mysql 5.5.38-0 and Operating System is : linux mint 17
#93
Thank you!

It is working. This Program is very good. I am discovering new features every day :)
#94
Feature Requests / Transformation information on CREATEDCI
September 28, 2014, 10:58:33 PM
Hi again.

I have many different routers in my network and trying to configure auto create DCI for network traffic (inbound & outbound  bit/s).

Because of routers' interface indexes are not same with each other, i could not apply template for creating DCI s. So I am trying to auto create DCIs as necessary for per router. I mean snmp oids are beginning same but last section is changing according to interface index that i want to log.

I am using nxsl and CreateDCI function. But I need to set transformation parameters, too (delta and transformation scripts for bit/s calculation).

if I did not miss, I can not set transformation information within script. Can you add this speciality or can I do this with an other way ?

thank you.
#95
I had a look into code and saw a new command : GetDCIValues . With this command, i can read all records between timestamp as an array.
i can calculate an average value by:

GetDCIValues between timestamps, Sum them and divide to record count between timestamps  (because both GetAvgDCIValue and GetSumDCIValue are not working properly and returning meanless integers between 1..10)

so i can calculate avg. But If there is an other way, can anybody tell me, please ?
#96
Feature Requests / Geo Map Status, Icons and Right Click
September 27, 2014, 12:59:16 AM
Hi ! :)

At the beginning, thank you for so so so great project.

I have 100s of nodes on my network, and when I try to see them on geo map all together, nearly all node's names are binding each other. So I can understand nothing from this view.

In my opinion, if user can change node's seem kind (for example to a circle or any bitmap), geo map section will be very very useful.

And, colour of this circle or bitmap may be chosen with a script or alarm (not by node's children's status)

And of course, a right click on this bitmap may be very useful (this can be done in status map but status map is not so useful in large nodes, because all nodes can not be seen on one screen. But we can see all of them on one screen with geo map).
#97
General Support / netxms 1.2.16 getavgdcivalue not working
September 27, 2014, 12:41:34 AM
Hi There!

I am trying to use NetXMS on routers' bandwidth usage statistics and trying to see if any saturation is happening on my network.

For this, I am trying to use getavgdcivalue command on scripting but i am sure that command is not returning true result.

I had a look at code, and did not see any error.
Itried to use sql statement as described other posts about this command, and sql command is working properly but getavgdcivalue command is not working.

I Tried to use GetminDCIValue, it is working.
I tried to use GetMaxDCIValue, it is working.

I tried to use GetSumDCIValue, it is NOT Working properly.
I tried to use GetAVGDCIValur, it is NOT working properly.

Getsumdcivalue and getavgdcivalue is returning integers that smaller than 10.

By the way, i am using netxms on linux mint machine and mysql.

Can anybody help me to solve this problem, please?