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

#2296
Hi,

agent will re-resolve server name once per hour.

Best regards,
Victor
#2297
General Support / Re: SNMP polls bring down routers
October 24, 2016, 07:49:07 PM
Hi,

for core routers you may try to disable routing table poll - if routing tables are large reading it over SNMP may cause significant load. We also encounter SNMPv3 specific issues on some devices - switching to SNMPv2 solves them.

Best regards,
Victor
#2298
Hi,

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

Best regards,
Victor
#2299
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
#2300
Общие вопросы / Re: vmgr.nsm
October 21, 2016, 01:48:40 PM
Добрый день!

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

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

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

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

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

Best regards,
Victor
#2309
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
#2310
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