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

#2506
Hi,

error 4 is general communication error, and error 17 is SNMP engine ID mismatch. Does this problematic gateway use SNMP version 3? Could you please capture SNMP traffic between NetXMS server and gateway during unsuccessful status poll?

Best regards,
Victor
#2507
Hi,

it seems that server is started on OS boot and then stopped. One possible reason could be that it started before database is ready, so it cannot access database and exits. Can you please set debug level to 9 (by adding DebugLevel=9 to netxmsd.conf), restart the system, and post server's log file?

Best regards,
Victor
#2508
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
#2509
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
#2510
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
#2511
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
#2512
Hi,

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

Best regards,
Victor
#2513
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
#2514
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
#2515
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
#2516
А сообщение где появляется? И какие текущие значения параметров пула DATACOLLECTION (должны собираться на верверной ноде)?
#2517
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
#2518
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
#2519
Пришлите пожалуйста лог агента с дебагом 9.
#2520
Добрый день!

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