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 - Victor Kirhenshtein

#2206
General Support / Re: Query on FindNodeObject
February 23, 2017, 07:14:46 PM
Hi,

most likely problem caused by trusted node check. You should either add current node (where script is being executed) to list of trusted nodes on node sw, or disable trusted nodes check completely by setting server configuration parameter CheckTrustedNodes to 0 and restart server.

Best regards,
Victor
#2207
General Support / Re: Presets greater than 12 hour
February 06, 2017, 10:00:41 AM
Hi,

it was supposed to be fixed in 2.1-M2. Could you please give more details about your environment when 2.1-M2 is now working? Also, could you please try different browsers?

Best regards,
Victor
#2208
Just thought that if interface name poll works for you, so should configuration poll. How often you run configuration polls?

Best regards,
Victor
#2209
Hi,

I think option 1 is more feasible. There is Java API for reading DCI data, so all is needed is to find some Java library that can generate graphs in PNG format and write a simple web service around it. Do you know any good Java library for that? We could possibly use BIRT and built this functionality into web UI, but it will be quite heavy solution.

Best regards,
Victor
#2210
General Support / Re: Geolocation & Map Questions
February 06, 2017, 09:49:07 AM
Hi,

#1 - seems like a bug, we will check this.

#2 - how exactly coordinates can be obtained? Is is possible to set geolocation from script, so for example if it can be obtained through SNMP it can be set in configuration poll hook. You can also use nxshell to run Python scripts for updating object coordinates from outside.

#3 - they just overlaps on map. We have to implement some sort of selector when there are multiple objects overlapping. I've added an issue for that: https://track.radensolutions.com/issue/NX-1162

Best regards,
Victor
#2211
No, you can only get value.

Best regards,
Victor
#2212
Hi,

yes, it's known bug in framework we are using (Eclipse RAP). We will try to find a workaround before stable release of 2.1.

Best regards,
Victor
#2213
Hi,

this is correct behavior - instance here is OID instance, which is determined by OID suffix (part after walk base). If you want to give other name to the instance, you can use instance filter to change it (and in DCI description you can use {instance-name} then). For example:

return %(true, $1, "New name for " . $1);

Best regards,
Victor
#2214
General Support / Re: Script as Instance Discovery
February 06, 2017, 09:23:53 AM
Hi,

you don't need instance discovery here. Script 2 is correct, you just have to place it into script library and use in script DCI. You can test it by selecting "Execute server script" on your switch node object, selecting library script or pasting script code, and executing.

Best regards,
Victor
#2215
Feature Requests / Re: syslog table Index
January 31, 2017, 11:41:00 PM
Hi,

I've added to new indexes in 2.1-M3:

CREATE INDEX idx_syslog_source ON syslog(source_object_id);
CREATE INDEX idx_snmp_trap_log_oid ON snmp_trap_log(object_id);

Best regards,
Victor
#2216
$dci is global variable containing reference to current DCI object. You can find class description here: https://wiki.netxms.org/wiki/NXSL:DCI. Instance is it's attribute.

Transformation scripts in templates never executed - it is just a template for real DCIs.

It is not possible to disable DCI from script.

Best regards,
Victor
#2217
It is supposed to be generic. I'll check it on Windows 7.

Best regards,
Victor
#2219
Remember that second argument is regular expression, so certain characters have special meaning. For example, \ is an escape character, so to match it you should specify it as \\. As for class name you're probably right - agent extracts only first 255 characters of process command line. I'll fix that in next release.

Best regards,
Victor
#2220
Добрый день,

показывается всегда адрес используемый системой для коммуникаций с узлом. Без переделки кода не получится. В следующем релизе можно добавить отображение комментариев на значке (сейчас они отображаются на всплывающих подсказках) - тогда внешние адреса можно будет в комментариях писать.