SHARE
Facebook X Pinterest WhatsApp

Tip of the Trade: Nagios Plugins

Written By
thumbnail Juliet Kemp
Juliet Kemp
Jul 20, 2010
ServerWatch content and product recommendations are editorially independent. We may make money when you click on links to our partners. Learn More



Juliet Kemp

The excellent open-source monitoring
software Nagios is set up to use plugins to do the actual work of checking services. Here are
some useful plugins from the official
plugin site
and an unofficial
plugin collection
.

Nagios is set up to use plugins to do the actual work of checking services. From cron-apt to check_jabber and more, here are some to get you started.

  • check_apt:
    Checks for apt software updates. The main advantage
    over cron-apt is that you can centralize your package monitoring: easier to refer to, and more obvious if a machine is missing.
  • check_jabber:
    The most useful aspect of this is the -D option, which warns
    when your jabber server certificate is close to expiring. Command-line
    options mean you can fine-tune what you send to the server and what
    you expect back.
  • check_mysql:
    By default this will check the local
    database anonymously. You can specify username, hostname, and so on, but
    be warned: Any password will be sent clear-text! A very useful feature is
    the ability to check whether the slave server is keeping up with the master
    server.
  • check_krb5 (homepage): Keep tabs
    on your Kerberos server. The plugin takes
    hostname, realm, principal and keytab options, so is appropriately secure.
  • check_ldap: Will check ldaps as well as ldap, but you do have to provide a login ID
    and password in plaintext, or just check anonymous bind.

More generally: Roll your own quickly with check_generic (homepage).
This lets you define a command and a set of expectations/thresholds for the return data, thus saving you much of the work involved in writing a plugin. The homepage has thorough documentation and examples.

thumbnail Juliet Kemp

Juliet Kemp is a ServerWatch contributor.

Recommended for you...

What Is a Container? Understanding Containerization
What Is a Print Server? | How It Works and What It Does
Nisar Ahmad
Dec 8, 2023
What Is a Network Policy Server (NPS)? | Essential Guide
Virtual Servers vs. Physical Servers: Comparison and Use Cases
Ray Fernandez
Nov 14, 2023
ServerWatch Logo

ServerWatch is a top resource on servers. Explore the latest news, reviews and guides for server administrators now.

Property of TechnologyAdvice. © 2025 TechnologyAdvice. All Rights Reserved

Advertiser Disclosure: Some of the products that appear on this site are from companies from which TechnologyAdvice receives compensation. This compensation may impact how and where products appear on this site including, for example, the order in which they appear. TechnologyAdvice does not include all companies or all types of products available in the marketplace.