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

#3136
Hi,

you miss <event> tag in your parser - so there is nothing to send. You should create new event and your parser should look like this:

<parser trace="9">
  <file>*System</file>
  <rules>
    <rule>
      <match>(.*)</match>
      <event params="1">MY_EVENT</event>
    </rule>
  </rules>
</parser>

Best regards,
Victor
#3137
Hi,

if you do not specify config file in command line, both agent and server will look into /<install prefix>/etc and only then in /etc - so if you build with default prefix /usr/local it will check /usr/local/etc first.

Best regards,
Victor
#3138
Да, планируется. Уже даже коллектор есть :)
#3139
Internal DCI на ping time работает не совсем так, как агентский - если нода недоступна, то возвращается ошибка сбора данных. Можно повесить threshold на data collection error.
#3140
Еще можно пробовать увеличивать кол-во сэмплов в настройке DCI типа "performance counter".
#3141
Скорее всего уже есть объект подсети с маской /8. Попробуйте его удалить и сделать configuration poll.
#3142
Можно добавить свой custom attribute на таких интерфейсах и в скрипте проверять - если он выставлен, то ничего не делать.
#3143
Я бы сделал опять-таки скриптовый DCI и в нем вытаскивал бы через walk все процессоры и считал среднее.
#3144
Пока нет такой возможности. Я добавил как feature request: https://dev.raden.solutions/issues/814
#3145
А что это за нода? SNMP устройство или сервер с агентом?
#3146
Общие вопросы / 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'ы - а устройство судя по всему ожидает вот этот двойной индекс.
#3147
Общие вопросы / Re: Alert in NXSL
April 28, 2015, 10:12:59 AM
В 2.0-М4 будет класс Alarm и функция для поиска активных алармов.
#3148
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
#3149
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
#3150
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