[Can be done in 5 minutes] How to start monitoring with Mackerel
table of contents [非表示]
My name is Tsuyoshi Nakagawa, Operations Management Section, System Solutions Department.
I once wanted to try out Mackerel's operations, so
I created it as a test environment, so I'll leave the contents as a memorandum.
Create a Mackerel account (takes 2 minutes)
Create a Mackerel account from the following link
https://mackerel.io/signup
Obtain the Mackerel agent installation command (required time: 1 minute)
hosts > install agent
Copy the command
*This is a procedure for Red Hat7 CentOS7 series.
You can also select "Amazon Linux", "Ubuntu/Debian", "Microsoft Windows", etc., so
please select the OS that suits your environment.
Install Mackerel agent (takes 1 minute)
Execute the copied command on the server (if copied from the management screen, the API key will be entered)
1 | curl -fsSL https: //mackerel .io /file/script/setup-all-yum-v2 .sh | MACKEREL_APIKEY= '<APIキー> ' sh ......************************************* Done! Welcome to Mackerel! ************************************************ |
If “Done! Welcome to Mackerel!” appears, the installation is complete!
Start Mackerel agent (takes 1 minute)
1 | sudo systemctl start mackerel-agent |
Once the startup is complete, the host will be added to the management screen in less than a minute!
Uninstall Mackerel agent (bonus)
1 | sudo yum remove mackerel-agent |
If it is no longer needed, you can uninstall mackerel-agent with this command
summary
Even if it's your first time, you can start monitoring servers with Mackerel in just 5 minutes!
If there is no environment! Even if you say so, you can easily create
your own verification environment with Vagrant a free version , so if you are interested, why not try server monitoring with Mackerel?