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

#6136
General Support / Re: Adding Node Breaks Polls
February 23, 2011, 09:12:30 PM
Looks like management server has the same IP address as on one of 6509 interfaces. Could you check it? Does NetXMS server has only one IP?
#6137
General Support / Re: Adding Node Breaks Polls
February 23, 2011, 03:48:55 PM
Hi!

Looks somehow similar to this bug: https://www.netxms.org/bugtrack/view.php?id=319. Could you please run server in debug mode (by adding -D 6 switch to netxmsd command line) and send me the logs (either here or to dump-at-netxms.org)?

Also, question to all readers: does anybody has Cisco device in a lab with such big number of ports and able to provide me with remote access to it for some days? My best Cisco device has only 24 ports, and I can reproduce such problem (either described here or listed in the bug record) on big Nortel switches :(

Best regards,
Victor
#6138
General Support / Re: nxmibc error compilation
February 22, 2011, 01:03:36 PM
You should put all files from the archive into src/nxmibc directory (replacing existing files) and run command make (assuming you still have configured source tree). If you remove sources you have built NetXMS from, you need to unpack them again, replace files, and then run ./configure and make as usual. If build will be successful, run make install to put resulting binary to appropriate place.

Best regards,
Victor
#6139
General Support / Re: nxmibc error compilation
February 22, 2011, 03:27:38 AM
Attached. Patch file contains modified parser.l and parser.y from src/nxmibc directory, and in case you don't have flex and bison resulting C files.

Compilation is not cumulative - each time nxmibc reads all presented source MIBs and generate compiled file, erasing previously created one, if any.

Best regards,
Victor
#6140
General Support / Re: nxmibc error compilation
February 19, 2011, 06:00:31 PM
Hi!

I run MIB compiler against Cisco MIBs from location you provided. Some of the MIBs really contains errors, but most compiler errors are bugs in nxmibc. I have fixed them, next release will contain improved MIB compiler. If you need, I can post a patch for MIB compiler here.

Best regards,
Victor
#6141
Добрый день!

Нет, функций инвентаризации в NetXMS нет. В Википедии неверная информация.

Про Wiki - попробую, вроде существует дополнение к OpenOffice для публикации документов в Wiki.
#6142
В серверных командах можно использовать серверные макросы, как в событиях или алармах. Для передачи IP адреса надо использовать %a, например

/usr/local/bin/nxsnmpset -c private -t INTEGER %a .1.3.6.1.4.1.259.6.10.94.1.7.3.0 3
#6143
С динамическими адресами пока довольно плохо. Можно делать discovery и искать вновь появившиеся адреса, но это не совсем то.

По поводу NAT - сервер подключается к агентам, поэтому один прокси на сеть скорее всего понадобится.
#6144
General Support / Re: Macros for DCI description
February 11, 2011, 03:32:34 PM
Hi!

Unfortunately it's not possible. You can only expand macros in template items, and only at the moment when you apply template to node.

Best regards,
Victor
#6145
Dobrij den'!

Sborok pod Ubuntu poka net, k sozaleniju. V attache sobrannij na Ubuntu Server 10.10 MySQL driver dlja NetXMS. Dostatochno ego prosto polozit' v /usr/lib i postavit' package netxms-server - po idee dolzno rabotat'.
#6146
Общие вопросы / Re: debug levels
February 10, 2011, 09:49:40 AM
Добрый день!

Распределение примерно такое:

0 = дебаг выключен
1 = дополнительные сообщения при инициализации и остановке сервера
2 = + больше сообщений при инициализации, некоторые внутренние ошибки
3 = + дебаг авторизации пользователей, исполнения команд
4 = + дебаг network discovery и ISC
5 = + дебаг событий, поллеров, push параметров, дополнительный дебаг ISC и network discovery
6 = + дебаг клиентских сессий, дополнительный дебаг поллеров и network discovery
7 = + дополнительный дебаг поллеров и сбора данных
8 = + дополнительный дебаг сбора данных
9 = + все SQL запросы

Общая идея примерно такая - до уровня 5-6 дебаг можно держать включенным постоянно (хотя сильно зависит от количества узлов). Начиная с 7 уровня дебаг очень подробный, туда пишутся записи о повторяющихся каждые несколько секунд операциях - соответственно и растет он очень быстро. Я обычно использую уровень 5 или 6 при отладке - 7 и выше нужны обычно при поиске дедлоков.

В отдельный лог писать нельзя, давно хочу это сделать, но никак не доберусь.
#6147
Hi!

Scripting slowly moves to more and more areas of NetXMS :) I agree that creating and binding objects from scripts is a very good idea. I'm not sure, however, that auto bind script is the best place to create additional objects. For network discovery purposes, additional hook will be better. For example, it can be done that way that for each newly added node system executes some script from library. Or take more generic approach, and allow script execution as action in event processing policy - that way you will be able to execute your script on each SYS_NODE_ADDED event, as well as do many other things for other events.

Best regards,
Victor
#6148
General Support / Re: problem generate event from Syslog
February 09, 2011, 04:34:15 PM
Hi!

For syslog-based events to be generated, host which is source of the event must be registered as node in NetXMS. Also, I suppose you just omit <parser> tag from posted config - <rules> must be wrapped in it.

Best regards,
Victor
#6149
Ошибка в названии счетчика - должно быть

Counter = Active Remote Delivery Queue Length:"\MSExchangeTransport Queues(_total)\Active Remote Delivery Queue Length":60:A:INT:SMTP Active Remote Delivery Queue Length

MSExcahngeTransport  ->  MSExchangeTransport

Я сам это заметил только минут через 10 экспериментов :)
#6150
General Support / Re: script a wmi query
February 08, 2011, 10:47:07 PM
Hi!

jsut check it on my machine, and it looks like cscript suppresses output of WScript.Echo in batch mode, so agent cannot get the result. Changing

ExternalParameter = MyParameter:c:\windows\system32\cscript.exe //B //Nologo "c:\MyScript\myscript.vbs"

to

ExternalParameter = MyParameter:c:\windows\system32\cscript.exe //Nologo "c:\MyScript\myscript.vbs"

gives correct result for MyParameter.

Best regards,
Victor