Skip to content

Support

5.1k Topics 22.0k Posts

Questions about installing, configuring and using NetXMS.

  • Hints on NXSL for acquiring list of ReponsibleUsers' email address

    2
    0 Votes
    2 Posts
    9k Views
    F
    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; }
  • Automatically re-discover credentials after polling failure?

    4
    0 Votes
    4 Posts
    27k Views
    V
    What if you run full configuration poll on it manually? Also, do this node respond to ping or it is only accessible via SNMP? Best regards, Victor
  • 0 Votes
    6 Posts
    40k Views
    V
    You can encode such password with nxencpasswd tool. For example: nxencpasswd dbuser dbpass#123 will produce string MKGI20iIOABe/NdxPN/ZMjCyW8ng20jLMLJbyeDbSMs= which you can use as value for DBPassword parameter. Best regards, Victor
  • Syslog Monitoring

    2
    0 Votes
    2 Posts
    26k Views
    A
    It's in the database, table config_clob. You can query it with: SELECT var_value FROM config_clob WHERE var_name='SyslogParser'
  • Debug console missing from NXMC after upgrade to 3.7

    6
    0 Votes
    6 Posts
    42k Views
    B
    Hi, Thanks guys, i confirm that it was using Java 8 and that was the problem. After installing OpenJDK11 it worked.
  • NetXMS Agent - possible memory leak

    2
    1
    0 Votes
    2 Posts
    27k Views
    F
    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?
  • Duplicate entries for software_inventory

    5
    1
    0 Votes
    5 Posts
    44k Views
    2
    Sounds reasonable - thanks... However changing the name column to nvarchar did not help. I guess you already convert the charset before sending it to the database... I will just wait for the bugfix..
  • Set Web Console server IP

    4
    0 Votes
    4 Posts
    36k Views
    A
    @victor said in Set Web Console server IP: File nxmc.properties should be placed anywhere in class path. For Tomcat 9 good choice will be shared class path, by default it is $CATALINA_BASE/lib (unless redefined by the common.loader property in $CATALINA_BASE/conf/catalina.properties). You can find more details on Tomcat 9 class loader here: https://tomcat.apache.org/tomcat-9.0-doc/class-loader-howto.html. Best regards, Victor Thank you so much! I'm not sure why I struggled to gather that from the installation manual, looking back at it after reading what you said its clear as day haha. Thank you again!
  • Millisecond resolution in NXSL

    3
    0 Votes
    3 Posts
    32k Views
    J
    Awesome! Thanks so much!
  • Disable Discovery of Attached Prefix

    4
    0 Votes
    4 Posts
    32k Views
    V
    For zoned environments probably the only way is to use filtering script that will check allowed ranges per zone. Mapping tables or custom attributes on zone objects can be used to store allowed or forbidden ranges. But in general I think we need per zone address range filters, probably implemented as zone object properties. Best regards, Victor
  • v3.7 cannot disable Network Discovery

    3
    1
    0 Votes
    3 Posts
    30k Views
    V
    Most likely server processes already queued discovery tasks. Restart of netxmsd should fix it. Best regards, Victor
  • docker image on dockerhub info

    4
    0 Votes
    4 Posts
    40k Views
    M
    It has been 5 Years since I created the first netxms docker image and publish it on docker hub, now it is time to update from old debian jessie to buster and server to 3.8. I do this image and publish it on docker hub, https://hub.docker.com/repository/docker/madmucho/netxms In this time there are plenty of docker images of netxms in dockerhub repository, i must say i inspire from many of them but many of them is obsolete and dont fit my needs Main news in 3.8 tag and current latest is that image is put to supervisord control, long running container needs from time to time upgrade some config and packages, make some tweaks, supervisord allow all configured services make changes on fly, start/stop them with no need to reboot container itself. If you want you can try to use it, test it and let me know you opinion. Idea of this image is make basic netxms server available fast, image keeps clean and minimalistic, do not take necessary dependencies to base image (not webui, not mta, no docker compose necesary) and allow You to make all this changes if you want them. Tested on portainer, synology docker package, vps hosting as swarm node. And at end, i was able to upgrade my old 2.0.2 server instance schema/data to 3.8 just using change netxmsd.conf and mariadb tables ROW_FORMAT=DYNAMIC. Cheers  ;D
  • 0 Votes
    1 Posts
    25k Views
    B
    Hello, we recently upgraded to v3.7, but noticed very wierd and unfortunately very destructive behavior. The nodes keep changing their primary hostname without human intervention. The new address is some of the addresses of the nodes, but that completely breaks our monitoring. Is that expected behaviour and how can we disable it? It is completely ruining our monitoring and other support processes. Obviously we have set "Prevent automatic SNMP configuration changes", but that does not help. [image: changeip1.png] [image: changeip2.png] [image: changeip3.png]
  • How to disable new peer for interface notifications

    7
    0 Votes
    7 Posts
    56k Views
    B
    Victor, that seems to have done it... not sure how it became empty, but it's all quiet now. Thanks!
  • : error: libpcre32 is requred. netxms server installation on redhat 6.7

    1
    0 Votes
    1 Posts
    22k Views
    R
    I hope you  could help me I'm trying to install netxms server version 3.6.252 in Red Hat Enterprise Linux Server release 6.7 (Santiago) x86_64. I'm using a tar.gz file. The command configure that I use is: sh ./configure --prefix=/home/oasisadm/Netxms_server/netxms-3.7.116 --with-server --with-odbc --with-oracle --with-nxhttpd --enable-encyption --with-openssl --without-curl the system send me the next message after to use the comand ./configure  is checking whether iconv supports UTF-16... yes checking whether iconv supports UCS-4-INTERNAL... no checking whether iconv supports UCS-4... yes checking whether iconv supports UCS4... yes checking whether iconv supports UCS-4BE... yes checking whether iconv supports UCS-4LE... yes checking whether iconv supports UTF-32... yes checking whether iconv supports //IGNORE... yes checking whether iconv supports state reset... yes checking for iconv declaration... checking pcre.h usability... yes checking pcre.h presence... yes checking for pcre.h... yes checking for pcre_compile in -lpcre... yes checking for pcre32_compile in -lpcre32... no configure: error: libpcre32 is requred. I was looking for the files of pcre library and these realy are in my system: /usr/lib/libpcre.so.0.0.1 /usr/lib/libpcre.so.0 /usr/lib64/libpcre.so.0.0.1 /usr/lib64/libpcre.so.0 /usr/lib/libpcreposix.so.0.0.0 /usr/lib/pkgconfig/libpcre.pc /usr/lib/pkgconfig/libpcrecpp.pc /usr/lib/libpcrecpp.so.0.0.0 /usr/lib/libpcre.so /usr/lib/libpcrecpp.so /usr/lib/libpcrecpp.so.0 /usr/lib/libpcreposix.so /usr/lib/vmware/libpcre.so.1 /usr/lib/libpcreposix.so.0 /usr/lib64/libpcreposix.so.0.0.0 /usr/lib64/pkgconfig/libpcre.pc /usr/lib64/pkgconfig/libpcrecpp.pc /usr/lib64/libpcrecpp.so.0.0.0 /usr/lib64/libpcre.so /usr/lib64/libpcrecpp.so /usr/lib64/libpcrecpp.so.0 /usr/lib64/libpcreposix.so /usr/lib64/libpcreposix.so.0 /usr/local/pcre/libpcre.so.1 /usr/local/pcre/libpcre32.so.0 /usr/local/pcre/libpcrecpp.so /usr/local/pcre/libpcrecpp.so.0 /usr/local/pcre/libpcre.so.1.2.3 /usr/local/pcre/libpcreposix.so /usr/local/pcre/libpcre16.so.0.2.3 /usr/local/pcre/libpcre16.so.0 /usr/local/pcre/libpcre32.so.0.0.3 /usr/local/pcre/8.35/lib64/libpcre.so.1 /usr/local/pcre/8.35/lib64/libpcre32.so.0 /usr/local/pcre/8.35/lib64/libpcre.so.1.2.3 /usr/local/pcre/8.35/lib64/libpcre16.so.0.2.3 /usr/local/pcre/8.35/lib64/libpcre16.so.0 /usr/local/pcre/8.35/lib64/libpcre32.so.0.0.3 looking for in different support pages where mentions a similar problem of pcre library. Proposes use --with-pcre=/path in command ./configure, in my case was: sh ./configure --prefix=/home/oasisadm/Netxms_server/netxms-3.7.116 --with-server --with-odbc --with-oracle --with-nxhttpd --enable-encyption --with-openssl --without-curl --with-pcre=/usr --with-pcre32=/usr oor with options like: --with-pcre=/usr/lib/ --whith -pcre32=/usr/local/pcre/8.35/ and other combinations, and other combinations, but the result is same. Otra solución propuesta fue agregar la ruta de los archivos pcre en una variable de entorno, por ejemplo en LD_LIBRARY_PATH. But unfortunately the result is same. Also I uninstalled the pcre package and install again the package but I could not obtain another result. I don't know if its the version of netxms, or my system or the pcre package. I hope you could help me please
  • 0 Votes
    11 Posts
    70k Views
    Z
    Thanks Filipp! If you need any additional details or a guinea pig for testing, just let me know. We're really starting to get deep into NetXMS and the more we use it, the more we're amazed.  Great work.
  • No output from AgentExecuteActionWithOutput

    1
    0 Votes
    1 Posts
    25k Views
    J
    Server environments: Instance 1 = v3.8.166 on Ubuntu Bionic (AgentExecuteActionWithOutput doesn't work) Instance 2 = v3.4.313 on Ubuntu Xenial (AgentExecuteActionWithOutput works) When executing nxsl script against Instance 1 environment, and running the following command, I get no output.  This has been a thing for a while (going off my poor memory, I'm sure it used to work, but I don't think it has since 3.6ish? but I could be wrong and maybe it's never worked...) println(AgentExecuteActionWithOutput($node, "echo test")); This should print out "test". When running this against our Instance 2 environment, I get the expected result (i.e. it prints out "test"). This could be a agent config or setting somewhere but struggling to find it. Both servers have almost the same nxagentd.conf execpt for the MasterServers settings. Both have the following nxagentd.conf # Log File LogFile=/var/log/nxagentd # IP white list, can contain multiple records separated by comma. # CIDR notation supported for subnets. MasterServers=<redacted>,127.0.0.0/8 SubAgent = filemgr.nsm [filemgr] RootFolder = / And when running the nxagentd -C on the working server instance, it does not contain any extra agent settings that might have been applied by agent policies. Any ideas?
  • NetXMS forward traps to higher NNM server in the hierarchy

    3
    0 Votes
    3 Posts
    29k Views
    C
    It seems to me that I will still have to write a script outside of the NetXMS to forward the incoming traps. Anyway, many thanks Victor for the reply
  • How to create dci that compares values of two other dci ?

    2
    0 Votes
    2 Posts
    23k Views
    V
    Hi, I would create script DCI that will read last known values of two other DCIs and return two distinctive values for match and not match. Then set threshold on it as usual. Best regards, Victor
  • dashboard link colour by status updates only when network map opened

    5
    0 Votes
    5 Posts
    29k Views
    N
    Confirm its fixed in the latest patch. Thanks again.