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

#1186
General / Re: Admins Group membership
February 12, 2021, 03:56:22 PM
Which exactly version are you installing? Is it from packages or you compiled?
#1187
General Support / Re: node status
February 10, 2021, 05:18:42 PM
In NetXMS alarms that are present on a node affect node status.

Looks like your EPP does not have a rule to automatically terminate node down alarm when node comes back up (see screenshot of default EPP configuration on that).
#1188
General Support / Re: node status
February 10, 2021, 04:18:52 PM
What's currently in alarms for this node (right click on node -> alarms)?
#1189
General Support / Re: Web Service DCI howto?
February 09, 2021, 02:56:56 PM
netsvc should not be required for web services. It should be present in netxms-agent package, please check output of
dpkg-query -L netxms-agent
If its not there, what is the version of OS?

No, nxget, nxaction, nxwsget do not support tunnel connection - they attempt to connect to agent directly.
#1190
А какая точно версия NetXMS?

Можно на лету поднять ненадолго уровень дебага до 7 уровня:

nxadm -c "debug 7"

и попробовать отправить письмо. Потом опустить дебаг обратно

nxadm -c "debug 0"

Возможно, в логе будет что-то интересное.

Еще, как вариант, поснифить обмен с 25 портом на localhost с помощью Wireshark.

#1191
У меня не получилось повторить. Какая точно версия? Можете проверить на самой свежей 3.7?
Проявляется только в трансформационном скрипте, или если на ноде сделать Execute Server Script, то там тоже? Что именно в $1?
#1192
I've created an issue for this feature https://track.radensolutions.com/issue/NX-2003, but it might take quite a while until developers get to this.


#1193
Видимо что-то поменялось в языке. По документации SecondsToUptime принимает целый агрумент, так что можно округлить:

SecondsToUptime(round($1/100))
#1194
It's recommended to connect using mysql client, not 3rd party software, as heidisql is crashing here.
https://dev.mysql.com/doc/refman/5.7/en/mysql.html

It all looks like some issue with MySQL, possibly the database is corrupted. May be you can find some useful information here: https://stackoverflow.com/questions/25039927/database-corruption-with-mariadb-table-doesnt-exist-in-engine

If you have backup, I would suggest to restore from it.
Also, we generally find Postgres more reliable (if you decide to go this way, nxdbmgr allows to migrate between database engines).
#1195
General Support / Re: Web Service DCI howto?
February 05, 2021, 04:13:43 PM
A possible way to debug here is nxwsget command line app that is included with the server. This way you can isolate, whether the problem is on agent or on the server side. E.g.:
nxwsget 127.0.0.1 http://api.open-notify.org/astros.json number
#1196
Can you check in MySQL if "nodes" table exists?

Did you also upgrade MySQL itself? Can you check, if there are any errors in MySQL log file?
#1197
General Support / Re: Nodes missing from console
February 04, 2021, 02:04:57 PM
One possible option is that there is an issue with access right to these nodes. Try enabling "system" user
nxdbmgr reset-system-account
(it's password will be "netxms"). This account has access rights to all objects in the system. Could be that the nodes will be visible (may be in the root of object tree).
#1198
Для последней версии nxmc требуется 11 java (это требование фреймворка, на котором собирается nxmc)
#1199
General Support / Re: Parsing DCI instance discovery name
February 04, 2021, 12:27:29 PM
You can modify instance name and display name in instance discovery filter script by supplying them in array that script returns. Just open "Hint" in filter script editor, it has the necessary information. Here's an example script:

m = $1 match "(.+)\[.+\]";
if (m) {
  return( %(true, m[1]) );
}
else
{
  return false;
}


First line matches instance against a regex. The regex has one capture group which returns anything that is prior to [.
If regex got matched we can get this capture group as first element of array m.
#1200
Just in case, it's possible to read port forwarding database from NXSL - it's available in Topology.SwitchForwardingDatabase internal table. There's no access to L3 routing information yet, but it's planned to add https://track.radensolutions.com/issue/NX-1999