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

#7276
General Support / Re: Server crash
May 05, 2008, 06:09:25 PM
Quote from: xenth on May 05, 2008, 10:27:55 AM
I just noticed something very disturbing, the polling isn't going properly.

My set intervals aren't being listened to, I'll give you an example, this is one of my workstations.
I have set the interval to 60 seconds, yet it does NOT poll every 60 seconds  :'(

It should poll every 60 seconds, yet when I view the history:

This is a VERY big problem as well, is it related to my other problem?  :(

Yes, most likely they are related. If you take a look at a result of "show queues" console command, you can see quite big number (330) in data collector queue. This means that at the moment when you type this command 330 requests for collecting data was waiting for processing, because all data collectors was busy. You can try to increase number of data collectors to 40 or 50 (by changing server's parameter NumberOfDataCollectors), this may help a bit, but will not remove the problem completely.

Some additional questions: do you have SNMP on the nodes? Do you use SNMP for data collection?

Best regards,
Victor
#7277
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
#7278
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
#7279
Общие вопросы / Re: Timezone
April 28, 2008, 06:24:45 PM
Совсем скоро. Мы натолкнулись на проблему со сбором информации по SNMP, как только ее решим сразу сделаем 0.2.21.
#7280
Общие вопросы / Re: Timezone
April 28, 2008, 05:07:41 PM
Я сделаю опцию в консоли "показывать время в тайм зоне сервера". Должно помочь.
#7281
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
#7282
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
#7283
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
#7284
Макрос %a. Все возможные макросы описаны здесь: https://www.netxms.org/documentation/netxms_user_manual.pdf в разделе 8.6.
#7285
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
#7286
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
#7287
Начиная с версии 0.2.21 это можно делать - в скрипте выставляем переменную CUSTOM_MESSAGE в нужное значение, и потом можем получить его используя макрос %M при создании аларма или actions.
#7288
Крестики вместо иконок появляются вместе с Internet Explorer 7 :( Вообще Alarm Viewer скоро будет новый.
Чтобы проговаривались тексты на русском, должен быть русский text-to-speech (TTS) engine. Вот здесь вроде что-то есть: http://www.bytecool.com/voices.htm. Но сам я никогда не пробовал ставить дополнительные языки в TTS.
#7289
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
#7290
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