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

#1216
Was it the same with a previous version of NetXMS, or you did not use it before?
This may happen, if your computer is switching from network to network, e.g. from ethernet to wifi. Also try pinging netxms server from your desktop to check that there are no connectivity issues.

There are thought to improve the protocol between management console and the server, one day this should be done, but not very soon.
Also, you can deploy web interface on the server. Communication with the web interface might work better in non-stable network.
#1217
Общие вопросы / Re: Вылетает netxmsd
November 26, 2020, 10:31:56 AM
Стоит помониторить память, потребляемую процессом netxmsd (агентский параметр Process.VMSize) и вообще свободную память. Один из вариантов - oomkiller - штука в линуксе, которая убивает процессы, если в системе заканчивается.
Еще можно запустить netxmsd не через systemctl, а в интерактивном режиме - это когда он лог в консоль пишет
netxmsd -D 5
цифра после D - уровень отладки. При этом netxmsd завершится если отключиться от консоли, нужно или держать соединение, или воспользоваться screen. После вылета посмотреть, может быть в консоли будет какая-то информация.
#1218
When NetXMS server starts, it makes a record in the database to mark that it's locked. This is to avoid another copy of NetXMS server to start on the same database. NetXMS server should remove this mark when it's being terminated, but sometimes, it does not happen.
You can unlock the database by issuing
nxdbmgr unlock
#1219
Something like this happens if lauching the installer directly from Firefox after download. Try running downloaded exe from windows explorer.
#1220
From first glance looks like it's pinging the interface and gets reply:
[19.11.2020 08:41:09]    Starting status poll on interface lte1
[19.11.2020 08:41:09]       Current interface status is NORMAL
[19.11.2020 08:41:09]       Starting ICMP ping
[19.11.2020 08:41:09]       Interface is NORMAL for 3763 polls (1 poll required for status change)

If you open Object Details for lte1 interface, does it has correct IP address? Could it be, that server can ping that address by some other route?

Try collecting server log at debug level 7 for the duration of status poll.
#1221
The DCIs you mention are not collected by SNMP. These are generated by NetXMS server while it's pinging nodes (see https://www.netxms.org/documentation/adminguide/icmp-ping.html#icmp-response-statistic-collection).

There should be some other reason why this router is not showing as down. Could be the correlation mechanism.
1) Show the output of status poll for this node.
2) Try temporarily increasing debug level to 6 or 7 for the server for the moment when this node goes from to down and show server log.
#1222
Please give some more details. Is there NetXMS agent or SNMP on that node?
If there's not, it's the default behavior of NetXMS - it will be pinging the node and showing that it's down.
If yes, would be interesting to know the use-case for that configuration.
#1223
Общие вопросы / Re: Имена узлов.
November 17, 2020, 08:13:24 PM
Что-то такое должно помочь:

sudo apt-get install winbind libnss-winbind

sudo vi /etc/nsswitch.conf
исправить
hosts: files dns
на
hosts: files dns wins

Подробнее тут:
https://askubuntu.com/questions/27541/why-cant-my-machine-resolve-local-windows-hostnames
#1224
The names of parameters changes at some point. A newer template version is shipped, but NetXMS with default settings does not overwrite the templates (with the idea that user could have changed the out of the box templates).
It's Server Configuration setting "ImportConfigurationOnStartup". By default it's "Only missing elements", so you can either delete the template and restart the server (but you will loose DCI history), or you can set it to "Always" and restart the server.

The third option - you can import that template manually (Tools -> Import Configuration), here's the file: https://raw.githubusercontent.com/netxms/netxms/master/contrib/templates/netxms_server.xml
#1225
The issue is fixed and will be available in 3.6 which will be released this week.
#1226
Да, я не очень разбираюсь в Tomcat, но это ж форум, тут любой может высказаться.

Веб интерфейс с какой-то определенной версии NetXMS перестал работать с 7 Tomcat, нужен 8-й. Какая у вас версия NetXMS и что именно вы хотите поставить - web интерфейс или web api - не очень понятно. Ну и в целом - поддержка на Centos 7 гарантированно обеспечивается только для коммерческих клиентов: https://www.netxms.org/documentation/adminguide/installation.html?highlight=tomcat#operating-system
#1227
Веб интерфейс это вот это: https://netxms.org/download/releases/3.5/nxmc-3.5.90.war
а у вас в файлике написано NetXMS REST API - это по идее другя вещь - WEB API.
#1228
With current API we need to set all fields related to propagation to modify anything there:
node = session.findObjectByName("ttt")
if node:
    md = NXCObjectModificationData(node.objectId)

    # copy existing properties
    md.statusPropagationMethod = node.statusPropagationMethod
    md.statusCalculationMethod = node.statusCalculationMethod
    md.fixedPropagatedStatus = node.fixedPropagatedStatus
    md.statusShift = node.statusShift
    md.statusTransformation = node.statusTransformation
    md.statusSingleThreshold = node.statusSingleThreshold
    md.statusThresholds = node.statusThresholds

    # new value
    md.statusPropagationMethod = AbstractNode.PROPAGATE_DEFAULT

    session.modifyObject(md)


Also, it's possible to change propagation setting from NXSL, that should be easier and you can do this e.g. from interface creation hook.

And it's also possible to change what the default settings are - it's set in Configuration -> Server configuration.
#1229
General Support / Re: Log alarms to syslog
November 11, 2020, 11:23:55 PM
There's no out of the box configuration for this. If on Linux you can create a server action that executes logger. There should be something similar for Windows.
#1230
I would create a DCI on that node of type Internal with parameter Dummy. Set custom schedule for this DCI so that it will be collected once per day at some time. In transformation script of this DCI:
return $node->state & NodeState::Unreachable;
This DCI will be 1 if node is unreacheable or 0, if reacheable (or you can modify that in the transformation script).
Then just create a threshold for this DCI and probably a separate event for this.

Alternatively you can use a scheduled task that is calling a script, that would do the same.