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 - Filipp Sudanov

#841
So yes, if you manually configure custom attribute with same name on a child node, this overrides the value which is being inherited from a parent container.

User interface was a bit reworked, so in version 4.0 that is about to be released soon it should be easier to understand what custom attribute is defined locally and what is inherited.
#842
The logic with custom attribute is the following. Say we have 3 levels of hierarchy:

|__A
     |__B
          |__C

Say we define an inheritable custom attribute on A. It will populate to B and C.

We can then redefine (override) the same custom attribute on B (by editing it) and give it a new value. That new value will also be populated to node C.

The tricky part is that UI is quite confusing here. A custom attribute that comes inherited from a parent node is displayed on gray background in the list.
When redefined, it is displayed on white. When redefined, it still displays a node in "Inherited from" column, but it has meaning "if you delete redefined custom attribute here, a value will come from that node".

We will discuss internally how the UI could be improved on this.
#843
Ну нет, какого-либо стандарта xml файлов между системами мониторинга нет. В NetXMS есть экспорт большинства вещей из конфигурации в XML - шаблонов, событий, правил EPP. Но Zabbix это совершенно другая система построенная на других идеях, так что эти данные туда не заимпортить.

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

Можно полюбопытствовать о причинах перехода на Zabbix?
#844
What is the exact version of NetXMS?
#845
Выделить подсети в Active Discovery Targets и нажать Scan
#846
Обнаружение сделано так, что проверяется, отзывается ли устройство на пинг, по SNMP или по протоколу нашего агента. 80 порт сейчас не проверяется.

Коммутаторы вероятно должны отзываться по SNMP, если у них community string отличный от public то его нужно прописать в Configuration -> Network Credentials
#847
Да, сейчас там получилось что он показывает последнее время пинга, когда нода была доступна. На 10000 переделывать не хочется, по-хорошему нужно будет добавить новое состоянеие DCI - этакую полуошибку. https://track.radensolutions.com/issue/NX-2023
#848
Общие вопросы / Re: Мониторинг APC
December 25, 2021, 11:49:44 AM
Для дебага эту строчку можно переписать так:

trace(0, "$1: " . $1)
o = FindObject($1);
trace(0, "Found object: " . o->name);
transport = o->createSNMPTransport();

здесь мы сначала проверим, что в $1 есть название или ID объекта а потом проверим, что FindObject действительно смог найти объект. А $1 вообще откуда в вашем скрипте должне был присвоен? Если это configuration poll, то там выставляются $node и $object и надо так:

transport = $node->createSNMPTransport();
#849
Try DCF_DISABLE_CONF_POLL  instead
#850
Фильтр по адресу должен быть 192.168.0.0/16

В логе сервера информацию можно увидеть по тегам poll.discovery и obj.poll.node

nxadm -c 'debug poll.discovery 6'
nxadm -c 'debug obj.poll.node 6'
#851
На какой OC запущен сервер? Если на линуксе, под root? Покажите, плс, как выглядят настройки в Configuration -> Network discovery.
Можно взять tcpdump / wireshark, посмотреть уходят ли пакеты при сканировании.
#852
Yes, you can create a script DCI. Scripts are written using NXSL language, there's support for snmpget and snmpwalk. Here's a simple example, pls inform if you need more information on how to write a script
https://www.netxms.org/documentation/nxsl-latest/#_read_snmp_value_from_node
#853
Общие вопросы / Re: Мониторинг APC
December 10, 2021, 04:45:51 PM
В capabilites кроме младшего бита, который isSNMP могут быть взведены еще какие-то биты. Поэтому лучше проверять накладывая битовую маску бинарным and:
if ($node->capabilities & 0x00000001)

Пример чтения значения по SNMP есть тут: https://www.netxms.org/documentation/nxsl-latest/#_read_snmp_value_from_node


#854
General Support / Re: node status
December 09, 2021, 11:25:44 AM
So I believe the interfaces are keeping the node in critical. What happened when you tried to set them to "Ignore"? Some error message? SQL error messages in server log? What if you delete these interfaces and do configuration poll - is it possible to edit them then?
#855
General Support / Re: node status
December 08, 2021, 02:07:38 PM
For this node:
- does it has any alarms?
- does it has any interfaces in critical state?