NetXMS Support Forum

English Support => General Support => Topic started by: Egert143 on June 10, 2019, 11:13:49 AM

Title: NetXMS crashing when adding ssh as data source
Post by: Egert143 on June 10, 2019, 11:13:49 AM
Hello

Trying to collect some data via ssh. Device being polled is mikrotik router where i have made a script that returns needed value. tested it with putty "system script run Script1" returns number.

Now when i try to add new parameter to be monitored i select ssh as source and "system script run Script1" as parameter. and when i click ok, netxms tryes to poll it (end device never revices any requests) and after few seconds netxms core service stops. i also have added ssh credentials to node and ip access from netxms to end device is permited.

Any ideas?

Egert
Title: Re: NetXMS crashing when adding ssh as data source
Post by: Egert143 on June 11, 2019, 07:55:38 AM
Nobody using ssh as data source ? :(

Egert
Title: Re: NetXMS crashing when adding ssh as data source
Post by: Victor Kirhenshtein on June 11, 2019, 01:44:11 PM
What version and on what platform you are running? Windows minidump or Linux core file would be extremely helpful to debug.

Best regards,
Victor
Title: Re: NetXMS crashing when adding ssh as data source
Post by: Egert143 on June 11, 2019, 02:19:44 PM
Version:
NetXms: 2.2.15.2
Management Console: 2.2.15

Platform is Win 7 pro

How can i make windows minidump ?

Egert
Title: Re: NetXMS crashing when adding ssh as data source
Post by: Victor Kirhenshtein on June 12, 2019, 11:00:44 AM
Add line

CreateCrashDumps = yes
DumpDirectory = some dir

to netxmsd.conf. Server then should generate minidumps after crash in directory you have specified.

Best regards,
Victor
Title: Re: NetXMS crashing when adding ssh as data source
Post by: Egert143 on June 12, 2019, 03:23:28 PM
Crashdump: https://fil.email/dpJhSYgW

Egert
Title: Re: NetXMS crashing when adding ssh as data source
Post by: Egert143 on June 14, 2019, 11:10:52 PM
Any ideas why netxms is crashing with ssh as data source?