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

#7306
General Support / Re: Network Dependencies
May 02, 2008, 03:22:38 PM
Yes, it's a best way - it's what situations was designed for.

Best regards,
Victor
#7307
General Support / Re: Execute Action
May 01, 2008, 01:09:25 PM
Hello!

If you wish to execute batch file, you should run CMD.EXE explicitely. Try to use command line like


cmd.exe /C "echo test >> c:\test.txt"


To pass additional information to your script, you can use same macros as in alarms (%m, %n, etc.) in action's command line.

Best regards,
Victor
#7308
Общие вопросы / Re: Timezone
April 28, 2008, 06:24:45 PM
Совсем скоро. Мы натолкнулись на проблему со сбором информации по SNMP, как только ее решим сразу сделаем 0.2.21.
#7309
Общие вопросы / Re: Timezone
April 28, 2008, 05:07:41 PM
Я сделаю опцию в консоли "показывать время в тайм зоне сервера". Должно помочь.
#7310
Yes, it's possible via advanced schedule. Just check "advanced schedule" checkbox in DCI configuration, and add one or more schedules in CRON format on advanced schedule tab. For example, to collect data every minute from 9:00 till 18:00, add schedule


* 9-18 * * *


See cron manpage or NetXMS user manual for detailed description of schedule syntax.

Best regards,
Victor
#7311
Hello!

Currently it's not possible without patching mysql dat5abase driver in NetXMS. However, because you are running MySQL server on the same machine, you can use UNIX sockets for communications. Just specify socket:path instead of host name in DBServer parameter.

Best regards,
Victor
#7312
General Support / Re: Monitoring services?
April 23, 2008, 03:15:56 PM
What you mean by "monitor DCI"? DCI has a value by itself, you don't need another DCI to monitor it. I think you was asking about network service objects...

Best regards,
Victor
#7313
Макрос %a. Все возможные макросы описаны здесь: https://www.netxms.org/documentation/netxms_user_manual.pdf в разделе 8.6.
#7314
General Support / Re: Monitoring services?
April 22, 2008, 06:53:24 PM
You can use ChildStatus(*) internal parameter to monitor status of child objects for a node (interfaces and services). It takes child object ID or name as an argument, like


ChildStatus(eth0)


for interface eth0 on the node.

Best regards,
Victor
#7315
Hello!

It is possible already. File.Count has the following arguments:

File.Count(root_path, [pattern], [recursive])

You can define pattern as usual with * and ? characters, and if you wish to scan directories recursively, you should pass 1 as recursive arguments.

For your example

x:\folderA\subfolder\a\file1.txt
x:\folderA\subfolder\b\file2.txt
x:\folderA\subfolder\c\file3.txt
x:\folderA\subfolder\c\file4.txt

File.Count(x:\FolderA, *, 1) will return 4
File.Count(x:\FolderA, file2.*, 1) will return 1
File.Count(x:\FolderA, *) will return 0

Best regards,
Victor
#7316
Начиная с версии 0.2.21 это можно делать - в скрипте выставляем переменную CUSTOM_MESSAGE в нужное значение, и потом можем получить его используя макрос %M при создании аларма или actions.
#7317
Крестики вместо иконок появляются вместе с Internet Explorer 7 :( Вообще Alarm Viewer скоро будет новый.
Чтобы проговаривались тексты на русском, должен быть русский text-to-speech (TTS) engine. Вот здесь вроде что-то есть: http://www.bytecool.com/voices.htm. Но сам я никогда не пробовал ставить дополнительные языки в TTS.
#7318
All System.CPU.Usage parameters works with logical processors - i.e. single physical processor with hyper threading will be seen as two logical processors, quad-core processor will be seen as 4 logical processors, and dual-core processor with hyper threading will be seen as 4 logical processors.

System.CPU.Usage gives you an average utilization for all processors. System.CPU.Usage(*) accepts zero-based logical CPU number as an argument. For system with 4 logical processors you will be able to use ids 0, 1, 2, and 3.

That was about CPU utilization. If we come to CPU load, there are no parameters for per-processor load, because system has only one process run queue, and usually processes can be dispatched for execution to any free CPU.

Hope this helps!

Best regards,
Victor
#7319
General Support / Re: RAM percentage?
April 18, 2008, 03:42:25 PM
It' because DCI data type is unsigned int64, and automatic conversion from it to float (real) is not allowed. If you take a look at event log, you most likely will see a lot of SYS_SCRIPT_ERROR events. You have two options: change DCI data type to "float" or "integer", or do an explicit type conversion like this:


int64($1) / GetDCIValue($node, FindDCIByName($node, "System.Memory.Physical.Total")) * 100


Currently NetXMS will leave original value if transformation script fails - not a correct behaviour probably.

Best regards,
Victor
#7320
Пока нельзя. Единственный вариант - это отключить configuration polling на роутере и удалить подсети, но это плохой workaround.