"Plugins" Posts

Monitoring mod_pagespeed

By Derek Bullet_white Posted in Plugins Bullet_white Comments Comments

Josh Nichols of Rails Machine has developed a Scout plugin for monitoring mod_pagespeed, Google’s Apache 2.x module for performing on-the-fly optimization in the Apache 2 HTTP Server.

mod_pagespeed has several filters that optimize a web page’s resources. These filters combine CSS files, optimize images, and more. mod_pagespeed is still under heavy development (a couple of the filters aren’t working for Josh, including image optimization). These issues shouldn’t impact the plugin’s metric reporting.

To install the plugin, just click the button when viewing a server on Scout. mod_pagespeed is listed in our plugin directory.


MySQL Tuning Tips with Scout

By Andre Bullet_white Posted in Plugins Bullet_white Comments Comments

If you’ve used Major Hayden’s MySQLTuner before, you know it’s a great source of MySQL optimization tips.

Now you can get MySQLTuner reports automatically delivered through Scout. All you need to do is install the MySQL Stats w/MySQLTuner plugin, or update the plugin if you already have it installed. You will be informed if:

  • the amount of memory you have allocated to MySQL needs adjusting
  • tables are fragmented and need to be optimized
  • query cache sizes, max heap sizes, or buffer pool sizes need adjusting
  • queries are requiring an excessive number of temp tables

Weekly Reports

You’ll get your first report right away after installing the plugin. After that, you’ll automatically get a weekly follow-up report, so your database stays nice and optimized. You can change the frequency of the tuner reports to suit your needs.

Here’s an example report of a MySQLTuner report.

In case you’re wondering—you don’t need to install the MySQLTuner script on your server. All you need to do is select the Scout plugin from the plugin directory.

Real-time Query Activity

In addition to the MySQLTuner reports, you’ll get real-time statistics on MySQL query activity:

Like all Scout metrics, these can be charted and compared, you can get alerts on thresholds and trends, etc!

Where Credit’s Due

A huge thank-you to Major Hayden AKA Racker Hacker for the MySQLTuner Script. Also thanks to Eric Lindvall for creating the original MySQL Statistics plugin.

Get Started!

Sound interesting? Install the MySQL Stats w/MySQLTuner Plugin and start getting MySQLTuner reports automatically.


Monitoring MongoDB

By Derek Bullet_white Posted in Plugins Bullet_white Comments Comments

Updated 3/21/2013The MongoDB Overview plugin discussed below has been split into 2 separate plugins: MongoDB Server Status and MongoDB Database Stats. The server status plugin reports global MongoDB metrics and the database stats plugin reports metrics specific to a particular database.

John Nunemaker of Ordered List knows his way around MongoDB, the high-performance open-source, document-orientated database. We were obviously excited to see that John created a MongoDB Monitoring plugin.

Like all Scout plugins, installing it is a button click away.

Mongo Monitoring Walkthru

John’s MongoDB Monitoring plugin gives both an overview of key Mongo performance metrics and a detailed display when you need to dig deeper.

The overview:

The details:

View a chart of each metric:

Mongo Q&A with John

At Scout HQ, I brought out some hot cocoa, lit a fire, and demanded that John reflect on MongoDB. You wouldn’t know it from his appearance, but John had some rather enlightening things to say.

Read More →


Oink + Request Log Analyzer = Rails Monitoring in one report

By Derek Bullet_white Posted in Plugins Bullet_white Comments Comments

If you’ve ever had to track down a memory leak in a Rails application (and who hasn’t forgotten to use will_paginate occasionally), you’re probably already familiar with the excellent Oink plugin by Noah Davis. Oink spits out the actions that are leaking the most.

Oink is a huge help when tracking down a memory leak. However, it doesn’t overcome my laziness. Tracking memory usage is extremely important – talk to any dedicated Rails host and they’ll tell you memory leaks are behind many crashed servers. To make monitoring memory usage less involoved, I needed 3 additions to Oink.

Read More →


Monitoring Apache Request Processing Time

By Derek Bullet_white Posted in Plugins Bullet_white Comments Comments

With a little help from the excellent Request Log Analyzer gem, created by those smart folks at RailsDoctors, the Apache Log Analyzer plugin now tracks the duration of Apache requests.

Upgrading & Install

If you already have the Apache Log Analyzer plugin installed, you’ll need to upgrade to the latest version. Just click the “Update Code” button when viewing the plugin code at scoutapp.com to grab the latest.

If you’re new to Scout, signup for our free 30-day trial and simply point-and-click to install the plugin.

Wait! One more thing…

By default, the Apache access log does not contain the request duration. It’s straight-forward process to add duration tracking – follow our help entry.


Monitoring a Log File

By Derek Bullet_white Posted in Plugins Bullet_white Comments Comments

A log file is a lot like a neglected board game covered in dust. I don’t play board games that often, but when I do, I always say “we should do this more often”. The log files we have for Scout collect lots of great information, but we only reference them when investigating an incident. They often aren’t a part of our daily lives (but they should be).

Yaroslav Lazor of Railsware, an agile Ruby on Rails development firm, has created a Scout plugin that makes it easy to extract basic information from a log file on a regular basis. His Log Watcher plugin, brilliant in its simplicity, counts the number of occurrences of a given pattern in a file, reporting the data to Scout.

Read More →


Older posts: 1 2 3 4