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

#6931
Windows / Re: Flex errors
December 10, 2008, 03:40:59 PM
Hi!

You need flex version 2.5.33.

Best regards,
Victor
#6932
По умолчанию PING subagent посылает 4 пакета в минуту, размером 46 байт и с тайм-аутом 3 секунды. Процент потерь рассчитывается за минуту. Количество пакетов в минуту можно изменить параметром PacketRate, а размер - параметром DefaultPacketSize. Кроме того, для каждого проверяемого хоста можно настроить свой размер пакета, указав его после адреса и имени. Тайм-аут меняется параметром Timeout, задается в миллисекундах.

Пример: посылаем 10 пакетов в минуту, для хоста 10.0.0.2 устанавливаем размер пакета 500 байт, для всех остальных - 100, тайм-аут полторы секунды:


*PING
PacketRate = 10
DefaultPacketSize = 100
Timeout = 1500
Target = 10.0.0.1:host1
Target = 10.0.0.2:host2:500
Target = 10.0.0.3:host3

#6933
Quote from: czimmermann on December 10, 2008, 01:07:17 AM
I was able to follow your steps and monitor one drive successfully. Is it possible to monitor multiple drives in one Data Collection Item? Such as if you put C:,D: in the argument section of the Parameters would it monitor the C and D drives to 75% capacity? Or is there a command to monitor all possible drives in the same DCI?

You can create DCI which summarizes values of two DCIs via transformation script.

Quote from: czimmermann on December 10, 2008, 01:07:17 AM
Is there a way to send a DCI to multiple but not all nodes? I need this exact DCI to go to about 23.

You can use templates for this. Create template with required DCIs, and then apply it to nodes you wish these DCIs to appear on. Any future changes in template will also reflects on nodes this template applies to. To simplify DCI creation in template, you can create empty template, open data collection configuration fr node where you have already configured DCIs, and then move DCIs to template by right-click and selecting "Convert to template item".

Best regards,
Victor
#6934
Windows / Re: Linker error in various netxms projects
December 09, 2008, 07:09:47 PM
All these Crypt functions are from advapi32.dll. Ensure that advapi32.lib is in library list for libnetxms and that you are using latest Windows Platform SDK.

Best regards,
Victor
#6935
Windows / Re: Linker error in various netxms projects
December 09, 2008, 12:56:21 PM
Hi!

Did you compile crypto.cpp as part of libnetxms?

Best regards,
Victor
#6936
Общие вопросы / Re: NetXMS FAQ/ЧаВо
December 08, 2008, 06:08:46 PM
Синтаксически скрипт правильный. Проблема в том, что в текущей версии статус узла через аттрибуты недоступен. Я добавил соответствующий атрибут, он называется status, и в 0.2.23 такой скрипт можно будет использовать:

sub main()
{
   return ($node->status == 4) ? 0 : 1;
}

Еще один комментарий - а если у узла уже будет статус CRITICAL, например из-за того, что один из интерфейсов в статусе CRITICAL? Тогда и первое письмо не будет отослано. Для таких задач можно использовать ситуации - при получении трапа от упса выставлять атрибут соответствующей ситуации в 1, а в скрипте проверять состояние этого атрибута.

P.S. Маленький пример использования ситуаций (на английском) - https://www.netxms.org/forum/index.php/topic,321.0.html
#6937
Windows / Re: Linker error in various netxms projects
December 08, 2008, 03:47:37 PM
Most likely you should have OpenSSL compiled with VC6. You can get headers and libs that I use at https://www.netxms.org/download/dev/openssl-0.9.8b-vc6.tar.gz.

Best regards,
Victor
#6938
Hi all!

I have moved all topics related to compilation of NetXMS for Windows platform to the development board, because compilation is not a part of normal installation process on Windows. From now on, please post all such topics into appropriate development board.

Best regards,
Victor
#6939
General Support / Re: what connects to what?
December 08, 2008, 03:20:45 PM
Hi!

Server connects to agent, by default using port 4700.

It should be safe - first, agent accepts connection only for explicitly listed IP addresses (usually you will have only one address - of your NetXMS server). In addition, you can configure NetXMS to use encrypted connections between server and agent, and configure shared secret authentication on agent, so it will acccept connections not only from specific addressm but also only if valid shared secret was provided.

Best regards,
Victor
#6940
А можно запустить агента с ключом -D (debug) и прислать лог?
#6941
Windows / Re: external symbol unresolved error
December 03, 2008, 05:22:38 PM
Again, problem with OpenSSL. You either don't have it or have some incorrect version. I use 0.9.8b, but any later version should be ok as well.

Best regards,
Victor
#6942
Windows / Re: Error in logindialog.h
December 03, 2008, 05:21:16 PM
Looks like problem with encryption stuff. Do you have OpenSSL correctly installed?

Best regards,
Victor
#6943
1. You need flex version 2.5.33. Probably you have older one.

2. These functions defined in src/libnetxms/crypto.cpp. Did you compile this file as part of libnetxms?

Best regards,
Victor
#6944
Windows / Re: Linker error in nxlexer
December 03, 2008, 05:17:38 PM
Hi!

Do you link it with scilexer library?

Best regards,
Victor
#6945
Windows / Re: Processing .\rc\wxfb_code.xrc
December 03, 2008, 05:12:35 PM
Hi!

Yes, you need perl and wxrc to compile wxWidgets-based console.

Best regards,
Victor