Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (Flatly)
  • No Skin
Collapse
Brand Logo

NetXMS Forum

SashS

Sash

@Sash
Unfollow Follow
About
Posts
8
Topics
3
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Filtering Script on Event Processing Policy request value from other dci
    SashS Sash
    Support

    Hi Filipp.

    thanks for your reply.

    $1 is current DCI value - this is matched to the "Eingehende Fehlerrate" DCI - but I need the value from the "Port Speed auf x/x/x"
    So I can´t use $1 in this script.

    DCI Template:

    Data Collection in Node:

    right?


  • Filtering Script on Event Processing Policy request value from other dci
    SashS Sash
    Support

    Hi Filipp,

    sorry for the late response. Thanks for the example.

    I use it now in Threshold Script.
    The Script

    1 dciDescription = "Port Speed auf 1/1/3";
    2 portSpeed = GetDCIValueByDescription($node, dciDescription);
    3
    4 if (portSpeed->contains("HD")) return true;
    5
    6 return false;

    is working - but everytime I restart the NetXMS Server I get an Error about the Script:

    Script (DCI::xxx - xxx::10165::12568::ThresholdScript) execution error: Error 14 in line 4: Function or operation argument is not an object

    Where´s my Misstake?

    Thanks for your Help.


  • Filtering Script on Event Processing Policy request value from other dci
    SashS Sash
    Support

    Hi all,

    I have a Event Processing Policy which send me an Alarm If a Networkinterface has more than 5 Errors / min. 
    Now I want to filter that a Alarm is only generated when the Interface is not on halfduplex mode.

    For both I have set a DCI.

    Unfortunally I have no Idea how I can match the other DCI in the Filterscript...

    Some Ideas?

    Thanks a lot.


    DCI.jpg


  • Grafana - connection impossible
    SashS Sash
    Support

    I´ve installed NetXMS 4.2.395, webui 4.2.398, Grafana 9.3.1. and the NetXMS Plugin 1.2.3 on the same Windows Server 2019.
    I never used Grafana before.
    Now I tried to connect to NetXMS with Grafana but get an error "HTTP error Gone"
    The api is shown in the Browser correctly, The User is memebr of NetXMS admin Group
    Could someone help me here?


    Grafana.jpg

    API.jpg


  • Java SubAgent and OPC UA
    SashS Sash
    Support

    Thanks Alex.


  • WebUI 4.2: HTTP ERROR 404. Problem accessing /.
    SashS Sash
    Support

    @alk said in WebUI 4.2: HTTP ERROR 404. Problem accessing /.:

    Hello.

    Since 4.2 web UI require servlet API version 4 (but not version 5!), and jetty9 does not support that. Looks like we forgot to update it in windows installer.

    Simplest solution is to install either Jetty10 or Tomcat9 as a standalone product and deploy war file there.

    Did you update the Windows installer in the next days, or did I have to use the Jetty or Tomcat alternative for the future?


  • Java SubAgent and OPC UA
    SashS Sash
    Support

    Thanks a lot Alex!
    The Agent is loaded now.
    Could you please explain me, where I have to define the OPC UA Servers, and how I could connect to them and get data?

    Here is my Log:
    2022.09.20 09:27:31.565 *D* [                  ] Initializing Java subagent
    2022.09.20 09:27:31.565 *D* [                  ] JAVA: Default JVM: C:\Program Files\Eclipse Adoptium\jdk-17.0.4.101-hotspot\\bin\server\jvm.dll
    2022.09.20 09:27:31.565 *D* [                  ] JAVA: using JVM C:\Program Files\Eclipse Adoptium\jdk-17.0.4.101-hotspot\\bin\server\jvm.dll
    2022.09.20 09:27:32.035 *D* [java.runtime      ] JavaBridge: Java VM created
    2022.09.20 09:27:32.136 *D* [                  ] Java SubAgent created
    2022.09.20 09:27:32.136 *D* [                  ] SubAgent.loadPlugin(opcua.jar)
    2022.09.20 09:27:32.151 *D* [                  ] Loading plugin file "C:\NetXMS\lib\java\opcua.jar"
    2022.09.20 09:27:32.220 *D* [                  ] Java plugin OPCUA (com.radensolutions.netxms.agent.opcua.OpcUaPlugin) loaded
    2022.09.20 09:27:32.220 *D* [                  ] JAVA: subagent initialization started
    2022.09.20 09:27:32.220 *D* [                  ] JAVA: exception in plugin OPCUA initialization handler: org.netxms.agent.PluginInitException: OPCUA servers not defined
    2022.09.20 09:27:32.220 *D* [                  ] JAVA: subagent initialization completed
    2022.09.20 09:27:32.220 *I* [subagents          ] Subagent "JAVA" (java.nsm) loaded successfully (version 4.1.420)


  • Java SubAgent and OPC UA
    SashS Sash
    Support

    Could someone explainme how to use Java Subagent to get Informations from OPC UA please?
    I have configured my nxagentd.conf on the NetXMS Server, and Oracle Java 1.8 is installed.:

    #
    # NetXMS agent configuration file
    # Created by agent installer at ********
    #

    MasterServers = *******
    ConfigIncludeDir = C:\NetXMS\etc\nxagentd.conf.d
    LogFile = C:\NetXMS\log\nxagentd.log
    FileStore = C:\NetXMS\var
    SubAgent = portcheck.nsm
    SubAgent = ssh.nsm
    SubAgent = winperf.nsm
    SubAgent = wmi.nsm
    SubAgent = java.nsm

    [JAVA]
    Plugin = opcua.jar

    Seems that the Java Subagent is not loaded...

  • Login

  • Don't have an account? Register

  • Login or register to search.
Powered by NodeBB Contributors
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups