fbpx
1-888-310-4540 (main) / 1-888-707-6150 (support) info@spkaa.com
Select Page

Creating a Custom Nagios Plugin

Published by Mike Solinap
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

The Ultimate Jira Data Protection

The Ultimate Jira Data Protection

Remote work is here to stay, and companies are turning to cloud-based solutions to support their teams. Atlassian's suite of products is a top choice for businesses worldwide. But, many businesses are still unsure about its built-in data protection capabilities....

Related Resources

5 Reasons to Celebrate SPK’s 20th Birthday

5 Reasons to Celebrate SPK’s 20th Birthday

It’s a landmark year for our team at SPK and Associates this year - we’re celebrating our 20th birthday! We’ve grown from our humble beginnings in Los Gatos, California with two people working for us back in 2003. Now, we’re an internationally established business and...

Accelerating Products to Market with SAFe 6.0

Accelerating Products to Market with SAFe 6.0

Earlier in March 2023, Scaled Agile, Inc., provider of SAFe®, the world’s most trusted system for business agility, announced two new flagship products: SAFe® 6.0 and SAFe® Studio. SAFe 6.0 is the latest version of the Scaled Agile Framework®, which includes courses,...