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

#3121
Скорее всего уже есть объект подсети с маской /8. Попробуйте его удалить и сделать configuration poll.
#3122
Можно добавить свой custom attribute на таких интерфейсах и в скрипте проверять - если он выставлен, то ничего не делать.
#3123
Я бы сделал опять-таки скриптовый DCI и в нем вытаскивал бы через walk все процессоры и считал среднее.
#3124
Пока нет такой возможности. Я добавил как feature request: https://dev.raden.solutions/issues/814
#3125
А что это за нода? SNMP устройство или сервер с агентом?
#3126
Общие вопросы / Re: 1.2.17 & 2.0-M3 SNMP
April 28, 2015, 09:51:20 PM
Проблема в том, что это устройство использует нестандартную индексацию интерфейсов. По стандарту ветка .1.3.6.1.2.1.2.2.1.2 (ifTable) должна индексироваться через ifIndex, это один integer. В данном случае у нас два значения:

.1.3.6.1.2.1.2.2.1.2.6270.2 [STRING]: TB006270 eth1

здесь индех 6720.2. Сервер берет 2 как индекс интерфейса, но он потом повторяется с другим значением предпоследнего индекса. Поэтому и пересечения. Единственный вариант - сделать драйвер для таких устройств - правда все равно могут быть проблемы с опросом статусов интерфейсов - поскольку сервер будет подставлять индекс интерфейса в стандартные OID'ы - а устройство судя по всему ожидает вот этот двойной индекс.
#3127
Общие вопросы / Re: Alert in NXSL
April 28, 2015, 10:12:59 AM
В 2.0-М4 будет класс Alarm и функция для поиска активных алармов.
#3128
Hi,

try to restart server after you mark interfaces. There may be a bug that keeps interfaces in internal indexes even after you set exclude from topology option.

Best regards,
Victor
#3129
General Support / Re: Delay alarms
April 20, 2015, 03:32:48 PM
Hi,

then solution could be different. You can leave poll count for status change at 1, and create script based DCI which will return 1 if node is down and 0 if not. Then you can create threshold which will fire if value is 1 for at least 5 polls, and send notification based on that threshold's event. Script could be like this:


return ($node->runtimeFlags & 0x0004) ? 1 : 0;


More information about Node class can be found here: https://wiki.netxms.org/wiki/NXSL:Node.

Best regards,
Victor
#3130
Authentication settings in agent config and in node properties should match - either enable it on both sides or disable on both sides. In this log it seems that you turn off authentication on agent but enable it in node properties.

Best regards,
Victor
#3131
You have to apply patch to proxy agent as well, because server uses ping subagent on proxy to ping nodes in remote zones.

Best regards,
Victor
#3132
Communications is ok now, you won't get any difference with or without authentication. Do you see any difference in status poll? Also, what version you are using?

Best regards,
Victor
#3133
You have set RequireAuthentication to yes in agent config. Did you set correct shared secret in node properties? Also, try to turn off authentication in agent config and in node properties.

Best regards,
Victor
#3134
Я бы предложил сделать скриптовый DCI, который SNMP walk'ом находит индекс ppp0, и затем считывает значение через snmp get. Как вариант, если интерфейс меняетя не очень часто - индекс брать из объекта интерфейса (находить его по имени) - он будет обновлятся во время configuration poll.
#3135
Я не уверен что проблема в индексах - в логе опроса пишет "Unable to get interface list from node". А capabilities не поменялись? Configuration poll скорее всего именно capabilities выставляет.