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

#2356
Hi,

most likely you're right. If you can rebuild server from source, please try attached patch.

Best regards,
Victor
#2357
Hi,

actually server will periodically (every 10th poll) check unsupported DCIs and re-activate them if agent responds. You can also write nxshell script to walk all nodes and re-activate all unsupported DCIs.

Best regards,
Victor
#2358
Общие вопросы / Re: vmgr.nsm
October 21, 2016, 01:48:40 PM
Добрый день!

По ошибке собрали пакеты без vmgr.nsm. В течении нескольких дней выложим обновленные пакеты.
#2359
Общие вопросы / Re: SSH subagent
October 20, 2016, 01:29:25 PM
В конфиге агента должна быть строка вида

SubAgent = ssh.nsm
#2360
В скриптах можно получить доступ через функцию GetCustomAttribute, в сообщениях - через макрос %{attribute}. На дашборд напрямую вывести нельзя, надо делать метрику.
#2361
General Support / Re: Parser file name
October 20, 2016, 10:40:30 AM
You can use strftime patterns in file name. For example, to match dd-mm-yy.txt you can use %d-%m-%y.txt as file name. If hour is included, for example yymmddhh.txt - %y%m%d%H.txt. As time changes system will check different file names. If you need something even more complicated you can call external script to determine part of file name, like this: log-`script.cmd`.txt - it will call script.cmd and use it's output as part of file name.

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

для всякой доп. информации предназначены произвольные атрибуты. Их можно использовать в скриптах, сообщениях, и т.д.

Метрика "Заглушка" (Dummy) используется когда реальные данные получаются в transformation script - по сути используется просто как таймер. Но в последних версиях в таких ситуациях лучше использовать тип параметра "скрипт" и явно указывать скрипт для сбора данных.
#2363
Общие вопросы / Re: SSH subagent
October 20, 2016, 10:03:09 AM
На серверном агенте загружен ssh.nsm?
#2364
Добрый день,

биты и байты не перепутаны? .1.3.6.1.2.1.31.1.1.1.10.306 и .1.3.6.1.2.1.31.1.1.1.6.306 и возвращают значение в байтах, для получения битов/сек надо значение домножить на 8 в transformation script.
#2365
Добавил атрибут lastAgentCommTime - появится в версии 2.1-М2.
#2366
It's definitely unexpected, and it's definitely bug on our side. I'll investigate it further. Thank you!

Best regards,
Victor
#2367
Hi,

~= will replace $1 which is instance on entry with first capture group, but you don't have one, so returning empty string. Server consider empty string as instruction no use original instance. Also, your regular expression is wrong. Something like this should work (didn't actually test it):


// Each line has format
// index addr type macaddr name
if ($1 ~= "[0-9]+ 10\\.200\\.[0-9]+\\.[0-9]+/[0-9]+ [0-9]+ [0-9A-Fa-f]+ (.*)")
{
   return %(true, $1);
}
return false;


This script checks that IP address part starts with 10.200 and extracts interface name as new instance.

Best regards,
Victor
#2368
General Support / Re: Parser file name
October 20, 2016, 09:19:17 AM
no, you can specify multiple <file> tags in parser, but wildcards are not allowed.

Best regards,
Victor
#2369
General Support / Re: Encoding problems
October 20, 2016, 09:15:30 AM
Hi,

UCS-2/UCS-4 file support in log parser still not implemented properly. I'll try to schedule it for 2.1-M2 release.

Best regards,
Victor
#2370
What is server OS version?

Best regards,
Victor