# The APM Agent can give a offline packges to down?

**URL:** <https://discuss.elastic.co/t/the-apm-agent-can-give-a-offline-packges-to-down/103170>\
**Category:** APM\
**Created:** [October 9, 2017, 2:50am UTC](https://discuss.elastic.co/t/the-apm-agent-can-give-a-offline-packges-to-down/103170 "2017-10-09T02:50:06Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![zqc0512](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/zqc0512/32/32141_2.png) [@zqc0512](https://discuss.elastic.co/u/zqc0512)\
**Post date:** [October 9, 2017, 2:50am UTC](https://discuss.elastic.co/t/the-apm-agent-can-give-a-offline-packges-to-down/103170/1 "2017-10-09T02:50:07Z")

</div>

the APM Agent can give a offline packges to down ,not online.  
thanks!

---

<div class="post-metadata">

**Author:** ![ruflin](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ruflin/32/3116_2.png) [@ruflin](https://discuss.elastic.co/u/ruflin)\
**Post date:** [October 9, 2017, 6:26am UTC](https://discuss.elastic.co/t/the-apm-agent-can-give-a-offline-packges-to-down/103170/2 "2017-10-09T06:26:18Z")

</div>

I'm not sure I fully understand the question. Are you asking what an APM agent will do if the APM Server is down?

---

<div class="post-metadata">

**Author:** ![zqc0512](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/zqc0512/32/32141_2.png) [@zqc0512](https://discuss.elastic.co/u/zqc0512)\
**Post date:** [October 9, 2017, 6:44am UTC](https://discuss.elastic.co/t/the-apm-agent-can-give-a-offline-packges-to-down/103170/3 "2017-10-09T06:44:24Z")

</div>

the now apm agent is use node install ,  
but when not connect to the network ,only in LAN network, how install the amp server and node.js client?  
thanks..  
@ruflin

---

<div class="post-metadata">

**Author:** ![roncohen](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/roncohen/32/22881_2.png) [@roncohen](https://discuss.elastic.co/u/roncohen)\
**Post date:** [October 9, 2017, 9:00am UTC](https://discuss.elastic.co/t/the-apm-agent-can-give-a-offline-packges-to-down/103170/4 "2017-10-09T09:00:11Z")

</div>

Hi @zqc0512!

Thank you for your interest in Elastic APM!

You can download APM Server for offline installation here: [https://www.elastic.co/downloads/apm/apm-server](https://www.elastic.co/downloads/apm/apm-server)  
There is both a tarball, deb and rpm files.

Is this the first Node.js application you are running in the restricted environment? Do you have other applications in other languages running there already? Or are you just starting out?

---

<div class="post-metadata">

**Author:** ![zqc0512](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/zqc0512/32/32141_2.png) [@zqc0512](https://discuss.elastic.co/u/zqc0512)\
**Post date:** [October 9, 2017, 9:06am UTC](https://discuss.elastic.co/t/the-apm-agent-can-give-a-offline-packges-to-down/103170/5 "2017-10-09T09:06:06Z")

</div>

java i think the best in now.  
sorry.  
i see the three agents(node.js Django Flask ) all neet network with npm to install. in my env ,this can't connect to network.  
i need install offilne about this. as .zip file or rpm install.

---

<div class="post-metadata">

**Author:** ![roncohen](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/roncohen/32/22881_2.png) [@roncohen](https://discuss.elastic.co/u/roncohen)\
**Post date:** [October 9, 2017, 9:21am UTC](https://discuss.elastic.co/t/the-apm-agent-can-give-a-offline-packges-to-down/103170/6 "2017-10-09T09:21:32Z")

</div>

OK @zqc0512.

You _should_ be able to install the NPM packages by setting up your application on a machine that has internet access first.

So, install all the packages that are required in your app, including the elastic-apm module, on a machine with internet access. Then copy the `node_modules` folder from the machine that has internet access to the machine that does not have internet access.

Let me know if that helps!

---

<div class="post-metadata">

**Author:** ![zqc0512](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/zqc0512/32/32141_2.png) [@zqc0512](https://discuss.elastic.co/u/zqc0512)\
**Post date:** [October 13, 2017, 3:45am UTC](https://discuss.elastic.co/t/the-apm-agent-can-give-a-offline-packges-to-down/103170/7 "2017-10-13T03:45:17Z")

</div>

that so bad.  
can't accept about it .  
sorry.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [November 2, 2017, 11:45pm UTC](https://discuss.elastic.co/t/the-apm-agent-can-give-a-offline-packges-to-down/103170/8 "2017-11-02T23:45:26Z")

</div>

This topic was automatically closed 20 days after the last reply. New replies are no longer allowed.
