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

J

JayST

@JayST
Unfollow Follow
About
Posts
20
Topics
6
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Error installing nxmc 3.8
    J JayST
    Support

    i also ran into this today. Tried to download java but i just did not have the energy to go through the oracle signup mess.
    I uninstalled java 8 and tried to install openjdk 15.0.2 by using chocolatey on Windows. Worked!


  • Grafana datasource problem - only for DCIs
    J JayST
    Support

    ok i just saw a new netxms build and i upgraded the server to 3.0.2284 and web service API using netxms-websvc-3.0.2284.war
    after that, DCI values showed up within grafana graphs. No error 46 anymore.

    Not sure what the fix was, but hey, it works. Happy ;D


  • Grafana datasource problem - only for DCIs
    J JayST
    Support

    I'm using NetXMS v3 and Grafana 6.3.x and succesfully deployed the NetXMS datasource on grafana. It connects to the webapi and is able to show alarms.
    However, DCIs do not show points on the graph. I can select the DCIs but grafana is not able to pull points for the DCI.
    The grafana query to the API returns error 46.

    below is the query inspector result from grafana.
    i found the following wiki page, and statement about java.xml.bind module.
    However, i'm on ubuntu 18.04 , tomcat9 and java 11

    any idea what's wrong? Connectivity and authentication seems right because i do get to see alarms in a grafana table just fine.

    java -version
    openjdk version "11.0.4" 2019-07-16
    OpenJDK Runtime Environment (build 11.0.4+11-post-Ubuntu-1ubuntu218.04.3)
    OpenJDK 64-Bit Server VM (build 11.0.4+11-post-Ubuntu-1ubuntu218.04.3, mixed mode, sharing)

    "If curl test works but grafana returns "Internal error" ({"description":"Internal error","error":46}")
    Add "--add-modules java.xml.bind" to JAVA_OPTS in /etc/default/tomcat8 "

    Link Preview Image
    Web service API - NetXMS Wiki

    favicon

    (wiki.netxms.org)

    Object
    xhrStatus:"complete"
    request:Object
    method:"GET"
    url:"api/datasources/proxy/20/grafana/datacollection"
    data:null
    params:Object
    interval:200
    from:_
    to:_
    targets:"[{"dci":{"id":"945","name":"Inbound traffic on NET_STOR (bits/sec)"},"dciTarget":{"id":"3370","name":"host01.corp.local"},"legend":"","refId":"A","type":"DCI","datasource":"NetXMS"},{"dci":{"id":"946","name":"Outbound traffic on NET_STOR (bits/sec)"},"dciTarget":{"id":"3370","name":"host01.corp.local"},"legend":"","refId":"B","type":"DCI","datasource":"NetXMS"}]"
    response:Object
    description:"'java.util.Iterator org.json.JSONArray.iterator()'"
    error:46
    

  • Create node with physical interface only?
    J JayST
    Support

    @ntnam said in Create node with physical interface only?:

    Thanks you. It's simple.

    if ($1->ifType == 6)
       return true;
    else
       return false;
    

    could you please explain this a bit further? About ifType and how come a value of "6" is what you're looking for?

    edit: nevermind, i found this, explains it i think: https://www.iana.org/assignments/ianaiftype-mib/ianaiftype-mib


  • Deleting Objects interfaces
    J JayST
    Support

    that sums it up quite good! great stuff, thanks.
    with debug console i actually meant the server console from the Tools menu.


  • Deleting Objects interfaces
    J JayST
    Support

    Ok thanks.
    About running such one-time scripts:
    Would i need to create a script in the script library and run it in the debug console with exec command? Or is there a easier “run this script now” functionality?


  • Deleting Objects interfaces
    J JayST
    Support

    I also resolved the (re)addition issue using the Hook::CreateInterfaces script and filter some names there, but what would be the easiest way to remove the unwanted interfaces across a bunch of nodes that got added before filtering?


  • NetXMS 2.1 Windows Agent - No vmgr.nsm?
    J JayST
    Support

    has there been any change regarding the support of vmgr subagent on a windows agent?


  • Tips for multi tenant setup and configuration
    J JayST
    Support

    great stuff! Thanks alot!

    I'm not looking to provide access to customers, so that's not an issue. I should have put that in my post, sorry. Good to see confirmation that providing customer access is not ideal.

    So we'll go for a scenario in which we are the only one configuring the software and the only with access.

    So in your environment, you have EPRs for every customer? Seems logical, as actions differ between customers offcourse.

    I still struggle a bit with the event strategy. for example: What would be use cases to NOT share events between customer but instead create dedicated set of events for a customer?


  • Tips for multi tenant setup and configuration
    J JayST
    Support

    I was wondering if there are some tips that can be shared for configuring NetXMS for a few (<10) small/smb organizations. I already found out about zoning. That's clear. Proxy functionality is also clear to me now.

    Perhaps more on configuratoin topics like:

    • A Template strategy
    • A Policy strategy
    • Mapping customers and nodes to containers/folders
    • A strategy arround Event Policy rules to stay flexible and deal with per-organization requirements and/or SLA's ?
    • A event strategy
    • A action strategy

    I know it all falls into the category "it depends", but there must be some things you ran into that made some changes happen.

    Basically, any do's and dont's available for such a setup  🙂


  • NetXMS Agent on Windows Server - Inputbytes returns not supported
    J JayST
    Support

    yes i created a DCI parameter on the node and selecting the agent as "origin" i then selected the BytesIn. When i do that, it sets it to BytesIn(*). So i did some assumption it would enumerate something.
    All comes down to better understand data collection and instance discovery. I'll read up further.


  • NetXMS Agent on Windows Server - Physical Free memory returns incorrect value
    J JayST
    Support

    ah my bad indeed on the Free vs Available part. classic mistake. sorry. understood.


  • Templates and default DCI on node
    J JayST
    Support

    ahhh ok so they do come from the template orginally. I got confused by the column name being "template" and a node name showing up over there besides the actual template name used. I'll read up a bit more/again using suggested documentation.

    Thanks!


  • Templates and default DCI on node
    J JayST
    Support

    i've attached a screenshot to clarify the DCI items i cannot fully explain.
    I'm not following you on the part "the ones generated on the node based on that {instance} DCI as part of instance discovery".
    Can you elaborate a bit further maybe?


    DCI templates.png


  • Templates and default DCI on node
    J JayST
    Support

    When i add a node (windows server) running an agent and assign a tempalte for DCI's, i can also see some DCI paramters configured on the node itself. When i check the "template" column of the DCI configuration of the node itself, i can see parameters coming from the template definition and the nodename itself.
    Where do the DCI parameters on the node itself come from?


  • NetXMS Agent on Windows Server - Physical Free memory returns incorrect value
    J JayST
    Support

    Using 2.2.16 agent on Windows Server 2016 an incorrect value is returned for System.Memory.Physical.Free . It currently returns values near zero, but the actual value is 6GB at that time as seen from task manager. When i look at task manager and checked used memory, i can see the System.Memory.Physical.Used is returned correctly.

    bug?


    AgentMemory1.png

    AgentMemory2.png


  • NetXMS Agent on Windows Server - Inputbytes returns not supported
    J JayST
    Support

    I'm using an agent on a Windows Server 2016 machine and i'm trying to get Net.Interface.BytesIn(*) as a DCI. When i configure such parameter, I'm getting events from SYS_DCI_UNSUPPORTED.
    Same for BytesOut(*)

    Using latest available agent/server versions. (2.2.16)

    any ideas?


  • SNMP community change not picked up
    J JayST
    Support

    console version is 2.2.16
    server is on 2.2.16-1


  • SNMP community change not picked up
    J JayST
    Support

    1.) i do think i did a restart of the agent, but i'm not 100% sure. Will test it. But just to have the correct default behaviour: changing the snmp community name does not require restart? It should be picked up by the next scheduled/manual poll?
    2.) i'll get the exact version, but i did a fresh install last week on Ubuntu 18.04 , using the repositories. So should be latest available? management console is on Windows, also latest version available.


  • SNMP community change not picked up
    J JayST
    Support

    I'm trying to understand and see if i'm doing something wrong or missing something.

    I've got a Windows machines on a remote site behind a firewall. I made it a Proxy an SNMPProxy succesfully. Tunnel is up, host can be monitored properly from the NetXMS server.
    Now i've added a gateway on that remote site. the gateway needs to be pinged by the proxy machine. This works, So far so good. Manually polling for status works just fine.
    However, i also configured SNMP on the gateway. I've changed the community string after i added the gateway node to the NetXMS console.

    Now my issues:
    1.)
    i configured the gateway node to also have the windows host as its SNMP Proxy. I've changed the SNMP community string within the gateway properties window from "public" to the correct string. I hit apply and try to do a manual poll (configuration poll). This poll failes to get the interface names.
    I did some troubleshooting, all seemed to be fine, the poll just did not work.
    The poll did however start to work instantly when i restarted the windows NetXMS agent service on the Windows proxy. Nothing else, just a restart of the service. After the restart i again hit on poll->configuration and everything came through.
    What am i missing here?

    2.) (minor)
    when i add a node to a container and specify a SNMP proxy host for that node, that SNMP proxy node value is saved OK. However, if i set a ICMP proxy for the node i'm adding, it does not get saved. It defaults to none when i check the properties value of the ICMP proxy after creating the node.

    Thanks.

  • 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