spk-logo-white-text-short2
0%
1-888-310-4540 (main) / 1-888-707-6150 (support) info@spkaa.com
Select Page

Creating a Custom Nagios Plugin

Written by Mike Solinap
Published on April 13, 2012

Nagios is an invaluable tool to help monitor a customer’s infrastructure.  Last year, I explained how easy it was to be able to integrate Network Appliance health checks.  In fact, Nagios provides a plethora of out of the box plugins.  Additional plugins are available via the Nagios Exchange site.  The most common applications and protocols can be monitored without any additional software or custom coding.  However, Nagios is just as easily extensible for any checks that you’d like to perform that aren’t readily available.

As part of SPK’s network management service, we find that all customers have very specific environments.  Not only is it common to find custom applications, but customers may also require a varying level of visibility into those apps.  For instance, the out of the box check_http script not only can verify connectivity to a web server, but it also can verify a specific string that should be returned.  But what we if we want dive much deeper?  Can we tell if the application throws any critical back-end errors during the login attempt?  What if logins never fail, but performance slowly degrades?  How can we be alerted to such situations?

These situations call for functionality beyond what the out-of-the box plugins can provide.  Writing a custom plugin might sound like a daunting task, but if you follow my simple guidelines and troubleshooting steps, you’ll be off and running in no time.  Read further on how you can create your own custom Nagios plugins.

Have a special situation that requires monitoring?  Let me know how I can help you integrate a Nagios monitoring solution.

Mike Solinap
Sr. Systems Integrator
SPK & Associates

Latest White Papers

How to Measure Success in Software Development

How to Measure Success in Software Development

Software development comes with the occasional challenge, which is why working efficiently is vital. Here are some ways to ensure your organization is achieving success. What You Will Learn In this eBook, you will discover how engineering leaders can effectively...

Related Resources

How to Measure Success in Software Development

How to Measure Success in Software Development

Software development comes with the occasional challenge, which is why working efficiently is vital. Here are some ways to ensure your organization is achieving success. What You Will Learn In this eBook, you will discover how engineering leaders can effectively...

Why Teams Are Replacing HP ALM with Jira

Why Teams Are Replacing HP ALM with Jira

For years, HP Application Lifecycle Management (formerly known as Quality Center) was a go-to solution for requirements, testing, and defect management. However, with product transitions and support timelines expiring, many organizations are reevaluating their...

How to Configure Your First GitLab CI/CD Pipeline

How to Configure Your First GitLab CI/CD Pipeline

Introduction: How To Configure CI/CD Pipelines in GitLab Hello and welcome to how to configure your first GitLab CI/CD pipeline. My name is Michael Roberts, I'm the vice president of sales and marketing here at SPK and Associates and I'm here today with. Darla Kost....