Splunk AppDynamics

AppDynamics Node.JS agent on Windows crashes

CommunityUser
Splunk Employee
Splunk Employee

Hi,

I'm trying to use appdynamics agent in a node app, but it silently crashes the entire app when I merely try to require it.

I tried to debug node when it happens and it seems to crash when calling process.dlopen and trying to load the zmq.node module.

Am I doing something wrong?

https://dl.dropboxusercontent.com/u/67294255/requiring_appdynamics.png

Labels (1)
1 Solution

CommunityUser
Splunk Employee
Splunk Employee

Hi,

It's a late reply, but your post helped me solve it 🙂 the trick was installing the zmq package (https://github.com/JustinTulloss/zeromq.node) first.  Without it, the Server 2016 box just ran and instantly quit my node site.  To install zmq you need to install Python first (I installed the 2.7v) and then install an older copy of Visual Studio (Community 2013) to get the MSBUILD tools v2.0.

After Python, VS2013 and zmq it runs fine.  My app is now reporting its telemetry to appdynamics 🙂 

I hope this might help someone else in the future!

Kaylee.

View solution in original post

0 Karma

CommunityUser
Splunk Employee
Splunk Employee

Hi,

It's a late reply, but your post helped me solve it 🙂 the trick was installing the zmq package (https://github.com/JustinTulloss/zeromq.node) first.  Without it, the Server 2016 box just ran and instantly quit my node site.  To install zmq you need to install Python first (I installed the 2.7v) and then install an older copy of Visual Studio (Community 2013) to get the MSBUILD tools v2.0.

After Python, VS2013 and zmq it runs fine.  My app is now reporting its telemetry to appdynamics 🙂 

I hope this might help someone else in the future!

Kaylee.

0 Karma

CommunityUser
Splunk Employee
Splunk Employee

Hi, we had similar issue. After adding require('appdynamics') nodejs process died.

One of our developers had found a solution. 

We were missing MSVCR120.dll, it's part of "Visual C++ Redistributable for Visual Studio 2013".

Adding it resolved issue.

0 Karma
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Why Splunk Customers Should Attend Cisco Live 2026 Las Vegas

Why Splunk Customers Should Attend Cisco Live 2026 Las Vegas     Cisco Live 2026 is almost here, and this ...

What Is the Name of the USB Key Inserted by Bob Smith? (BOTS Hint, Not the Answer)

Hello Splunkers,   So you searched, “what is the name of the usb key inserted by bob smith?”  Not gonna lie… ...

Automating Threat Operations and Threat Hunting with Recorded Future

    Automating Threat Operations and Threat Hunting with Recorded Future June 29, 2026 | Register   Is your ...