O'Reilly logo

Nagios, 2nd Edition by Wolfgang Barth

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

24.2 The Perl Module Nagios::Plugin

If you want to create plugins in Perl with as little effort as possible, while at the same time conforming to the programming guidelines, the Perl module Nagios::Plugin is at hand to provide support to developers. We will introduce it here in version 0.21 from October 2007. In this version the main functions are well developed and should not undergo any major changes, apart from the message functions, which are still marked as being experimental.

This object-oriented module contains constants and variables to represent states; exit functions that use not only a Nagios-compatible exit code, but also the same formatting; and functions for testing thresholds and for the correct output of performance data. In addition, ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required