Skip to content

Support

5.1k Topics 22.0k Posts

Questions about installing, configuring and using NetXMS.

  • MSSQL error when install in windows server 2008 r2

    2
    3
    0 Votes
    2 Posts
    24k Views
    V
    Hi, do you have mixed authentication mode enabled on SQL server? Best regards, Victor
  • Data Collector queue size

    7
    0 Votes
    7 Posts
    56k Views
    S
    I know this is an old thread but what a difference tuning these values makes!!!!! from around 8000-10000 in the data collection queue to less than 100. The symptoms were timeouts in nxmc when changing anything or even just getting current dci values on a node. So I went looking at the dci's on the server they looked normal or there was not much change since we started using netxms........or at least 2.1RC1.  But we have added a lot of objects lately, so you need to keep an eye on these values.  I increased the value of NumberOfDataCollectors from 20 -> 40 -> 80 ->160 which leveled it off at about 1000.  I finally increased it to 200 and now it seems to be able to keep up. -------------- FYI: netxmsd: sho stat Total number of objects:    38382 Number of monitored nodes:  4535 Number of collectable DCIs:  22988 netxmsd: sho q Data collector                  : 0 DCI cache loader                : 0 Database writer                  : 0 Database writer (IData)          : 0 Database writer (raw DCI values) : 0 Event processor                  : 0 Node poller                      : 0 Syslog processing                : 0 Syslog writer                    : 0 Hope this helps someone.   [image: graph.png]
  • Node or data collection - Comment field in action email

    1
    0 Votes
    1 Posts
    19k Views
    jdowneyJ
    Afternoon I'm been searching High and now and can't find anywhere mentioned. What code do we need to use so can we can see either the data collection comment when threshold mail is sent out or node comment when node down email is sent out. Currently using the following code for action message text - Threshold warning %n \n%a \n%m  \n %t \n Regards John
  • Netxms new install and can't access web interface

    1
    0 Votes
    1 Posts
    20k Views
    N
    Hello, I am a newbie to Centos 7 and netxms. I Followed from previous post. Intall NetXMS on CentOS 6.4 with web frontend These install instructions go through the steps of installing the NetXMS 2 beta with web frontend. Install CentOS 6.4 minimal Set IP and IP info Yum install sshd Chkconfig iptables off Service iptables stop Connect with SSH: Install updates and prerequisites: Yum update yum groupinstall 'Development Tools' yum install wget yum install mysql yum install mysql-server yum install openssl-devel yum install mysql-devel Install NETXMS: wget http://www.netxms.org/download/netxms-2.0-M4.tar.gz tar zxvf netxms* cd netxms* sh ./configure --with-server --with-mysql --with-agent make make install Copy sample config files:     cp contrib/netxmsd.conf-dist /etc/netxmsd.conf     cp contrib/nxagentd.conf-dist /etc/nxagentd.conf Configure MySQL: Chkconfig mysqld on Mysql – u root –p k3yst0n3! CREATE USER 'netxms'@'localhost' IDENTIFIED BY 'k3yst0n3!'; CREATE DATABASE netxms; GRANT ALL ON netxms.* TO netxms IDENTIFIED BY 'k3yst0n3!'; \q Edit Netxmsd config file: nano /etc/netxmsd.conf DBDriver = /usr/local/lib/libnxddr_mysql.so DBServer = localhost DBName = netxms  DBLogin = netxms  DBPassword = k3yst0n3!  LogFile = /var/log/netxmsd LogFailedSQLQueries = yes Edit NXAgentd config file nano /etc/nxagentd.conf     MasterServers = 127.0.0.1, your_server_IP_address Nano /etc/ld.so.conf     ADD LINE:  include /usr/local/lib Ldconfig Create NetXMS database: /usr/local/bin/nxdbmgr init /usr/local/share/netxms/sql/dbinit_mysql.sql Cause NEtXMS to Start NetXMS daemon on Boot: cp contrib/startup/redhat/netxmsd /etc/init.d chmod +x /etc/init.d/netxmsd cp contrib/startup/redhat/nxagentd /etc/init.d chmod +x /etc/init.d/nxagentd chkconfig --add nxagentd chkconfig --add netxmsd Start services: service netxmsd start service nxagentd start Install Java 8 – 64 bit cd /opt/ wget --no-cookies --no-check-certificate --header "Cookie: gpw_e24=http%3A%2F%2Fwww.oracle.com%2F; oraclelicense=accept-securebackup-cookie" "http://download.oracle.com/otn-pub/java/jdk/8u45-b14/jdk-8u45-linux-x64.tar.gz" tar xzf jdk-8u45-linux-x64.tar.gz cd jdk* alternatives --install /usr/bin/java java /opt/jdk1.8.0_45/bin/java 2 alternatives --config java     There are 3 programs which provide 'java'.   Selection    Command ----------------------------------------------- *  1          /opt/jdk1.7.0_71/bin/java  + 2          /opt/jdk1.8.0_25/bin/java   3          /opt/jdk1.8.0_45/bin/java Enter to keep the current selection[+], or type selection number: 3 Install Tomcat7 https://archive.apache.org/dist/tomcat/tomcat-7/v7.0.62/bin/apache-tomcat-7.0.62.tar.gz tar xzf apache-tomcat-7.0.62.tar.gz mv apache-tomcat-7.0.62 /usr/local/tomcat7 Create tomcat startup script in /etc/init.d     #!/bin/bash # description: Tomcat Start Stop Restart # processname: tomcat # chkconfig: 234 20 80 JAVA_HOME=/opt/jdk1.8.0_45 export JAVA_HOME PATH=$JAVA_HOME/bin:$PATH export PATH CATALINA_HOME=/usr/local/tomcat7 case $1 in start) sh $CATALINA_HOME/bin/startup.sh ;; stop) sh $CATALINA_HOME/bin/shutdown.sh ;; restart) sh $CATALINA_HOME/bin/shutdown.sh sh $CATALINA_HOME/bin/startup.sh ;; esac exit 0 Make script execuitable:  chmod 755 tomcat Chkconfig –add tomcat Install NetXMS Web Frontend: wget http://www.netxms.org/download/webui/nxmc-2.0-M4.war cp nxmc-2.0-M4.war nxmc.war cp nxmc.war /usr/local/tomcat7/webapps service tomcat start I followed everything but can't get web interface 127.0.0.0:8080/nxmc/ to open at all. I have no idea were to troubleshoot other than to check firewall does pass traffic. I looked at firewall and opened port 8080 but still no luck. Please looking for any help. Thanks Centos user
  • NXAgent local SQLite database useless when becomes large

    2
    0 Votes
    2 Posts
    32k Views
    B
    Hi, Just to update with progress. After a quick chat with Victor he realized that the indexing of dc_queue table of the SQLite is suboptimal. He had released a new development release of the source which had the optimized indexes here: https://git.netxms.org/public/netxms.git/commit/51e38637be0790e18f0b38318ec3233bab76304c?js=1 We have just updated and so far results seem amazing. At least 5-10x performance increase. Data reconciliation that seemed impossible to catch up before now works like a charm. Also CPU utilization of the machine is very low compared to constant 100% on one of the cores before. We will do some more tests and we'll continue to monitor and post some more feedback. Thanks Victor!
  • NetXMS Core Service does not start

    1
    0 Votes
    1 Posts
    25k Views
    S
    Hi Since yesterday, the "netxms core" service does not start anymore (win10 pro, MySQL, netxms server 2.1-RC1 build 9010) Nxdbmgr OK I tried to start netxmsd with debug D9. Reports the last rows of the log file: [05-Jun-2017 07:49:42] [DEBUG] Successful prepared sync query: "SELECT var_value FROM config WHERE var_name =?" [45 ms] [05-Jun-2017 07:49:47] [DEBUG] ConfigReadStr: name = BlockInactiveUserAccounts value = "0" [05-Jun-2017 07:49:47] [DEBUG] Database Connection Pool: handle 0000000000DEDFF0 released [05-Jun-2017 07: 50: 47.259] [DEBUG] AccountStatusUpdater: wakeup [05-Jun-2017 07: 50: 47.259] [DEBUG] ConfigReadStr: (cached) name = BlockInactiveUserAccounts value = "0" Does anyone have any idea ... Gianni
  • Help create a table of reports

    1
    0 Votes
    1 Posts
    25k Views
    D
    Need a table of reports based on the selected OID, following the example of alarm log Where you can choose the periud and the necessary OID Thank you
  • Is there a way to speed up DataReconciliation sending

    3
    0 Votes
    3 Posts
    31k Views
    A
    Hello Team , Issue is solved. The problem was with the time for the SQLlite select query (it was taking too long 40-50 seconds). It was solved by backing up the local database. separating it in small pieces and import the pieces one by one.
  • 2.1-RC1 Console - slowish

    5
    0 Votes
    5 Posts
    35k Views
    T
    Closing the Alarm Browser makes a huge difference, so for the last few days, we have avoided opening it. Clicking on a container or network in the system with Object Details open can slow it right down again and it does seem to depend on the number of alerts. My guess right now is that loading the alarms is triggering this, maybe adding the zones column is causing some queries to run a lot slower? Some missing index? Not sure if my other issue with "Change Zone" in the GUI not actually moving a device into the matching Zone is related either. (Change zone moving devices into the zone with the Object ID of the Zone selected, instead of the Zone GUID).
  • Netxmsd and Nxagentd does not auto start Centos7

    3
    0 Votes
    3 Posts
    30k Views
    M
    or you can use : file location: /etc/systemd/system/netxms-server.service [Unit] Description=NetXMS Monitoring Server [Service] Type=forking ExecStart=/usr/local/bin/netxmsd -d Wants = mariadb.service [Install] WantedBy=multi-user.target and: file location: /etc/systemd/system/netxms-agent.service [Unit] Description=NetXMS Monitoring Agent [Service] Type=forking ExecStart=/usr/local/bin/nxagentd -d [Install] WantedBy=multi-user.target and after: systemctl enable netxms-server systemctl enable netxms-agent systemctl start netxms-server systemctl start netxms-agent
  • centos 7 installation

    13
    0 Votes
    13 Posts
    66k Views
    N
    Hello I am just looking to add netxms to my toolbag and loaded centos 7 on a server and need some guidance to install netxms software. I am having a problem installing the netxms to the machine. I have never done this in centos. Thanks for any help you can give me.
  • Windows updates

    11
    0 Votes
    11 Posts
    40k Views
    T
    I am guessing that the System.Update.LastInstallTime is based on reading the Windows Update registry value, which Microsoft removed with Windows 10 and Server 2016, i.e. it won't work anymore. The following PowerShell gives you the date of the last successful Windows Update installation (works for me, but knowing when my system last installed updates, the time appears to be in UTC): $updateSearch = (New-Object -ComObject Microsoft.Update.Session ).CreateUpdateSearcher() ($updateSearch.QueryHistory(0,$updateSearch.GetTotalHistoryCount())| ?{$_.ResultCode -eq 2}|Sort-Object -Property Date -Descending).Date|Select -First 1 For some more background into, quoting "https://stackoverflow.com/questions/33732541/powershell-how-to-get-date-of-last-windows-update-install-or-at-least-checked-f": $Session = New-Object -ComObject Microsoft.Update.Session $Searcher = $Session.CreateUpdateSearcher() $HistoryCount = $Searcher.GetTotalHistoryCount() # http://msdn.microsoft.com/en-us/library/windows/desktop/aa386532%28v=vs.85%29.aspx $Searcher.QueryHistory(0,$HistoryCount) | ForEach-Object {$_} This will list all updates which the system tried to install, including a timestamp (which on my system appears to be UTC) and a result code. Those translate to: 0 = Not Started 1 = In Progress 2 = Succeeded 3 = Succeeded With Errrors 4 = Failed 5 = Aborted If a patch failed to install several times, it is supposedly listed several times as well. I cannot confirm that, as I have no failed patches in my list. It also appears that the large cumulative updates like the Creators Update resets the contents of the list. Mine only goes back to said Creators Update. Either way, with a bit of scripting you can return a few more things, like the number of unique patches which have failed to install. I am not sure if the status 0 could be used to determine how many patches the system knows about that are not installed yet.
  • No trap events

    3
    0 Votes
    3 Posts
    15k Views
    N
    Hi, Every setting regarding traps in server config is enabled. Event configuration is ok, Write to Event log is enabled. Nikk
  • Segmentation fault at starting nxagentd

    6
    0 Votes
    6 Posts
    12k Views
    S
    Looks like the linux subagent can only monitor a maximum of 64 cores. I have added it as a bug in the bugtracker https://track.radensolutions.com/issue/NX-1257 Regards, Eriks
  • NetXMS 2.0: Server uses incompatible version of communication protocol!!!

    4
    0 Votes
    4 Posts
    10k Views
    T
    Check the version of the Web UI as shown in the bottom right corner of the logon screen and compare it with the NetXMS server version you are running. If they do not match, you will see this error.
  • Netxms Java WebAPI build problem on Debian Jessie with jdk 7

    5
    0 Votes
    5 Posts
    17k Views
    S
    Great! One of the things that the script does is it updates your local m2 repository to the latest version which is what you needed to be able to build the current WebAPI.
  • [Bug] Invalid Zone ID

    2
    0 Votes
    2 Posts
    15k Views
    T
    Hi, Ok, I am pretty sure I stumbled into a bug in 2.1 with this issue. When I move a node into the "Default" zone, which has Zone ID 0, it does not place the node into that zone. Instead if places it into a different zone with Zone ID 4. "4" happens to be the Object ID of the Default zone (not the Zone ID). Looks like moving zones in 2.1 is linking up the wrong IDs? That also explains the Invalid Zone ID errors we are seeing. Our Object IDs are way higher than any Zone ID we ever assigned, so in almost all cases, it wouldn't be able to find a match at all - hence "Invalid Zone ID". That's a bit of a problem for us right now, as we can't move nodes into the correct zones and nodes we previously tried to move into the Default zone for testing are stuck in a zone they don't belong in. Cheers
  • User access to Dashboard and DCI summary table access

    1
    0 Votes
    1 Posts
    10k Views
    N
    Hi, I am trying to create a user with limited access to a logical pool and a specific Dashboard. I works great to limit it to a logical pool and also to a specific dashboard however the dashboard fails to load due to: "Cannot read data for DCI summary table: Access denied" I have tried all possible and impossible combinations in user access but no luck. How can I give access to read DCI summary tables ? Has anyone successfully created this kind of scenario? NetXms 2.0.8.1 Thanks in advance for all support! Niklas
  • [SOLVED] 2.1RC1 MySQL Database Init Fails

    2
    0 Votes
    2 Posts
    8k Views
    L
    Resolved this on my own, by specifying the character set on the DB create: CREATE DATABASE netxms CHARACTER SET utf8;
  • snmp trap editor v2.0.8 - varbinds

    3
    0 Votes
    3 Posts
    11k Views
    L
    Hi Victor, thank you very much. when do you expect to issue the next stable release ? i want to enjoy aqll the new fixes and new features... Best Regards, Lindeamon