{"__v":36,"_id":"55d3b648f77e6d0d00b1b298","category":{"__v":3,"_id":"55d3b645f77e6d0d00b1b275","pages":["55d3b648f77e6d0d00b1b297","55d3b648f77e6d0d00b1b298","55d3b648f77e6d0d00b1b299","55d3b648f77e6d0d00b1b29a","55d3b648f77e6d0d00b1b29b","55d4dc5e9c4e4a0d00ff67c5","55d51f70e60a2f0d00b88add"],"project":"55c505b41469ad2500fa2ab7","version":"55d3b644f77e6d0d00b1b273","sync":{"url":"","isSync":false},"reference":false,"createdAt":"2015-08-07T19:23:34.369Z","from_sync":false,"order":1,"slug":"getting-started","title":"Getting Started"},"parentDoc":null,"project":"55c505b41469ad2500fa2ab7","user":"55c50f4a7c199a2f00665cbf","version":{"__v":6,"_id":"55d3b644f77e6d0d00b1b273","project":"55c505b41469ad2500fa2ab7","createdAt":"2015-08-18T22:48:36.632Z","releaseDate":"2015-08-18T22:48:36.632Z","categories":["55d3b645f77e6d0d00b1b274","55d3b645f77e6d0d00b1b275","55d3b645f77e6d0d00b1b276","55d3b645f77e6d0d00b1b277","55d3b645f77e6d0d00b1b278","55d3b645f77e6d0d00b1b279","55d3b645f77e6d0d00b1b27a","55d3b645f77e6d0d00b1b27b","55d3b645f77e6d0d00b1b27c","55d3b645f77e6d0d00b1b27d","55d7c2939510f00d007ec6fe","56fac9925df15a20002972a2","56fb2f7668e1d30e00a0b672","583498d411e8af2500f6b334","58e52a180ab7b03b00f4a97a"],"is_deprecated":false,"is_hidden":false,"is_beta":true,"is_stable":true,"codename":"","version_clean":"1.1.0","version":"1.1"},"updates":[],"next":{"pages":[],"description":""},"createdAt":"2015-08-10T23:06:47.584Z","link_external":false,"link_url":"","githubsync":"","sync_unique":"","hidden":false,"api":{"results":{"codes":[]},"settings":"","auth":"required","params":[],"url":""},"isReference":false,"order":1,"body":"This guide will help you integrate your infrastructure with Neptune, so that you can run actions whenever your alarms trigger\n\n## Step 1 : Select integrations tab and then click \"Infrastructure integration\" section\n\nPlease add relevant API keys for your cloud (AWS, Heroku & Softlayer currently ) . For other clouds, please proceed to step2 directly\n[block:image]\n{\n  \"images\": [\n    {\n      \"image\": [\n        \"https://files.readme.io/SY0U8l9hSfoHNxeVuIPj_InfraAPIKeys.png\",\n        \"InfraAPIKeys.png\",\n        \"1628\",\n        \"882\",\n        \"#750b47\",\n        \"\"\n      ]\n    }\n  ]\n}\n[/block]\n## Step 2 : Install Neptune agent on your servers\n\n* In your infrastructure section, you will find the one-line agent installation command with your Neptune API key pre-populated. You need to run the command on your servers as root.\n* However, for better security, Neptune agent never runs as root. It runs as `neptune` user\n* To install agent as a different user, please change the `AGENT_USER` variable in the one-line command\n[block:image]\n{\n  \"images\": [\n    {\n      \"image\": [\n        \"https://files.readme.io/MNBHHBN9TKGRfyM7rm1s_Install_Agent.png\",\n        \"Install_Agent.png\",\n        \"1633\",\n        \"925\",\n        \"#4e90f4\",\n        \"\"\n      ]\n    }\n  ]\n}\n[/block]\n\n[block:callout]\n{\n  \"type\": \"info\",\n  \"title\": \"We also have chef , puppet scripts to install agents on several servers at once\",\n  \"body\": \"For more details on chef, puppet, windows and administration of agent, please refer to  [Agent installation guide](doc:agent-installation) and [Agent administration](doc:administration) sections\"\n}\n[/block]\n## Step 3 : Check if agents are correctly running on your servers\n\nClick Agent status tab in your left sidebar to see all the servers with neptuneio agents running. If you don't see any servers listed,  or if you find any errors in the logs, please contact Neptuneio support team by clicking chat window in the lower right corner, or email <support:::at:::neptune.io>\n[block:image]\n{\n  \"images\": [\n    {\n      \"image\": [\n        \"https://files.readme.io/wOsPAYraQH2IoQCHuNc4_agentStatus.png\",\n        \"agentStatus.png\",\n        \"1631\",\n        \"887\",\n        \"#770743\",\n        \"\"\n      ]\n    }\n  ]\n}\n[/block]\n\n[block:callout]\n{\n  \"type\": \"success\",\n  \"title\": \"Congrats ! You are done with infrastructure integration. Now you can create rules\",\n  \"body\": \"[Next step : Create rules](doc:create-rules)\"\n}\n[/block]","excerpt":"","slug":"integrate-infrastructure","type":"basic","title":"Integrate your infrastructure"}

Integrate your infrastructure


This guide will help you integrate your infrastructure with Neptune, so that you can run actions whenever your alarms trigger ## Step 1 : Select integrations tab and then click "Infrastructure integration" section Please add relevant API keys for your cloud (AWS, Heroku & Softlayer currently ) . For other clouds, please proceed to step2 directly [block:image] { "images": [ { "image": [ "https://files.readme.io/SY0U8l9hSfoHNxeVuIPj_InfraAPIKeys.png", "InfraAPIKeys.png", "1628", "882", "#750b47", "" ] } ] } [/block] ## Step 2 : Install Neptune agent on your servers * In your infrastructure section, you will find the one-line agent installation command with your Neptune API key pre-populated. You need to run the command on your servers as root. * However, for better security, Neptune agent never runs as root. It runs as `neptune` user * To install agent as a different user, please change the `AGENT_USER` variable in the one-line command [block:image] { "images": [ { "image": [ "https://files.readme.io/MNBHHBN9TKGRfyM7rm1s_Install_Agent.png", "Install_Agent.png", "1633", "925", "#4e90f4", "" ] } ] } [/block] [block:callout] { "type": "info", "title": "We also have chef , puppet scripts to install agents on several servers at once", "body": "For more details on chef, puppet, windows and administration of agent, please refer to [Agent installation guide](doc:agent-installation) and [Agent administration](doc:administration) sections" } [/block] ## Step 3 : Check if agents are correctly running on your servers Click Agent status tab in your left sidebar to see all the servers with neptuneio agents running. If you don't see any servers listed, or if you find any errors in the logs, please contact Neptuneio support team by clicking chat window in the lower right corner, or email <support@neptune.io> [block:image] { "images": [ { "image": [ "https://files.readme.io/wOsPAYraQH2IoQCHuNc4_agentStatus.png", "agentStatus.png", "1631", "887", "#770743", "" ] } ] } [/block] [block:callout] { "type": "success", "title": "Congrats ! You are done with infrastructure integration. Now you can create rules", "body": "[Next step : Create rules](doc:create-rules)" } [/block]