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

#1321
С конфигом все хорошо, он в UTF-8. Значит под Windows русские имена сейчас не поддерживаются, нужно править код.
#1322
CodePage - он Linux specific.
Я имею в виду именно кодировку файла.
Можете приложить сюда конфиг (убрав в нем пароли). Именно приложить как файл.
#1323
А у конфига NetXMS кодировка какая - UTF-8 или что-то другое? Должна быть UTF-8, иначе русские буквы потеряются уже на этапе чтения конфига.
#1324
General Support / Re: Data Collection Table and regex
August 24, 2020, 02:32:55 PM
If I understand you correctly, you are trying to use a Table DCI and fill it in with data.
Did you consider using summary tables - it's a way to show a DCI from multiple nodes in table format. https://www.netxms.org/documentation/adminguide/visualisation.html#summary-table
#1325
NetXMS ожидает, что конфиг имеет кодировку UTF-8. Проверьте, что это именно так.

На какой ОС все это происходит?
Если под линуксом, то можно попробовать в конфиге агента поставить CodePage=UTF-8 (ну или надо уточнять, в какой кодировке Postgres готов получать имя базы, может быть вместо UTF-8 должно быть что-то другое)

#1326
So you are deleting also from EPP?
If you are deleting from NXSL, do you delete like this:
WritePersistentStorage("key1", NULL);
#1327
На сейчас это решается тремя правилами в EPP.
- Первое создает аларм и ставит сообщение на отправку с задержкой
- Второе имеет фильтр-скрипт на входе, срабатывает только если таймер уже истек и посылает сообщение об отмене
- Третье отменяет аларм и таймер
#1328
In addition - a good practice is to use expandString function, e.g.
key = $event->expandString("TIMER_DC_THRESHOLD_%I_%<dciId>");

in this case you just use the same string with macros as when specifying timer key, so there's no need to compose the key manually.
#1329
В принципе возможно добавить права доступа на сводные таблицы. Сделал ишшую на это: https://track.radensolutions.com/issue/NX-1939
#1330
General Support / Re: TP-Link Help
August 14, 2020, 01:58:28 PM
The issue is not with interfaces - netxms does not receive anything via SNMP from this device.
Please check if your community string is set up in Configuration->Network Credentials.

For testing you can also use snmp command line tools on the machine where you have NetXMS installed, e.g.:
nxsnmpwalk -v 2c -c public <device_ip> .1.3.6
#1331
То есть получается, что юзер в списке сводных таблиц таблицу видит, но если в нее заходит, то там нет ни одной строчки?
#1332
У сводных таблиц нет никаких особых прав доступа - это просто форма отображения DCI, имеющихся на нодах. Если есть право чтения на ноду то и данные от этой ноды будут видны в таблице.
#1333
There was one thing we missed - after recompiling --with-mariadb --with-mariadb-compat-headers, database driver in netxmsd.conf should have been updated, but mysql.ddr was left there.
The correct configuration is:

DBDriver = mariadb.ddr

P.S. pls disable system user in netxms - it's currently enabled.

#1334
Документация по NXSL сейчас постепенно переезжает сюда: https://www.netxms.org/documentation/nxsl-latest/#func-sendmail

Я так понимаю, что емейл в этом случае должен быть полноценным html документом, вот например: https://litmus.com/community/snippets/107-a-basic-html-email-boilerplate

Ссылки указываются с <link href=...
#1335
Sent you a PM.

Meanwhile - it's recommended to check netxms log for *E* and *W* messages - there is one SQL query error, which is not related to issue discussed here, we will have a look. And there's also a warning about autobind script.