diff options
author | Sven Nierlein <sven@nierlein.org> | 2018-03-07 08:54:08 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-03-07 08:54:08 +0100 |
commit | 8180da509371afd3f3044b494a8cb87e70e73d64 (patch) | |
tree | 3b42d9e624bf44914aa8d83775a60ef185589baa | |
parent | 00660dfc0c5536e13f090c3d391d53d5d87c1e81 (diff) | |
parent | 77de65e149c519f551e03e11c9c26605c9866b72 (diff) | |
download | monitoring-plugin-perl-8180da5.tar.gz |
Merge pull request #18 from tejr/master
Remove "experimental" tag on "Message Methods"
-rw-r--r-- | lib/Monitoring/Plugin.pm | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/lib/Monitoring/Plugin.pm b/lib/Monitoring/Plugin.pm index 7e1c4d0..3052266 100644 --- a/lib/Monitoring/Plugin.pm +++ b/lib/Monitoring/Plugin.pm | |||
@@ -287,8 +287,7 @@ Icinga or Shinken (and compatible) plugins. | |||
287 | ); | 287 | ); |
288 | $np->plugin_exit( $code, "Threshold check failed" ) if $code != OK; | 288 | $np->plugin_exit( $code, "Threshold check failed" ) if $code != OK; |
289 | 289 | ||
290 | 290 | # Message methods | |
291 | # Message methods (EXPERIMENTAL AND SUBJECT TO CHANGE) - | ||
292 | # add_message( CODE, $message ); check_messages() | 291 | # add_message( CODE, $message ); check_messages() |
293 | for (@collection) { | 292 | for (@collection) { |
294 | if (m/Error/) { | 293 | if (m/Error/) { |
@@ -580,8 +579,6 @@ need to do that from a plugin script. | |||
580 | 579 | ||
581 | =head2 MESSAGE METHODS | 580 | =head2 MESSAGE METHODS |
582 | 581 | ||
583 | EXPERIMENTAL AND SUBJECT TO CHANGE | ||
584 | |||
585 | add_messages and check_messages are higher-level convenience methods to add | 582 | add_messages and check_messages are higher-level convenience methods to add |
586 | and then check a set of messages, returning an appropriate return code | 583 | and then check a set of messages, returning an appropriate return code |
587 | and/or result message. They are equivalent to maintaining a set of @critical, | 584 | and/or result message. They are equivalent to maintaining a set of @critical, |