News:

We really need your input in this questionnaire

Main Menu
Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Topics - JayST

#1
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 "


https://wiki.netxms.org/wiki/Web_service_API




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
#2
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  :)
#3
General Support / Templates and default DCI on node
August 10, 2019, 02:51:29 PM
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?
#4
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?
#5
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?
#6
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.