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

#1051
Попробуйте, плс, 3.8.226, вроде бы недавно были какие-то оптимизации с картами.
Что с загрузкой CPU на машине, где запущена консоль?

2. на этот счет есть план какое-то время сохранять недоступные узлы на карте. Создал issue чтоб разработчики не забыли: https://track.radensolutions.com/issue/NX-2030
#1052
General Support / Re: How Netxms reads lldp data?
March 23, 2021, 12:39:27 AM
It's being read by SNMP. No additional configuration should be necessary, if it can get something from a device via SNMP, it should be able to get topology data.
There is a separate type of polling called Topology poll. You can try briefly setting debug level to 6 on the sever and running topology poll for a node - in the log you should see what exactly it's reading from the device.
#1053
Hi!

Here's an example of such script:
global emails = "";

sub parseGroupsOrUsers(arr)
{
  for (i : arr)
  {
    if (i->isGroup)
    {
      parseGroupsOrUsers(i->members);
    }
    else
    {
      if (i->email != "")
      {
        if (emails != "") emails = emails . "; ";
        emails = emails . i->email;
      }
    }
  }
}

parseGroupsOrUsers($node -> responsibleUsers);
println(emails);


In NetXMS users groups can contain not only users, but also user groups, hence the script is recursive.

Here's a not-yet-documented way to print all attributes and values of responsible users/gropus:
for (r : $node->responsibleUsers)
{
  for(a : r->__class->attributes)
     println(a . " = " . r->__get(a));
  println;
}
#1054
The intended behavior of NetXMS is the following:
- on each configuration poll we are checking, if we can comminicate with the same community string, as before
- if we can not, then search sequence is started - first using snmp v3, then with v2c and 1 we try the community strings listen in Network credentials.
- If working snmp community is found, it's updated into properties of the node.

So it should be able to restore communication if community name is changed on the device.
Check if "Prevent automatic SNMP configuration changes" is not set in node properties.
Share output of configuration poll after community name change on a node.
#1055
It's advised to upgrade your system - current version is 3.8. There could have been changes since 3.5 that would fix this issue.

Would this behavior countinue in 3.8, try partially disabling DCIs to isolate ones that are causing the issue.

BTW, do you have any external parameters / providers where agent would be calling some other commands?
#1056
I will try to replicate this next week, no need for the issue for now. BTW, we don't use github tracker much, issues are tracked in track.radensolutions.com/
#1057
General Support / Re: UTF-8 in syslog
February 23, 2021, 07:52:22 PM
Currently on windows it's sending in encoding specified in control panel - language for non-unicode programs.

We plan to make configuration option that would turn on UTF-8 sending - progress can be tracked in this issue
https://track.radensolutions.com/issue/NX-2013
#1058
General Support / Re: Error installing nxmc 3.8
February 23, 2021, 11:22:09 AM
We plan to pack a JRE along with the console to simplify all this.
#1059
General Support / Re: UTF-8 in syslog
February 22, 2021, 07:32:09 PM
You mean when setting log file as syslog, right? (LogFile = {syslog})
#1060
Replicated that. It's related to interface loading optimization that was done a few versions ago - information about all interfaces is not being loaded on console start to make the startup faster.
#1061
В следующем релизе планируется паковать нужную версию JRE вместе с nxmc
#1062
The report engine used is Jasper Reports: https://en.wikipedia.org/wiki/JasperReports

An example of report could be found, e.g., in this forum message: https://www.netxms.org/forum/general-support/reporting-server-4315/msg20117/#msg20117
#1063
General Support / Re: Web Service DCI howto?
February 17, 2021, 07:19:45 AM
For Debuan/Ubuntu the best practice is to install and upgrade by means of OS package manager (apt / apt-get). There are tools to automate deployment of packages like Puppet, Chef, etc.

Installing using apt and upgrading from NetXMS Package Manager should not be done - location of binary/configuration/log file could be different and there'll be mess on the target system.
#1064
Попробуйте 3.8, она вышла только что
#1065
Еще можно указать в nxmc.ini:

-vm
/usr/lib/jvm/java-11-openjdk-amd64/bin/java

Опция -vm должна быть после других опций Eclipse ( -product, --launcher.* и т.д.), но до -vmargs т.к. они напрямую передаются в JVM.
https://wiki.eclipse.org/Eclipse.ini