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

#6916
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
#6917
Общие вопросы / 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
#6918
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
#6919
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
#6920
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
#6921
А можно запустить агента с ключом -D (debug) и прислать лог?
#6922
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
#6923
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
#6924
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
#6925
Windows / Re: Linker error in nxlexer
December 03, 2008, 05:17:38 PM
Hi!

Do you link it with scilexer library?

Best regards,
Victor
#6926
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
#6927
Windows / Re: nxagentd files missing
December 03, 2008, 12:05:26 PM
Hi!

Missing files attached.

Best regards,
Victor
#6928
Hi!

You need NetXMS agent installed on target machine, and than you can get disk space information via Disk.Free, Disk.Used, etc. parameters. For example, to configure free disk space monitoring on disk C:, do the following:
1. Select node in object browser
2. Right click on it, and select Data collection
3. Add new DCI, leave origin as "NetXMS Agent", press "Select...", and select Disk.Free parameter.
4. Inside the parenthesis, enter C:. You parameter's name should look like
Disk.Free(C:)
5. Configure thresholds if necessary.

That's all - as soon as you create new DCI, NetXMS server will start collecting information.

Best regards,
Victor
#6929
Windows / Re: File missing in netxmsd
December 03, 2008, 01:51:40 AM
Hi!

Missing file attached.

Best regards,
Victor
#6930
Sdelal event forwarding v 0.2.23. Tam esche mnogo chto nado budet uluchshat', no uze mozno nachinat' pol'zovatsja.