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

#2566
General Support / Re: UseInterfaceAliases
May 27, 2016, 09:43:27 AM
Hi,

you can do that using scripts - interface object has attribute "alias". To get interface object you can use function GetInterfaceObject if you know interface index or walk through all node interfaces using GetNodeInterfaces function and iterate through it's results.

Best regards,
Victor
#2567
No, origin need to be "NetXMS agent". Yes, this is the main reason why agent needs SQLite. Usually no additional configuration required, agent will create local database in reasonable location ($install_prefix/var/lib/netxms if built from sources, /var/lib/netxms if installed from deb package).
There is a bug in 2.0.3 (fixed in 2.0.4) that cached mode actually works only for servers listed as MasterServers in agent configuration.

Best regards,
Victor
#2568
General Support / Re: Netxms macro for instance??
May 27, 2016, 09:34:58 AM
Hi,

for threshold violation event it is %6 (or %<instance>). Are you sure you generate email from event related to threshoold?

Best regards,
Victor
#2569
General Support / Re: Disable DCI in script?
May 24, 2016, 06:09:38 PM
Hi,

currently it's not possible. You only can bulk enable/disable DCIs using nxshell scripts.

Best regards,
Victor
#2570
Hi,

in fact export file is just SQLite database. Try to run nxdbmgr import giving your database file as input.

Best regards,
Victor
#2571
Hi,

all mentioned points definitely worth fixing/implementing. What you call "conditions" will definitely be complicated, while rest seems to be relatively easy to implement. I'll try to schedule it for next releases.

Best regards,
Victor
#2572
General Support / Re: Port check on node add
May 24, 2016, 05:53:50 PM
Hi,

you can use portcheck subagent on management server. In the script you can use FindObject function to find management server node, then use AgentReadParameter to check status of a port using ServiceCheck.Custom parameter. For example:


mgmt = FindObject("netxms");
status = AgentReadParameter(mgmt, "ServiceCheck.Custom(" . $node->ipAddr . ",23)");
if (status == 0)
{
    // Port 23 open, do something
}


this script will check if port 23 is open on current node.

Best regards,
Victor
#2573
Windows / Re: Agent development - best-practice
May 24, 2016, 05:38:16 PM
Hi,

you best bet is to take any existing subagent as an example and ask questions here (src/agent/subagents/ecs for example - it is very simple subagent and structure should be easy to understand). You can also purchase training and/or support for your developers from Raden Solutions if you need premium support.

Best regards,
Victor
#2574
А сообщение где появляется? И какие текущие значения параметров пула DATACOLLECTION (должны собираться на верверной ноде)?
#2575
General / Re: Asking for french translation
May 18, 2016, 10:16:44 PM
Hi,

this would be very helpful. I've prepared language files for you: https://cloud.netxms.org/index.php/s/Pm6tl7HZCYxmZfr

You need to translate texts in files inside and send them back to me. Feel free to ask if you will have any questions!

Best regards,
Victor
#2576
General / Re: Asking for french translation
May 16, 2016, 07:30:05 PM
Hi,

French translation is currently just a placeholder - only platform parts are translated. If somebody French-speaking can assist with actual translation I'll provide language file to work with and necessary assistance.

Best regards,
Victor
#2577
Пришлите пожалуйста лог агента с дебагом 9.
#2578
Добрый день!

похоже на самом деле на неправильный threshold - 1.97 это вполне нормальное значение. Пробламе с пулом потоков если его load average превышает его максимальный размер.
#2579
Hi,

should be fairly easy to implement. Added as feature request: https://dev.raden.solutions/issues/1219.

Best regards,
Victor
#2580
Feature Requests / Re: message preview
May 14, 2016, 01:32:30 PM
Hi,

could be implemented. Added as a feature request: https://dev.raden.solutions/issues/1218.

Best regards,
Victor