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

Messages - lweidig

#76
General Support / [SOLVED] GeoLocation function not found
December 20, 2018, 05:37:38 AM
Running a script like the one at:
https://wiki.netxms.org/index.php?title=Script_Example:_Setting_node_geolocation_from_SNMP&mobileaction=toggle_view_desktop

Gives an error on the GeoLocation line with function not found.  We are running 2.2.10.  How do we correct this?
#77
Announcements / Re: NetXMS 2.2.4 released
March 01, 2018, 03:31:53 PM
Thanks!  The Android client does not point to a valid download at this point.
#78
Announcements / Re: NetXMS 2.2.3 released
February 06, 2018, 03:47:26 PM
Interested in the possibilities this might allow for:

QuoteFile I/O functions in NXSL (disabled by default)

Is there any documentation regarding the functions and their use.  Did a quick search, but have not found anything.  Thanks!
#79
General Support / Re: Agent Shared Secret Max Length
January 16, 2018, 08:27:18 PM
As an update, though would like confirmation it appears 30 characters is the limit for the shared secret.
#80
General Support / Agent Shared Secret Max Length
January 16, 2018, 07:33:31 PM
There seems to be a max length for the agent shared secret, at least if you are using nxencpasswd -a to encrypt it (and maybe without have not tried).  We have successfully used a password that is 19 characters long, but fails with 32 character long passwords.

What is the limit and can you please update the Wiki / Admin guides to show this limit so that others are not spending time having longer passwords fail.  Thanks!
#81
General Support / Re: Templates reset?
January 02, 2018, 09:18:50 PM
I was burned by this as well a number of times.  Seems like the default on this should be the OPPOSITE to me.  After an initial import I am not sure why you would want this resetting everything each time anyhow.

Victor can you consider changing this default or explain why you might want it importing on every server restart?

Thanks!
#82
General Support / Automated Agent Configuration
December 22, 2017, 03:45:57 AM
We have written a script which can analyze a server and determine the services that we care to monitor on that device which then updates the node.  Following that templates apply to the node to then start monitoring these services.  The issue we are having is how to push agent configuration changes to the servers based on what we find AUTOMATICALLY. 

As an example:

Server 1 has ssh, https and radius running
Server 2 has ssh and https

We have files that typically go into the nxagent.conf.d for each of these services that have ExternalParameters, Actions,...  At this point we have not found any automated way of getting these to the client.  Yes, I know you can push configurations but that only seems to allow for an ENTIRE configuration to be pushed, not just the components needed.  Thought about going about this using Policies but does not seem to be any way to automatically install / update them.

Looking for suggestions on how to automate this process.  Pretty much want it to find a new node on the network and completely set it up for monitoring after the agent is setup.

Thanks!
#83
Announcements / Re: NetXMS 2.1.2 released
November 06, 2017, 03:16:39 PM
Android agent link is not working as well as the console.  Thanks!
#84
Announcements / Re: NetXMS 2.1.1 released
September 19, 2017, 09:46:45 PM
Yes, working as expected.  Thanks!
#85
Announcements / Re: NetXMS 2.1.1 released
September 14, 2017, 03:41:04 PM
The mobile agent link (https://www.netxms.org/download/netxms-mobile-agent-2.1.1.apk) is not working for this release.
#86
General Support / Re: Retrieve data FROM NetXMS
August 19, 2017, 04:54:02 PM
So no easy way to get data from NetXMS???  Possible to just grab last poll information straight from database?  Are schemas available somewhere?
#87
General Support / Retrieve data FROM NetXMS
August 16, 2017, 05:30:21 AM
I am looking for a way to grab data FROM NetXMS that it has collected for display in a web application that is primarily Javascript based.  Installed the Web REST api and have it working to get node based information, but cannot figure out a way to get DCI information which is what I really want.

What suggestions do people have for polling data that NetXMS is storing? 
#88
This is using an updated agent though correct that will be part of 2.1.1?  We will try once it is available.
#89
Thanks for the quick reply and confirmation of issue.  Hopefully fixed in 2.1.1 as well.  Appreciate the effort!
#90
I have tried installing the agent again on the same device.  It did indeed ask for the 3 permissions and seems to be capable of running now without crashing the phone.  THANKS!

However, no matter what settings I try I cannot get it to connect with my server.  Have tried server by name and IP address, verified port is open and retyped username / password both in agent and server WAY too many times.  Always getting access denied.  Tried enabling debugging on server:

[03-Aug-2017 08:08:54.089] [DEBUG] [MDSN-128] Received message CMD_GET_SERVER_INFO
[03-Aug-2017 08:08:54.089] [DEBUG] [MDSN-128] Sending message CMD_REQUEST_COMPLETED
[03-Aug-2017 08:08:54.147] [DEBUG] [MDSN-128] Received message CMD_REQUEST_ENCRYPTION
[03-Aug-2017 08:08:54.147] [DEBUG] [MDSN-128] Sending message CMD_REQUEST_SESSION_KEY
[03-Aug-2017 08:08:54.262] [DEBUG] [MDSN-128] Received message CMD_SESSION_KEY
[03-Aug-2017 08:08:54.269] [DEBUG] [MDSN-128] Sending message CMD_REQUEST_COMPLETED
[03-Aug-2017 08:08:54.332] [DEBUG] [MDSN-128] Received message CMD_LOGIN
[03-Aug-2017 08:08:54.333] [DEBUG] [MDSN-128] Mobile device object with device ID "3561660XXXXXXX" not found
[03-Aug-2017 08:08:54.334] [DEBUG] [MDSN-128] Sending message CMD_LOGIN_RESP
[03-Aug-2017 08:08:54.383] [DEBUG] [MDSN-128] readThread: message receiving error (MSGRECV_CLOSED)
[03-Aug-2017 08:08:54.384] [DEBUG] [MDSN-128] Session closed


This is the deviceId of the agent trying to connect.  The user that is setup to connect has the following rights assigned:


  • Register agents
  • External tool integration account
  • Login as mobile device
Not sure if any additional rights are needed. 


Also, any ETA on 2.1.1 so we have a working console as well? 

Thanks for all the efforts and assistance, it is appreciated!