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

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

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

SubAgent = ssh.nsm
#2343
В скриптах можно получить доступ через функцию GetCustomAttribute, в сообщениях - через макрос %{attribute}. На дашборд напрямую вывести нельзя, надо делать метрику.
#2344
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
#2345
Добрый день,

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

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

биты и байты не перепутаны? .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.
#2348
Добавил атрибут lastAgentCommTime - появится в версии 2.1-М2.
#2349
It's definitely unexpected, and it's definitely bug on our side. I'll investigate it further. Thank you!

Best regards,
Victor
#2350
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
#2351
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
#2352
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
#2353
What is server OS version?

Best regards,
Victor
#2354
General Support / Re: nxshell snmp vaules
October 20, 2016, 09:01:48 AM
Currently it's not possible. I've added request for context support in data collection as feature request (https://dev.raden.solutions/issues/1325).

Best regards,
Victor
#2355
General Support / Re: Interface list is missing
October 20, 2016, 08:58:55 AM
Hi,

could you please post result of walk on .1.3.6.1.2.1.2?

Best regards,
Victor