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

#6076
Not in a straight way. You can achieve this by generating event via logwatch for each record and use situation object for counting (there was an example of how to use situations for counting events on the forum), but probably it will be easier to write external script for this.

Best regards,
Victor
#6077
General Support / Re: NetXMS in a cluster mode
March 20, 2011, 10:29:15 PM
Hi!

It is possible to create active-passive cluster using any clustering software, like Heartbeat or Microsoft Cluster. As NetXMS server stores all configuration in database, and configuration file contains almost only information necessary to connect to database, you just need to ensure database availability (by using replication or clustering software) and configure cluster software to start netxmsd. You also will need to add addresses of both cluster nodes to agents configuration files, because even if you are using virtual IP, outgoing connections will be made from primary addresses on the nodes.
I have NetXMS HA solution based on Heartbeat and DRBD (with database residing on shared DRBD device), and it works without problems for more than a year now. I can post configuration files for this configuration if it will help.

Best regards,
Victor
#6078
Quote from: inspirit on March 05, 2011, 09:38:17 PM
1) например как сделать что бы он коммутаторы опрашивал на предмет их живости например ну раз 5 минут. для диагностики этого вполне достаточно..

Это можно сделать только глобально, поменяв значение параметра сервера StatusPollingInterval на 300.

Quote from: inspirit on March 05, 2011, 09:38:17 PM
2) что нибудь про количество пулеров

Нельзя просто сказать, какое количество пулеров необходимо, надо смотреть на параметры сервера. У каждого типа пулеров есть своя очередь, и надо подбирать такое их количество, чтобы размер соответствующей очереди стремился к 0. Отдельные кратковременные пики - это нормально, но вот если размер очереди постоянно больше 0, то стоит увеличить количество соответствующих пулеров.

Quote from: inspirit on March 05, 2011, 09:38:17 PM
3) что нибудь про EventStorm и как это работает

Если event storm detector включен, то система отслеживает количество событий в секунду, и если оно больше чем значение, заданное параметром EventStormEventsPerSecond в течении послених EventStormDuration секунд, то обработка всех последующих событий прекращается до тех пор, пока количество событий в секунду не станет меньше EventStormEventsPerSecond.

Quote from: inspirit on March 05, 2011, 09:38:17 PM
напишите о том как нужно сконфигурировать netxmsd для сети с 500 и выше количеством коммутаторов.

сложно дать исчерпывающий ответ - надо смотреть на состояние сервера и менять настройки для устранения узких мест. Что обязательно стоит сделать - увеличить количество статус пулеров до ~ 50, если собирается много параметров - то скорее всего понадобится увеличить значения параметров NumberOfDataCollectors и NumberOfDatabaseWriters.
#6079
А какая версия сервера используется? Я попробовал на 1.0.10 - вроде все работает. И мне кажется, что я такой баг исправлял уже, не помню только в какой версии.
#6080
Hi!

Yes, x64 Debian packages will be released soon.

Best regards,
Victor
#6081
Permission sytem is already here - each tool has ACL, and only users/groups listed in tool's ACL will see it.

I'll think how I can add more detailed filtering for tools.

Best regards,
Victor
#6082
Hi!

I'll try to test this on my win2008 in a few days. Hard to tell something without tests.

Best regards,
Victor
#6083
General Support / Re: WMI method call
March 17, 2011, 10:28:42 AM
Hi!

First of all, I'm not an expert in WMI - so maybe I'm wrong. But what I understand it, it's not possible to call WMI methods using WQL - and WMI.Query is based on executing WQL queries. It is possible to create another parameter for WMI subagent, WMI.Call, which will return result of calling given WMI method. I add this to my to-do list, but because WMI is almost unknown area for me, it may take some time until I implement this.

Best regards,
Victor
#6084
General Support / Re: Multiple NetXMS on one server
March 17, 2011, 10:19:19 AM
Hi!

Yes, it's possible, but you will have to carefully configure some things:

1. Each instance should have own database (or schema, depending on how particular database calls it);
2. Port numbers - you should change to non-standard port for client connections, port for SNMP traps, and port for syslog messages if syslog server is enabled;
3. If you are using web interface, you should also run second instance of web server, and change it's port to non-standard, as well as correctly configure server's communication port in nxhttpd.conf;
4. If you are running NetXMS on Windows, installer and command line option -I for netxmsd always create Windows service with standard name - you will have to use registry editor to create second service.

Best regards,
Victor
#6085
General Support / Re: Graphs and unit
March 17, 2011, 10:13:00 AM
No. But this is a good idea, I'll think if I can implement it.
#6086
General Support / Re: Calculated DCI
March 17, 2011, 10:12:06 AM
Hi!

Yes, it is possible. You should create third DCI with the solurce set to "Internal" and parameter name set to "Dummy". This will generate zeros on given interval. Then, in transformation script you can access both DCIs you have configured and calculate value for your new DCI. Example transformation script:


value1 = GetDCIValue($node, FindDCIByDescription($node, "My DCI #1 description"));
value2 = GetDCIValue($node, FindDCIByDescription($node, "My DCI #2 description"));
return value1 + value2;


Best regards,
Victor
#6087
General Support / Re: nxmibc error compilation
March 12, 2011, 05:50:06 PM
Hi!

Just check it on my machine, attached MIB compiles without problem together with all MIBs included in NetXMS distribution. May be you have broken or missing file SNMPv2-SMI.txt?

Best regards,
Victor
#6088
General Support / Re: generate event every 3 hours
March 11, 2011, 08:21:16 PM
Hi!

You should set "Repeat event" option for threshold to value less or equal 10800 - this will cause server to resend event on every poll. It doesn't matter what event you set for "when condition becomes false again" if this will never happen.

Best regards,
Victor
#6089
General Support / Re: script a wmi query
March 08, 2011, 09:43:45 PM
List of parameters supported by agent updated during configuration poll. If you wish to see new parameters in the list immediately, you should force configuration poll on the node (by selecting Poll -> Configuration from node's context menu).

Best regards,
Victor
#6090
General / Re: compiling problem(missing jar)
March 07, 2011, 04:02:22 PM
Hi!

Sorry, forgot to mention. You have to add project located in src\java\nebula\org.netxms.nebula.widgets.gallery to workspace as well.

Best regards,
Victor