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

#5356
General Support / Re: Host dependencies
May 22, 2012, 09:25:23 PM
This can be done with scripts in event processing policy. You can determine switch where host is connected, and ignore event if it is down. I will also add a feature request for implementing it as standard event correlation rule.

Best regards,
Victor
#5357
Can you please send me the output of snmp walk for .1.3.6.1.4.1.9.5.1.2.14 and .1.3.6.1.2.1.1 for that switch?

Best regards,
Victor
#5358
Feature Requests / Re: drivers
May 22, 2012, 09:18:12 PM
Hi!

The most generic would be to just dump everything, like this:

nxsnmpwalk -v 2c -c community switch_ip .1.3.6.1 > file_name

Best regards,
Victor
#5359
Hi!

Your steps are correct. NetXMS server installer will create database and initialize it, you'll only have to provide database administrator login and password.

Best regards,
Victor
#5360
Попробуйте поставить пароль пользователю sa. Возможно NetXMS некорректно передает пустой пароль при логине.
#5361
Надо смотреть в сторону использования situations. В документации есть пример иcпользования (в разделе Event Processing: http://wiki.netxms.org/wiki/UM:Event_Processing#Situations).
#5362
Исправил. В 1.2.1 старая консоль пока останется :)

В новой консоли сделал полоску со статусами объектов в object browser, как в старой консоли - этот вопрос тоже поднимался как-то.
#5363
Hi!

When SNMP proxy restored? Only after server restart?

What OS you have on agents using as SNMP proxy?

I'll also try to setup SNMP proxy in my test environment and leave it running for few days to see if I'll be able to reproduce this problem.

Best regards,
Victor
#5364
Quote from: David Hewison on May 16, 2012, 08:14:35 PM
I have now discovered ServiceCheck.HTTP() , however if copy the example (below) into the DCI I get 'unable to create new data collection item: invalid argument' , I've quotes around what are likely to be strings, reduced the test expression to "*" but cannot create the item. Anyone point me in the right direction ?

ServiceCheck.HTTP(159.148.208.90,80,/index.html,www.netxms.org,"^HTTP/1\.[01] 200.*")

It should not be related to parameter syntax, server is not checking it. What version of server and console you are using? Also, can you send me screenshot of your DCI configuration?

Best regards,
Victor
#5365
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
#5366
Для этого надо менять код субагента, чтобы PDH.GetCounterValue делал перевод названий. А вообще английские названия счетчиков лежат в registry: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Perflib\009.
#5367
Добрый день!

В 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();
    }
}

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

А что имеется ввиду под тестами - Thresholds? Тогда это надо решать на уровне event processing policy - т.е. проверки будут выполнятся, но обрабатывать события можно будет по разному.
#5369
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
#5370
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