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

#5386
Hi!

If you create a network service, it is checked from agent on poller node (default poller node is management server itself). So, if you create service "http" on node A and set poller node property of that service to node B, server will connect to agent on node B which in turn will attempt to connect to service on node A.
Agent on poller node must have portcheck subagent to be loaded. You can load it by adding

SubAgent = portcheck.nsm

to nxagentd.conf.

Best regards,
Victor
#5387
Для этого надо менять код субагента, чтобы PDH.GetCounterValue делал перевод названий. А вообще английские названия счетчиков лежат в registry: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Perflib\009.
#5388
Добрый день!

В NetXMS есть Java и C API. Проще использовать Java API. Например, создать новое устройство можно так:


package org.netxms.samples;

import org.netxms.api.client.NetXMSClientException;
import org.netxms.client.NXCSession;
import org.netxms.client.objects.GenericObject;
import java.net.InetAddress;
import java.io.IOException;

public class Sample {
    private static final String SERVER = "127.0.0.1";
    private static final String LOGIN = "admin";
    private static final String PASSWORD = "netxms";

    public static void main(final String[] args) throws NetXMSClientException, IOException {
        final NXCSession session = new NXCSession(SERVER, LOGIN, PASSWORD);
        session.connect();
NXCObjectCreationData cd = new NXCObjectCreationData(GenericObject.OBJECT_NODE, "TestNode", 2);
cd.setIpAddress(InetAddress.getByName("192.168.10.1"));
long id = session.createObject(cd);
        // id of new node object now is in variable "id"
        session.disconnect();
    }
}

#5389
Добрый день!

А что имеется ввиду под тестами - Thresholds? Тогда это надо решать на уровне event processing policy - т.е. проверки будут выполнятся, но обрабатывать события можно будет по разному.
#5390
Feature Requests / Re: Last values several nodes
May 15, 2012, 09:57:48 AM
Hi!

Regarding DCIs from different nodes - it should work. You can open properties for graph, and add additional data sources. These data sources could be DCIs on different nodes.

Best regards,
Victor
#5391
Hi!

Looks like on node FS01.bustednetworks.com (which is set as poller node for this service) is not loaded portcheck subagent.

Best regards,
Victor
#5392
Hi!

This should work. In fact, export data file is an sqlite database, so you can try to create new mysql database and use your SQLite database file as source for nxdbmgr import.

Best regards,
Victor
#5393
General Support / Re: Interface expected state
May 15, 2012, 09:51:32 AM
Currently there are no way to do this. I'm also facing this problem, so next version will definitely have this feature :)

Best regards,
Victor
#5394
General Support / Re: Java Console - Alarm Sounds
May 15, 2012, 09:50:44 AM
Hi!

It's not implemented yet.

Best regards,
Victor
#5395
General Support / Re: Graph Menu Missing
May 15, 2012, 09:50:19 AM
Hi!

Current version of Java console does not support saving graph as predefined, it is only possible from legacy console. We will fix it in 1.2.1.

Best regards,
Victor
#5396
Hi!

Are you sure that you recompile everything? Also, check protocol version number in netxms-version.h and in Java client (in class NXCSession).

Best regards,
Victor
#5397
Hi!

Windows 2000 is not supported by 1.1.x and 1.2.0 agents. You can try to use agent version 1.0.13 on Windows 2000 (it is compatible with newer server versions).

Best regards,
Victor
#5398
One correction - you don't need to set EnableProxy = yes on agent for this configuration to work. It's a bit confusing, but it's a different things - agent proxy and proxy DCI. Agent proxy (configured on communication tab in node properties) is connecting to remote agent via proxy agent. Proxy DCI - displaying DCI on one node but really collecting data from another (proxy) node. It could be any type of DCI, including internal.

As for Icmp.Ping, it's more about using preconfigured targets in ping subagent (configured via Target = xxx parameter in PING section of nxagentd.conf) and then Icmp.AvgPingTime instead of Icmp.Ping for collecting data. But if you have hundreds of ping targets, then separating them between several nodes could be a good idea too.

Best regards,
Victor
#5399
Hi!

It will be possible in 1.2.1. We have added NXSL functions for SNMP (http://wiki.netxms.org/wiki/NXSL:SNMPSet for example). Then you will be able to put SNMPSet call into DCI's transformation script.

Best regards,
Victor
#5400
Hi!

This feature will be implemented in Java console in version 1.2.1. It was planned to be there in 1.2.0, but somehown was forgotten :(

Best regards,
Victor