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

#1606
In the SQL query output that you sent above you can see lines like this:
<formatString>%*s</formatString>
%*s should be replaced to some other format, where letter comes right after % character.

NetXMS server should be stopped when editing the database.
Care should be taken when editing the database, it's recommended to do database backup prior to editing.

Alternatively you can wait when NetXMS 3.1 will be out - hopefully this will happen by the end of next week.
#1607
General Support / Re: v3 templates alerts
October 25, 2019, 05:45:50 PM
In Server configuration parameters there's a parameter called ImportConfigurationOnStartup. By default it's set to "Only missing elements". In this mode, server imports default templates only if such template is not present in the system. Import happens on each server startup. If template is present, server does not overwrite it.
This means that you can modify the template and it will not get overwritten. If you delete it, it will get recreated on next server startup.
#1608
Currently $dci is not supported when a script is called from event processing. For SYS_THRESHOLD_EVENTs DCI ID is passed as 5-th parameter of $event:

trace(1, "Script on SYS_THRESHOLD_EVENT: DCI ID: ".$event->parameters[5]+0);
trace(1, "Script on SYS_THRESHOLD_EVENT: DCI name: ".GetDCIObject($node,($event->parameters[5]))->name);
trace(1, "Script on SYS_THRESHOLD_EVENT: Interface name: ".GetDCIObject($node,($event->parameters[5]))->relatedObject->name);
#1609
Yes, I just tested a SYS_NODE_DOWN event and it made sound in the Android app.
Do you have alarm generation configured in Event processing policy for your event?
#1610
Server console is not analyzing double quotes - enquoted arguments are just passed to the script as string having quotes on both ends, that's why it's not matching.
#1611
In android app in settings -> Alarms there is section "Customize alarms by severity". If you click, e.g. critical alarms there, you can select sound for that severity level. By default it is set to "Silent".
#1612
Hi!

The first thing to check is if netsvc subagent is loaded on the agent that is performing the check.
It's the concept of NetXMS that agent performs only a part of checks and many checks are done by subagents that have to be congigured in agent configuration file: https://www.netxms.org/documentation/adminguide/agent-management.html#agent-configuration-files
#1613
А какая сейчас выдача при полном запросе конфигурации ноды?
#1614
What happens, if you restart management console? If you restart netxms server?
#1615
Общие вопросы / Re: Icmp.PacketLoss()
October 18, 2019, 04:20:52 PM
Можно попробовать для этих двух хостов собирать данные с помощью Icmp.Ping() и дальше результаты как-то обрабатывать на сервере.
Еще можно, конечно, поднять ради них вторую копию агента на другом порту.
#1616
General Support / Re: Locked myself out
October 18, 2019, 03:18:49 PM
You can enable system user from the command line, for that:
1) stop netxms server
2) run
nxdbmgr reset-system-account
3) login specifying user system and password netxms
4) enable admin back
5) disable system user
#1617
Должно быть так:
[18.10.2019 12:20:17]    Checking NetXMS agent...
[18.10.2019 12:20:17]    NetXMS native agent is active

проверяйте есть ли связь, файрвол и т.д.
на сервере можно запустить telnet <адрес_агента> порт
если связь есть, то он должен поключиться и показать черный экран
#1618
Пришлите весь текст, что консоль пишет, когда делаете полный опрос конфигурации.
#1619
Currently NetXMS does not support this. In Postgres terms the thing you need is called search path - it defines in which schemas Postgres will search for a database with a give name.
One (complicated) way could be to add -csearch_path option to the connection function in /src/db/dbdrv/pgsql/pgsql.cpp

But it looks like it's possible to specify default search path in Postgres for each user - some information could be found here: https://stackoverflow.com/a/49930672
#1620
Общие вопросы / Re: Icmp.PacketLoss()
October 17, 2019, 06:33:19 PM
Имеется в виду, вероятно, пингование с помощью субагента. Там можно задать параметры работы в конфиг файле агента: https://www.netxms.org/documentation/adminguide/icmp-ping.html#configuration-file
Таймаут лучше сделать меньше, чем получится интервал между пингами, иначе когда нода не будет отвечать, то пингов в минуту получится меньше, чем когда она отвечает.