diff options
Diffstat (limited to 'lib')
-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, |