[5 Minutes] How to Start Monitoring with Mackerel

I'm Tsuyoshi Nakagawa from the Operations Management Division of the System Solutions Department

Previously, I wanted to try out Mackerel, so
I created a test environment, so I'll leave the contents here as a memo.

Create a Mackerel account (takes 2 minutes)

Create a Mackerel account using the following link:
https://mackerel.io/signup

Get the Mackerel agent installation command (takes 1 minute)


hosts > install agent


Copy the command
*These are procedures for Red Hat 7 and CentOS 7.

You can also choose from "Amazon Linux," "Ubuntu/Debian," "Microsoft Windows," etc., so
please select the OS that suits your environment.


Installing the Mackerel agent (takes 1 minute)

Execute the copied command on the server (if you copied it from the admin screen, the API key will already be entered)

curl -fsSL https://mackerel.io/file/script/setup-all-yum-v2.sh | MACKEREL_APIKEY='<APIキー> ' sh .......... ************************************************ Done! Welcome to Mackerel! ************************************************

 If you see "Done! Welcome to Mackerel!", the installation is complete!

Start the Mackerel agent (takes 1 minute)

sudo systemctl start mackerel-agent

Once the startup is complete, the host will be added to your admin panel in less than a minute!

Uninstalling the Mackerel Agent (bonus)

sudo yum remove mackerel-agent

If you no longer need it, you can uninstall mackerel-agent with this command

summary

Even if you're a beginner, you can start monitoring your servers with Mackerel in just 5 minutes!
If you don't have an environment, you can easily create one by
building your own testing environment with Vagrant a free version , so if you're interested, why not give server monitoring with Mackerel a try?

If you found this article useful, please click [Like]!
1
Loading...
1 vote, average: 1.00 / 11
1,703
X Facebook Hatena Bookmark pocket

The person who wrote this article

About the author

Tsuyoshi Nakagawa

I joined the company in August 2017
and was part of the infrastructure team for about a year and a half, and am currently in the technical sales department.
My hobby is online window shopping.

■ Qualification
LPIC1
AWS Certified Cloud Practitioner