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

#7261
Начиная с версии 0.2.21 это можно делать - в скрипте выставляем переменную CUSTOM_MESSAGE в нужное значение, и потом можем получить его используя макрос %M при создании аларма или actions.
#7262
Крестики вместо иконок появляются вместе с Internet Explorer 7 :( Вообще Alarm Viewer скоро будет новый.
Чтобы проговаривались тексты на русском, должен быть русский text-to-speech (TTS) engine. Вот здесь вроде что-то есть: http://www.bytecool.com/voices.htm. Но сам я никогда не пробовал ставить дополнительные языки в TTS.
#7263
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
#7264
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
#7265
Пока нельзя. Единственный вариант - это отключить configuration polling на роутере и удалить подсети, но это плохой workaround.
#7266
General Support / Re: RAM percentage?
April 18, 2008, 11:12:25 AM
Some additional info can be found in this thread: https://www.netxms.org/forum/index.php/topic,289.0.html.

Assuming that you have DCI for parameter System.Memory.Physical.Total, your transformation script may look like this:


sub main()
{
   total = GetDCIValue($node, FindDCIByName($node, "System.Memory.Physical.Total"));
   return $1 / total * 100;
}


or simplified to


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


Best regards,
Victor
#7267
Поменять нельзя. Но могу это сделать в следующем релизе, технически это не сложно.
#7268
Должно быть


sub main()
{
   return ($2 == 4227794) ? 1 : 0;
}

#7269
General Support / Re: Problems with agent parameters
April 18, 2008, 09:18:24 AM
Just to make sure that we are understanding each other correctly: processor load and processor utilization are different parameters - processor utilization, or usage (represented by System.CPU.Usage) is a percentage of time spent by processor outside idle loop, and processor load (represented by System.CPU.LoadAvg) is an average length of process run queue (or average number of processes ready to run but waiting for execution because CPU is busy running other process). So, when CPU utilization goes to 100%, CPU load can be 2 - it just mean that in average, 2 processes are waiting for execution - which is normal.
CPU utilization is mostly used in Windows world, and CPU load average - in UNIX world. We support both of them on all platforms.

Best regards,
Victor
#7270
General Support / Re: Invalid alarm ID's
April 18, 2008, 09:07:50 AM
I'm working on it.

Best regards,
Victor
#7271
General Support / Re: Windows mobile 5/6 console?
April 18, 2008, 09:05:44 AM
Not in the near future, because our time mostly goes to more important core features and Linux console. I can provide help if somebody will write that, but I will not be able to do it myself - only because of lack of time.

Best regards,
Victor
#7272
General Support / Re: Windows event log DCI ?
April 17, 2008, 01:26:49 PM
It's still there unfortunatelly... We have half-done code for event log monitoring, which was frozen some times ago due to lack of free time.

Best regards,
Victor
#7273
General Support / Re: RAM percentage?
April 17, 2008, 01:21:44 PM
Hello!

Looks correct. Do you have any problems with it? Also, since version 0.2.20 you can collect total amount of RAM as separate DCI and use it's value in calculation instead of hardcoded value.

Best regards,
Victor
#7274
General Support / Re: Problems with agent parameters
April 17, 2008, 01:17:18 PM
Is there any messages in agent's log (or system event log) when agent starts?

Best regards,
Victor
#7275
General Support / Re: Event log questions
April 17, 2008, 01:15:54 PM
Hello!

Both are not possible now, but already put in wishlist by many people.

Best regards,
Victor