Mackerel blog #mackerelio

The Official Blog of Mackerel

【Summer student intern feature release!】An Organizations list screen has been added etc.

Hello! Mackerel team CRE Miura (id:missasan) here.

Today is the last day of the 2018 Hatena Summer Internship program. This month went by so fast!

developer.hatenastaff.com (Japanese only)

For the second half of the program, the student interns are assigned to each team and work on task assignments and feature developments that will actually be incorporated into the service. Two student interns were also assigned to the Mackerel team and were challenged with a lot of issues.

The feature that was introduced last Monday (9/3) titled "Roles can now be registered/deleted from the API" was implemented and released by our two student interns.

mackerel.io

Since it’s the last day of the summer internship, we are going to introduce a complete set of the features implemented by our student interns.

Here is a message from Mackerel team director Katsuya (id:daiksy) who helped mentor the student interns over this last month.

This is the fourth year that the Mackerel team has received student interns. And the speed of development has been outstanding this year. On more than one occasion, I was surprised checking GitHub after a meeting like, "What!? This feature is already up for review ??".

After two weeks of development, today is the last day of this year’s internship. I think that this was a good experience for the student interns, but they also inspired the team as well. It was a very fulfilling two weeks.

It truly was a surprise that so many new features were developed and released in such a short period of time.

Now on to the update information.

An Organizations list screen has been added

View a list of the organizations that you belong to by accessing the URL below.

https://mackerel.io/orgs/

You can also access the same screen by clicking [▼] next to the [Organization Name] on the left side menu and clicking [Organizations].

From this page you can see the number of services, hosts, members, and alerts that are currently occurring for each organization. If you belong to multiple organizations, you can use this list to see the whole picture, like when confirming for which organization an alert is occurring.

API added to post metadata for Services/Roles

Up until now, you could register metadata to hosts, but with this release, you can now register arbitrary JSON data as metadata for services/roles. For more details, refer to the Mackerel API document for Metadata.

API added to obtain monitor settings by specifying an ID

We’ve added an API that allows you to specify the target monitor setting ID and obtain settings information. The specification method is /api/v0/monitors/<monitorId>.

For more details, refer to the the Mackerel API document on Monitors.

API added to register/delete notification channels

This API is currently only supported for email notifications and Slack. With this release, information that can be obtained with the notification channel list API can now be obtained in more detail with email notifications and Slack.

For more information, refer to the Mackerel API document on Notification Channels.

Multiple services can now be selected by filtering the Alerts list screen

It is now possible to specify multiple services with OR conditions when filtering displayed alerts in the Alerts list screen.

Multiple services can now be selected by filtering the Hosts list screen

As with the Alerts list, it is now possible to specify multiple services with OR when filtering the display in the Hosts list screen.

Thank you to all our summer interns for your hard work!

Auto-retire feature added for EC2 hosts integrated with AWS Integration etc.

Hello! Mackerel team CRE Miura (id:missasan) here.

In addition to the highly requested title feature, this update offers plenty of other content. Check out the new features provided by this summer’s Hatena Interns and some new/improvements that were made possible by user contributions. See the details below.

Now on to the update information.

An auto-retire feature has been added for EC2 hosts integrated with AWS Integration

With this update, we’ve added an automatic retirement feature for EC2 hosts integrated with AWS Integration. If this feature is enabled, retirement processing will automatically be performed in Mackerel when an instance has been terminated. To enable this option, click Enable automatic retirement in the AWS Integration Settings screen. By default, this option will be disabled for hosts that have already been created, but automatically enabled for newly created hosts.

f:id:mackerelio:20180911113923p:plain

Please note, this feature is currently only available for EC2 and should be considered when using with other AWS services.

Roles can now be registered/deleted from the API

It is now possible to register and delete roles from the API. For more details, take a look at the document below.

mackerel.io

This feature was developed by student interns participating in the 2018 Hatena Summer Internship Program under the guidance of engineers on the Mackerel development team! This was the fastest release out of all the student interns.

developer.hatenastaff.com (Japanese only)

mackerel-client-go, a golang client officially offered by Mackerel, is also supported.

Alert details added to Alert group notifications

Some detailed information included in alert groups is now displayed with notifications posted to Slack etc. Up to three alert detail items of the group can be displayed. Be sure to turn on notifications and check the display. Since Alert groups is still a new feature, we really appreciate requests and feedback.

mackerel.io

AWS Aurora PostgreSQL can now be monitored with mackerel-plugin-postgres

With the release of mackerel-agent-plugins v0.51.1, AWS Aurora PostgreSQL is now supported with mackerel-plugin-postgres.

github.com

check-smtp added

check-smtp was added in the release of go-check-plugins v0.22.0. And although check-tcp already has a feature to check smtp connection, this feature is more specialized for smtp.

github.com

To all the contributors out there who submitted Pull Requests, thank you!

The incremental search speed for metrics has been improved etc.

Hello! Mackerel team CRE Miura (id:missasan) here.

Now on to the update information.

The incremental search speed for metrics has been improved

By entering a keyword in the text box under [Scope] - [Metric] in your Monitor Settings’ detailed settings screen, you can search all metrics for the one you want to use for the monitor. With this update, the search speed has been greatly improved. This improvement was made possible because of the database maintenance conducted on July 18th.

plugin-registry plugins can now be installed automatically with itamae-plugin-recipe-mackerel-agent

It is now possible to automatically install plugin-registry plugins with itamae-plugin-recipe-mackerel-agent. mkr command is required to use this feature.

github.com

itamae-plugin-recipe-mackerel-agent is a recipe released as a gem for installing mackerel-agent with itamae. Using itamae makes installing mackerel-agent that much easier.

This plugin-registry is the official plugin registry for useful user-created registered plugins. Registered plugins can be installed with mkr plugin install <plugin_name>.

【Announcement】Support Window closed during the Obon holiday & a reminder for Mail System Maintenance

Thank you for choosing Mackerel.

Support Window closed during the Obon holiday

This announcement was previously made in the update announcement blog below.

mackerel.io

Official Mackerel support (the "Feedback" option displayed in the upper right corner of the header while logged-in to Mackerel as well as correspondence/inquiries to support@mackerel.io) will be closed during the Obon holiday through the following dates.

Support window closed period:Aug. 13th, 2018 (Mon.) ~ Aug. 15th, 2018 (Wed.) (JST)

Inquiries received during this period will be replied to in order on Thursday, August 16th. Thank you for your cooperation.

Mail System Maintenance on August 14th, 2018 (Tues.)

Also, as previously announced, the mail system that Mackerel uses is scheduled for maintenance on Tuesday, August 14th, 2018.

Check out the following entry for details.

mackerel.io

mackerel-plugin-mssql release etc.

Hello! Mackerel team CRE Miura (id:missasan) here.

This week, we have two Windows related releases! If you’re a Windows user, be sure to check out the details.

Now on to the update information.

mackerel-plugin-mssql release

Mackerel-plugin-mssql, a metric plugin for monitoring Microsoft SQL Servers has been released. This plugin is Windows-only and is included in the Windows installer (msi file). If using, please download and update to the latest msi file.

For more details on how to use the plugin, see the README below.

github.com

Auto retire feature added to mackerel-agent for Windows

We’ve added a feature to automatically perform the retirement process from Mackerel when shutting down with a Windows server.

See the link below for configuration details.

mackerel.io

In some cases, auto retirement may not execute normally such as when shutting down the server using the public cloud feature.

  • When the OS standard shutdown process is not executed
  • When network connection fails during the auto retirement process

Etc.

Before starting this operation, first confirm that the automatic retirement process is executed as expected in your environment.

Improvements made to mackerel-plugin-mysql metric value calculation method

The metric value calculation method of MySQL innodb Transactions for mackerel-plugin-mysql has been improved. This fix is applicable to MySQL 5.6.4 and later.

Announcement for mail system maintenance on August 14, 2018 (Tue.)

Thank you for choosing Mackerel.

This is an announcement to notify that the mail system that Mackerel uses will be under maintenance.

  • Date and time: August 14th, 2018 (Tue) 9:00 p.m. - 1:00 a.m. on August 15th, 2018 (Wed) JST
  • Range of impact: All mail sent from Mackerel (user registration, alert notifications, etc.) may face delayed delivery during the above time period
  • Reason for Maintenance: This maintenance period was scheduled by SendGrid, the mail delivery service used by Mackerel. For details, please visit SendGrid’s status page (http://status.sendgrid.com/incidents/kzfx7nrwslg7).

Please refer to SendGrid’s status page mentioned above for information and updates on the mail system during the maintenance period.

We apologize for the inconvenience.

Thank you for your cooperation and thank you for choosing Mackerel.

Amazon Linux 2 official version now supported etc.

Hello! Mackerel team CRE Miura (id:missasan) here.

The other day, fellow CRE Inoue (id:a-know) presented at an event called Support Engineer Night vol.3. His presentation introduced technologically challenging cases unique to server monitoring services, and gave a glimpse of the other side of Mackerel support.

techplay.jp

(Japanese only)

Now on to the update information.

Amazon Linux 2 official version now supported

Access the one-liner install script in the help page below.

mackerel.io

Along with support for the official Amazon Linux 2, cookbook-mackerel-agent 3.1.0 has been released. mackerel-agent can be installed on official Amazon Linux 2 via Chef. Please use this cookbook with Chef 14.3.36 or later.

Additionally, various provisioning tools are being updated to support the official version of Amazon Linux 2 and we recommend that you also update these tools as necessary.

Notice for Obon holiday【8/13(Mon.)- 8/15(Wed.)】

The Mackerel team will be out of the office from August 13th (Friday) until August 15th (Wednesday) for the Obon national holiday. During this period, the support window will be closed (except for emergencies). Thank you for your cooperation and have a great summer vacation everyone!