Mackerel blog #mackerelio

The Official Blog of Mackerel

AWS Integration now supports EFS and more

Hello! My name is Nishiyama (id:tukaelu) and I joined the Mackerel team as a CRE in May.

It’s hard to believe that 1 month has already passed since the start of the new Reiwa era, and it’s also been 1 month since I joined the Mackerel team. This is my first time bringing you the release announcement! I’m definitely looking forward to seeing you all at future events!

In fact, we participated in the AWS Summit Tokyo 2019 held over three days last week at the Makuhari Messe (from July 12th to 14th).

This year's Makuhari Messe was even larger than last year and still crowded with a large number of visitors. Thank you to everyone who visited the Mackerel booth!


One of our engineers, Watanabe (id:wtatsuru), ran a mini session that attracted quite a few quests.

We’re also planning on participating in the AWS Summit Osaka 2019 at the Grand Front Osaka next Thursday, June 27th. If you’re going to the event, be sure to stop by the Mackerel booth!

Now on to this week’s update information.

Amazon Elastic File System Integration release

AWS Integration now supports Amazon Elastic File System!

With Integration configured, 1 File System = 1 Micro host in Mackerel with a maximum number of 28 metrics.

JAVA_HOME changed to the default search option with mackerel-plugin-jvm

Searching under JAVA_HOME (such as $JAVA_HOME/bin/jps etc.) is now the default when JAVA_HOME is configured as an environment variable in mackerel-plugin-jvm.

If JAVA_HOME is not configured, /usr/bin (such as /usr/bin/jps etc.) will be used as before. If anything other than /usr/bin is specified, you can simplify the specification of command options by configuring JAVA_HOME.

Because this update is an incompatible update, users should note whether or not JAVA_HOME is configured in environment variables when performing this update.

The itemization of hosts can now be checked in the amount of the charge log

From May on, the itemization of Standard hosts/Micro hosts regarding payments is now displayed in the credit card charge log which can be accessed from the organization’s plan tab.

Version display now supported for Amazon Elasticsearch Service Integration

The version of Elasticsearch is now displayed in the ElasticsearchService host information of AWS integration.

Release of ansible-mackerel-agent v0.8.4

  • A task to install mkr command was added
  • Support added for action specification with the check plugin installation task

AWS Step Functions Integration release and more

Hello. Mackerel team CRE Inoue (id:a-know) here.

It is hot outside! For the past week, I’ve been rotating through the same Mackerel T-shirts and polo shirts to try and keep cool. Is summer only going to get hotter from here on out? I'm a little worried.

Now then, on to this week’s update information.

AWS Step Functions Integration release

AWS Step Functions is now supported as as a feature of AWS Integration!

With Integration configured, 1 State Machine can be registered as 1 Micro host in Mackerel (refer here for more on Micro hosts). The formula used to calculate the metric count is 7 + 9 × (number of activities) + 8 × (number of Lambda functions).

Coincidentally, AWS Step Functions is also used in the backend of Hatena Blog, a service provided by Hatena, so there was a lot of excitement in the company over the support for this integration. We definitely recommend all of our Mackerel users to give it a try!

When Anomaly Detection for Roles/training fails, the reason is now displayed

Have you all gotten the chance to try out the recently released public beta version of our new function Anomaly Detection for Roles?

There have been some cases of the training using machine learning algorithms failing under certain conditions, but today's update makes it possible to understand why the training failed.

The Anomaly Detection for Roles function has been highly praised as being effective for understanding workload characteristics such as these, and for helping make monitor configurations more complete. It’s also very easy to set up, so be sure to give it a try if you haven’t already!

“The Confused Deputy Problem” for AWS Integration has been resolved

The External ID for the AWS Integration configuration IAM role is now issued at random.


This solves "The Confused Deputy Problem" and improves the security of integrated roles. You can also improve security by issuing and configuring an External ID for existing AWS Integration configurations.

We’ve also updated the description for the configuration method in the help page, so be sure to give that a second look.

Along with EOL, official support for Ubuntu 14.04 LTS has ended

Along with the support that ended on April 30th of this year, the official support for Ubuntu 14.04 LTS has also ended with Mackerel. Check out the help page linked below for all the officially supported environments.

Other updates

Due to the large number of update content today, I’ll simply list the rest below. - The entry method for credit card information has changed - The card number entry is now easier to understand and more secure than ever. - Changes have been made to the plan page, so that standard hosts and micro hosts that exceed the metric limit can be checked individually

Mackerel designers to present at Hatena Design Hour #7

Mackerel’s two chief designers will be presenting at Hatena Design Hour #7, a web designer event hosted by Hatena.

デザイナーイベント「Hatena Design Hour #7」を開催します #hatenadesign - Hatena Design Group (Japanese only)

At the event, they will be talking on "Mackerel's Dashboard Renewal" and "Creating a character for Mackerel's container-agent". It’s not often that you get the chance to hear directly from the designers regarding their designs and user-friendliness, so if you’re interested, by all means!

Monitor types now in panel display

Mackerel team CRE Miura (id:missasan) here with this week’s update information.

Monitor types now panel display

The Create a New Monitor screen has been updated. Now, the types of monitors that can be created are displayed in a panel for easier viewing.


The various monitors of Mackerel

In addition to threshold monitoring and host connectivity monitoring based on obtained metrics, there are various other monitoring rules available in Mackerel such as URL External Monitoring and Expression Monitoring. Anomaly Detection for roles was also released in March of 2019. Displaying these items in side-by-side tabs has become clustered, so we made this change.

With External URL Monitoring, by accessing published URL in http or https format, you can monitor the response code, response time, character strings included in the response body, as well as monitor the SSL certificate expiration date and more.

Expression Monitoring allows you to customize your metric monitoring, such as monitoring the number of remaining days until the file system capacity runs out, and differences from previous weeks.

Anomaly Detection for roles is still in open beta version, but we are currently fine tuning the function based on user feedback for the official release.

If you haven’t tried all of the monitors yet, we definitely recommend seeing what they all can do. If you’d like to give one a try but don’t know how or find it difficult to use, please contact the support team.

For more information on monitoring and notification settings, see the help page linked below.

debug option added to mackerel-plugin-mysql and more

Mackerel team CRE Miura (id:missasan) here.

The Mackerel team welcomes a new member! Nishiyama (id:tukaelu) joined in May as a CRE! Now we’re really going to step up our CRE activities. You’ll get to know Nishiyama through blogs, technical support, and other meetup opportunities. We’re looking forward it!

Also, be sure to check out the Hatena Developer Blog article below where Inoue (id:a-know) and I talked about being a CRE. (Japanese only)

Now on to this week’s update information.

debug option added to mackerel-plugin-mysql

With the release of mackerel-agent-plugins v0.55.2, the -debug option has been added to mackerel-plugin-mysql. It can be used for diagnosing connection errors etc.

Handling state files is now safer with check-logs and check-aws-cloudwatch-logs

With the release of go-check-plugins v0.30.0, the handling of state files with check-logs and check-aws-cloudwatch-logs has been made even more safe.



Check out the entry linked below for a details regarding check-log behavior. (Japanese only)

Changes made to the output when using the detail option with the mkr wrap command

With the release of mkr v0.37.0, when using the --detail option with the wrap subcommand and a large number of characters exist in the command output, a change has been made to output not only the beginning but the end as well (a total of 1024 characters). Prior to this update, only the beginning was included, but because there may be a description regarding the cause of an error at the end of the output, both the beginning and the end have been included.

The micro host count is now displayed on the plan screen

Mackerel team CRE Miura (id:missasan) here.

Following a long Golden Week holiday, the Reiwa era has officially started. And Mackerel’s first announcement in the new era is about screen display changes following updates made to the billing system starting in May. As you may have already noticed, it is now possible to check the microhost count from the management screen.

Now on to this week’s update information.

The micro host count is now displayed on the plan screen

As stated in the entry linked below, a new billing system started in May.

Along with this, changes have been made so that the microhost count is now displayed from the organization's plan screen in environments using a paid plan.


Now the number of standard hosts, micro hosts, and the metric upper limit excess are all displayed. Check out your plan screen to see the changes. In addition, since these numbers are used to calculate a monthly moving average for your actual billing rate, you can use them as reference.

Please note that the display may differ depending on your subscription (the Free plan for example).

If you have any questions or concerns, please feel free to contact us through your sales manager, a CRE, or using the sales contact form.

The system will temporarily shut down for database maintenance on June 5th (Wed.) at 2:30 pm (JST)

Thank you for choosing Mackerel.

The system will be temporarily suspended for maintenance according to the schedule below. We apologize for any inconvenience that this may cause and appreciate your understanding.

Scheduled date and time

  • June 5th (Wed.) from 2:30 pm - 3:30 pm (JST)


  • Database maintenance

Areas affected during maintenance period

  • Once maintenance has begun, the entire Mackerel system will shutdown for a short period of time.
  • Actual downtime will run about 30 minutes during the time period mentioned above.
  • Web access to Mackerel, data posting by the agent, API access (including the CLI tool), alert notifications, AWS/Azure Integration etc. will be unavailable
  • As soon as maintenance is completed and working operation is confirmed, the system shutdown will end and an announcement will be made
  • As for mackerel-agent metric posting, data will be buffered from mackerel-agent during the maintenance period and resent after maintenance has been completed
    • If resent properly, graphs during the maintenance period will also be displayed.

Regarding Announcements

Situation reports will be made from the Mackerel status page ( as well as from this blog (

Additionally, we’ll also be using our official Twitter account (

For inquiries related to this matter

Please send all inquiries regarding this matter to

Thank you again for your understanding and cooperation. And thank you for choosing Mackerel.

Meet the new container-agent mascot and more

Mackerel Team CRE Miura (id:missasan) here.

To celebrate the recent release of our container-agent, we’ve created a new Mackerel character! As with our existing character agent-si, this new character will appear on service sites, stickers, t-shirts, and other novelty items.

Now on to this week’s update information.

Meet the new container-agent mascot

You’re probably already familiar with Mackerel’s character agent-si. He’s the characterization of mackerel-agent which you install when getting server metrics with Mackerel. (Japanese only)

In February 2019, we released mackerel-container-agent, an agent dedicated for container monitoring. To celebrate, we also released a new character, container-agent-si!


Expect to see the container-agent-si on service sites and novelty items like these stickers. We’ll be passing them out at events!

New stickers! container-agent-si fits right in with agent-si.

container-agent-si was designed by Mackerel team designers id:takuwolog and id:mazco.

container-agent-si is the new mascot of mackerel-container-agent and a sibling to agent-si. As such, you can see some similarities between the two such as their antennae. We used a physical container as a motif for the design, and the sticker’s illustration depicts container-agent-si as if it could transport and put things into a container. Hopefully one of these novelty items will find their way into your hands soon enough!


Specification changes made to the organization’s notification disable setting

As previously announced, changes have been made to the specifications of the organizations’ notification disable setting. Refer to the entry linked below for more details.