You are previewing Instant Munin Plugin Starter.
O'Reilly logo
Instant Munin Plugin Starter

Book Description

Write custom scripts to monitor, analyse, and optimize any device in your network

  • Learn something new in an Instant! A short, fast, focused guide delivering immediate results.

  • Write custom plugins to monitor servers, printers, routers, and other devices

  • Pinpoint server performance issues with ease

  • Improve server performance by finding the root of the problem

In Detail

The real challenge of performance issues comes from trying to get to the root of the problem.

Having a monitoring system set up makes your life, as a system administrator, a lot easier.

The Munin Plugin Starter is a practical, hands-on guide that teaches you how to set up and monitor your network. Through a simple step-by-step process you will learn how to monitor other devices in your network and learn to write your own plugins. By the end of the book you will have the skills and the confidence to write plugins for any day-to-day task.

This book breaks down monitoring with Munin into small, easy-to-follow steps.

It starts by setting up a webserver to act as a Munin master and ends by teaching you how to write a custom plugin by yourself.

Learn how to configure Munin nodes to monitor servers and other devices in your network. This will make it easy to monitor switches, printers, or any other device attached to the network.

If you want to learn how monitoring gives you insight into your network, the Munin Plugin Starter is the book for you.

Table of Contents

  1. Instant Munin Plugin Starter
    1. Instant Munin Plugin Starter
    2. Credits
    3. About the Author
    4. About the Reviewer
    5. www.packtpub.com
      1. Support files, eBooks, discount offers and more
    6. packtLib.packtpub.com
      1. Why Subscribe?
      2. Free Access for Packt account holders
    7. 1. Instant Munin Plugin Starter
      1. So, what is Munin?
      2. Installation
        1. Step 1 – What do I need?
        2. Step 2 – Installing Munin
        3. Step 3 – Plotting graphs
        4. And that's it
      3. Quick start – Setting up Munin
        1. Munin master configuration
          1. Example configuration file for Munin
        2. Munin node configuration
          1. Example configuration file for munin-node
        3. Managing plugins
      4. Top 6 features you need to know about
        1. Monitoring additional servers
          1. Step 1 – Installing munin-node
          2. Step 2 – Testing your munin-node installation
          3. Step 3 – Installing additional plugins
          4. Step 4 – Adding the new node to the master
          5. Troubleshooting
        2. Monitoring additional devices
          1. Step 1 – Enabling the SNMP interface plugin
          2. Step 2 – Testing the SNMP interface plugin
          3. Step 3 – Configuring the Munin master
        3. Installing sensor plugins
          1. Monitoring sensors through lm-sensors
          2. Monitoring sensors through IPMI
        4. Writing a simple plugin
          1. Step 1 – Gathering the information we need
          2. Step 2 – Designing the graph
          3. Step 3 – Writing the plugin
          4. Step 4 – Testing the plugin
          5. Challenge yourself!
        5. Writing a complex plugin
          1. Step 1 – Rewriting our bash plugin to Perl
          2. Step 2 – Documentation and markers
          3. Step 3 – Supporting the autoconf argument
          4. Step 4 – Adding support for the suggest argument
        6. Advanced plugin options
          1. dirtyconfig
          2. Multigraph
          3. Challenge yourself!
      5. People and places you should get to know
        1. Finding plugins
        2. Windows support
        3. Interesting websites