News:

We really need your input in this questionnaire

Main Menu
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

#6976
Общие вопросы / 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
#6977
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
#6978
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
#6979
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
#6980
А можно запустить агента с ключом -D (debug) и прислать лог?
#6981
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
#6982
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
#6983
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
#6984
Windows / Re: Linker error in nxlexer
December 03, 2008, 05:17:38 PM
Hi!

Do you link it with scilexer library?

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

Missing files attached.

Best regards,
Victor
#6987
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
#6988
Windows / Re: File missing in netxmsd
December 03, 2008, 01:51:40 AM
Hi!

Missing file attached.

Best regards,
Victor
#6989
Sdelal event forwarding v 0.2.23. Tam esche mnogo chto nado budet uluchshat', no uze mozno nachinat' pol'zovatsja.
#6990
Quote from: Anth0ny on November 28, 2008, 04:15:20 PM
1) Прошу добавить в Event Processing policy Editor возможность менять положение Правил обработки (чтобы можно было перемещать Правила, менять их расположение относительно друг друга и их очерёдность применения).

Sdelal, teper' rabotajut operacii cut, copy, i paste - sootvetstvenno pri pomoshi cut i paste mozno dvigat' pravila.

Quote from: Anth0ny on November 28, 2008, 04:15:20 PM
2) Если возможно, было бы неплохо отключить первичное срабатывание NXMS при перезапуске core-сервиса NXMS. А то при каждом таком перезапуске все, кто подписан на получение почтой извещений о состоянии отслеживаемых систем, получают почему-то список - перечень кластеров (!? я так и не понял почему и причём тут кластера) и порцию извещений о последних неудачных тестах (текущие не закрытые варнинги).

Mozno bolee razvernutij primer? A to ja ne sovsem ponjal o chem rech'.

Quote from: Anth0ny on November 28, 2008, 04:15:20 PM
3) прошу увеличить объём, выделенный для внесения текста в поле "Message Template" у События (Event). а то нельзя туда запихнуть столько информации, сколько бы хотелось...

Sejchas maksimal'naja dlinna teksta soobschenija - 255 simvolov. Uvelichit' mozno, no eto budet ne ochen' prosto - nado ochen' mnogie mesta v kode proverit' i popravit' - naprimer, nado sootvetstvenno uvelichivat' maks. dlinnu soobschenij v alarmah, etc. V blizajshem relize tochno ne sdelaju, poskol'ku nado budet mnogo testirovat' posle takih izmenenij. Potom mozno budet.

Quote from: Anth0ny on November 28, 2008, 04:15:20 PM
4) в Actions нельзя создавать Действия, давая им русские имена. не принимаются. это можно поправить?

Ispravil.