NetXMS Support Forum

Please login or register.

Login with username, password and session length

Author Topic: NetXMS crashing when adding ssh as data source  (Read 162 times)

Egert143

  • Newbie
  • *
  • Posts: 14
    • View Profile
NetXMS crashing when adding ssh as data source
« 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
Logged

Egert143

  • Newbie
  • *
  • Posts: 14
    • View Profile
Re: NetXMS crashing when adding ssh as data source
« Reply #1 on: June 11, 2019, 07:55:38 am »

Nobody using ssh as data source ? :(

Egert
Logged

Victor Kirhenshtein

  • Lead Developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 6589
    • View Profile
Re: NetXMS crashing when adding ssh as data source
« Reply #2 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
Logged

Egert143

  • Newbie
  • *
  • Posts: 14
    • View Profile
Re: NetXMS crashing when adding ssh as data source
« Reply #3 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
Logged

Victor Kirhenshtein

  • Lead Developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 6589
    • View Profile
Re: NetXMS crashing when adding ssh as data source
« Reply #4 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
Logged

Egert143

  • Newbie
  • *
  • Posts: 14
    • View Profile
Re: NetXMS crashing when adding ssh as data source
« Reply #5 on: June 12, 2019, 03:23:28 pm »

Logged

Egert143

  • Newbie
  • *
  • Posts: 14
    • View Profile
Re: NetXMS crashing when adding ssh as data source
« Reply #6 on: June 14, 2019, 11:10:52 pm »

Any ideas why netxms is crashing with ssh as data source?
Logged