Skip to content

Support

5.1k Topics 22.0k Posts

Questions about installing, configuring and using NetXMS.

  • Logo file location?

    2
    0 Votes
    2 Posts
    7k Views
    V
    Hi, you mean for web interface? It should be relative to the root of application server classpath. Best regards, Victor
  • Agent Silent Install - Download config from server

    2
    0 Votes
    2 Posts
    12k Views
    P
    You can use /CENTRALCONFIG or /LOCALCONFIG to set this (defaults to /LOCALCONFIG). We use "/VERYSILENT /DIR="C:\Program Files\NetXMS" /CENTRALCONFIG /SERVER=hostname_of_netxms_server /NOSUBAGENT=winperf" to do a completely blank install, and then serve the config from the server. Peter
  • Parameters with quotes?

    3
    0 Votes
    3 Posts
    16k Views
    P
    I see what you're doing. Thanks!
  • Netxms WebAPI and Grafana

    4
    0 Votes
    4 Posts
    21k Views
    R
    Hi again, So, I have deployed NetXMS WebAPI with Tomcat 9 instead of Jetty and it doesn't work even with http. I have attached the Catalina log and also Wireshark traces. Tried this with Tomcat 7 and 9. What am I doing wrong? The bellow error is showed : 23-Mar-2018 09:49:52.812 SEVERE [http-nio-9080-exec-12] org.restlet.resource.ServerResource.doCatch Exception or error caught in server resource  org.restlet.resource.ResourceException: Internal Server Error (500) - The server encountered an unexpected condition which prevented it from fulfilling the request     at org.restlet.resource.ServerResource.doHandle(ServerResource.java:527)     at org.restlet.resource.ServerResource.post(ServerResource.java:1341)     at org.restlet.resource.ServerResource.doHandle(ServerResource.java:606)     at org.restlet.resource.ServerResource.doNegotiatedHandle(ServerResource.java:662)     at org.restlet.resource.ServerResource.doConditionalHandle(ServerResource.java:348)     at org.restlet.resource.ServerResource.handle(ServerResource.java:1020)     at org.restlet.resource.Finder.handle(Finder.java:236)     at org.restlet.routing.Filter.doHandle(Filter.java:150)     at org.restlet.routing.Filter.handle(Filter.java:197)     at org.restlet.routing.Router.doHandle(Router.java:422)     at org.restlet.routing.Router.handle(Router.java:641)     at org.restlet.routing.Filter.doHandle(Filter.java:150)     at org.restlet.routing.Filter.handle(Filter.java:197)     at org.restlet.routing.Filter.doHandle(Filter.java:150)     at org.restlet.routing.Filter.handle(Filter.java:197)     at org.restlet.routing.Filter.doHandle(Filter.java:150)     at org.restlet.routing.Filter.handle(Filter.java:197)     at org.restlet.routing.Filter.doHandle(Filter.java:150)     at org.restlet.engine.application.StatusFilter.doHandle(StatusFilter.java:140)     at org.restlet.routing.Filter.handle(Filter.java:197)     at org.restlet.routing.Filter.doHandle(Filter.java:150)     at org.restlet.routing.Filter.handle(Filter.java:197)     at org.restlet.engine.CompositeHelper.handle(CompositeHelper.java:202)     at org.restlet.engine.application.ApplicationHelper.handle(ApplicationHelper.java:77)     at org.restlet.Application.handle(Application.java:385)     at org.restlet.routing.Filter.doHandle(Filter.java:150)     at org.restlet.routing.Filter.handle(Filter.java:197)     at org.restlet.routing.Router.doHandle(Router.java:422)     at org.restlet.routing.Router.handle(Router.java:641)     at org.restlet.routing.Filter.doHandle(Filter.java:150)     at org.restlet.routing.Filter.handle(Filter.java:197)     at org.restlet.routing.Router.doHandle(Router.java:422)     at org.restlet.routing.Router.handle(Router.java:641)     at org.restlet.routing.Filter.doHandle(Filter.java:150)     at org.restlet.routing.Filter.handle(Filter.java:197)     at org.restlet.engine.CompositeHelper.handle(CompositeHelper.java:202)     at org.restlet.Component.handle(Component.java:408)     at org.restlet.Server.handle(Server.java:507)     at org.restlet.engine.connector.ServerHelper.handle(ServerHelper.java:63)     at org.restlet.engine.adapter.HttpServerHelper.handle(HttpServerHelper.java:143)     at org.restlet.ext.servlet.ServerServlet.service(ServerServlet.java:1117)     at javax.servlet.http.HttpServlet.service(HttpServlet.java:741)     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231)     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)     at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)     at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:199)     at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96)     at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:494)     at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137)     at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)     at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:651)     at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:87)     at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343)     at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:407)     at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66)     at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:754)     at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1376)     at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)     at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)     at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)     at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)     at java.lang.Thread.run(Thread.java:748) Caused by: java.net.ConnectException: Connection refused: connect     at java.net.DualStackPlainSocketImpl.waitForConnect(Native Method)     at java.net.DualStackPlainSocketImpl.socketConnect(DualStackPlainSocketImpl.java:85)     at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350)     at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206)     at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188)     at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:172)     at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)     at java.net.Socket.connect(Socket.java:589)     at org.netxms.client.NXCSession.connect(NXCSession.java:1805)     at org.netxms.client.NXCSession.connect(NXCSession.java:1778)     at org.netxms.websvc.handlers.AbstractHandler.login(AbstractHandler.java:375)     at org.netxms.websvc.handlers.Sessions.onPost(Sessions.java:78)     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)     at java.lang.reflect.Method.invoke(Method.java:498)     at org.restlet.resource.ServerResource.doHandle(ServerResource.java:508)     ... 63 more 23-Mar-2018 09:49:52.849 INFO [http-nio-9080-exec-12] org.restlet.engine.log.LogFilter.afterHandle 2018-03-23 09:49:52 10.2.56.130 status 10.3.57.29 9080 POST /webapi/sessions - 500 56 0 1206 http://10.3.57.29:9080 Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/65.0.3325.181 Safari/537.36 http://mydomain:8080/datasources/edit/12 Thank you, Raoul [image: 12.PNG]
  • Agent polling issues

    6
    0 Votes
    6 Posts
    31k Views
    I
    The problem appeared again when someone did a restart on the pc, The agent is up, i can telnet on the port but imideately it closes the connection, while on another pc which I can poll data the connection remains on when I telnet. I did a configuration full poll and the problem still remains. [20.03.2018 12:45:52] **** Poll request sent to server **** [20.03.2018 12:45:52] Poll request accepted [20.03.2018 12:45:52] Starting configuration poll for node XXX PC [20.03.2018 12:45:52] Capability reset [20.03.2018 12:45:52] Checking node's capabilities... [20.03.2018 12:45:52] Checking NetXMS agent... [20.03.2018 12:45:52] Capability check finished [20.03.2018 12:45:52] Checking interface configuration... [20.03.2018 12:45:52] Unable to get interface list from node [20.03.2018 12:45:52] Interface "unknown" is no longer exist [20.03.2018 12:45:53] Interface configuration check finished [20.03.2018 12:45:53] Checking node name [20.03.2018 12:45:53] Node name is OK [20.03.2018 12:45:53] Finished configuration poll for node XXX PC [20.03.2018 12:45:53] Node configuration was not changed after poll [20.03.2018 12:45:53] **** Poll completed successfully **** EDIT: on agent debug it says connection from x.x.x.x rejected 2nd edit: the problem was the DNS resolving on netxms agent I had as Master server the dns and the pc could not resolve it. I added also the IP and the issue resolved for now
  • Calculate monthly data usage? Persistent for device reboots?

    1
    0 Votes
    1 Posts
    16k Views
    M
    Is there a way to have a DCI show daily/weekly/monthly usage? And also not lose track of usage if the device reboots and interface counters get reset to 0 Ideally i'd like separate graphs that can show each usage period I think a way to do this would be to have 3 separate DCI's, each of them copy data from the main interface DCI, then average values for an hour and then store it. But when the month starts at 500gb and ended up at 700gb it would show 700gb of usage, not 200gb. And also if the router rebooted a few times the counters are going to keep resetting to 0 so the calculations would be very wrong Is there a built in command to assist with this? A plugin? Or does anyone have math formula's to make it work?
  • [TUTORIAL]NetXMS GPON ONU monitoring template

    1
    0 Votes
    1 Posts
    18k Views
    I
    Hello All, https://youtu.be/WXl9mDfTDAs https://lasiszm.wordpress.com/2018/03/19/netxms-monitoring-of-gpon-onus/ 2018-03-16-dasan.xml
  • Monitor multiple devices using SNMP on one public IP with NAT

    12
    0 Votes
    12 Posts
    56k Views
    R
    Hi Any news about this request?
  • Cannot Delete Nodes

    2
    0 Votes
    2 Posts
    16k Views
    T
    Hi, I believe that can happen if a device is scheduled for removal, but hasn't actually been removed from the database yet. In memory, it will be gone (hence you can't see it in the Console), but it is still in the database (causing conflicts when you try to re-add the node). The syncer thread which runs every minute by default should write updates to the database, but I guess it could be running into problems. Try setting debug for obj.sync and sync to 7 and watch the NetXMS server logs after you delete the object. To enable debug open the NetXMS Server Console and enter "debug obj.sync 7" and "debug sync 7". An example of a deletion gone wrong from our logs: Object 120.150.216.0/24 [205198] marked for deletion Unable to delete object with id 205198 because it is being referenced 8 time(s) In our case the above was removed after about an hour (we run the syncer every 5 minutes), presumably because the references were eventually removed. Cheers
  • Slow netxmsd shutdown

    1
    0 Votes
    1 Posts
    9k Views
    J
    Hello, I am a newbie to netxms and have a problem with server shutdown - it takes more than 20 minutes to stop the system. It looks like pollers are stopped about 20 minutes of other activity. Any ideas? Thank you very much. Jan NetXMS Server V2.2.4 Build 9506 (UNICODE) Ready netxmsd: down Proceeding with server shutdown... 2018.03.13 21:06:19.885 *I* NetXMS Server stopped ... 2018.03.13 21:06:20.758 *D* SNMP Trap Receiver terminated but the netxmsd process actually terminates after 20 minutes of other activity. 2018.03.13 21:27:28.649 *D* Thread pool POLLERS destroyed 2018.03.13 21:27:28.649 *D* PollManager: main thread terminated ... 2018.03.13 21:27:57.571 *D* Thread pool MAIN destroyed 2018.03.13 21:27:57.572 *D* Server shutdown complete I have the same behavior both on Windows and Linux (server built from source).
  • Value of SNMP OID lost in SNMP WALK Screen

    3
    1
    0 Votes
    3 Posts
    16k Views
    M
    Thanks for your reply I'm using 2.2.3 I will try the upgrade as soon as possible.
  • 2.1M3 Mqtt support

    9
    0 Votes
    9 Posts
    30k Views
    B
    пытаюсь проверить работу netXMS с брокером mqtt. При старте агента сообщение: Error loading subagent module mqtt.nsm": ?? ??????? ????????? ?????????. файл mqtt.nsm есть, по другим нет ошибок. Версия 2.2.4 под windows 7. Подскажите пожалуйста, что может быть не так?
  • Deleted a Proxy Server and Cannot re-add it.

    3
    0 Votes
    3 Posts
    14k Views
    T
    I recall seeing this issue in the past, when I removed a node from a zone, then tried to move another node into the same zone and both nodes had the same IP. The system had not actually updated the database yet and kept telling me the IP already exists. Could take quite a while, but this usually resolved itself (or I grew impatient, restarted the service and tried again). Haven't seen this in a while though. We're running 2.2.4. If you are running an older version, there may have been changes/fixes regarding this behaviour? If you have an unreferenced object, you probably need to shutdown the NetXMS service and run nxdbmgr check to clean that up. Not sure if you can safely delete the object straight from the database without leaving leftovers somewhere.
  • Node Down Alarm & Email Notification not raised

    2
    0 Votes
    2 Posts
    10k Views
    T
    I don't think the system "queues" alerts during maintenance and upon leaving maintenance checks which ones are still valid. For all I recall maintenance mode simply stops alerts from going out. Result in your case: NetXMS will detect the change from Up to Down. As the devices are in maintenance mode at the time, the alert won't be sent. As the status then doesn't change (i.e. it stays down) there is no alert. I think the repeat interval will eventually trigger a new alert, but that could be a while.
  • Update from 2.0.8 to 2.2.3 or newer

    3
    0 Votes
    3 Posts
    13k Views
    M
    Hello, thank you. I upgraded our netXMS instance without any problems
  • ThresholdRepeatInterval Does't work with scripts as Threshold

    3
    5
    0 Votes
    3 Posts
    14k Views
    L
    Thanks. As you said. It worked in version 2.2.4.
  • Reporting Server

    3
    2
    0 Votes
    3 Posts
    20k Views
    S
    Hi Alex, I am trying to monitor my network devices using snmp and NetXMS and setup reports and email alerts. I have successfully installed NetXMS server 2.2.4 with MySQL on Windows 2012 server. I downloaded the Reporting server (netxms-reporting-server-2.2.4.zip) and was trying to follow the steps given in the admin guide (https://www.netxms.org/documentation/netxms-admin.pdf) but got stuck in the middle. I am not able to find any of the definitions or scripts for creating additional tables as mentioned in the admin guide. I need your help to complete the reporting server installation. regards, Sudin T.R.
  • SSH subagent - using an alternative port (code/example)

    1
    0 Votes
    1 Posts
    13k Views
    meshnetM
    looking at the 2.2.x source code in ./netxms/src/agent/subagents/ssh in here, the handlers.cpp file defines the remote SSH port 22. Also here are a group of parameters passed into H_SSHCommand() I am interested in variable/pointer set with this function _tcschr(hostName, _T(':')); /** * Generic handler to execute command on any host */ LONG H_SSHCommand(const TCHAR *param, const TCHAR *arg, TCHAR *value, AbstractCommSession *session) { TCHAR hostName[256], login[64], password[64], command[256]; if (!AgentGetParameterArg(param, 1, hostName, 256) || !AgentGetParameterArg(param, 2, login, 64) || !AgentGetParameterArg(param, 3, password, 64) || !AgentGetParameterArg(param, 4, command, 256)) return SYSINFO_RC_UNSUPPORTED; UINT16 port = 22; TCHAR *p = _tcschr(hostName, _T(':')); if (p != NULL) { *p = 0; p++; port = (UINT16)_tcstoul(p, NULL, 10); } We understand from documentation and from forums to use SSH.Command() -- Is anyone using the alternative port feature? I assume it should be used in DCI collection for Data Parameter (as an SSH origin) with this example: SSH.Command(100.64.45.218:1916,tiger,lemur,"cat /tmp/run/stats/wireless.json") Is this accurate? a packet trace reveals port 22 is used ... The command above works for ./bin/nxget but not for DCI collection. For that, i simply enter the command "cat /tmp/run..." but nxms connects to port 22
  • AWS agent

    2
    0 Votes
    2 Posts
    18k Views
    V
    Did you add firewall rule? You can run agent with debug level 6 and check if there are incoming connections at all, and if there is any, why they are not accepted. Best regards, Victor
  • Multiple 404s on Download Page

    4
    0 Votes
    4 Posts
    23k Views
    S
    Issue still exists for a number of links. Eg: https://www.netxms.org/download/releases/2.2/2.2.4/netxms-2.2.4-x64.exe.asc results in 404