diff options
Diffstat (limited to 'lib/Monitoring')
-rw-r--r-- | lib/Monitoring/Plugin.pm | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/lib/Monitoring/Plugin.pm b/lib/Monitoring/Plugin.pm index b39fc7a..9b2e371 100644 --- a/lib/Monitoring/Plugin.pm +++ b/lib/Monitoring/Plugin.pm | |||
@@ -412,6 +412,32 @@ following options: | |||
412 | 412 | ||
413 | =back | 413 | =back |
414 | 414 | ||
415 | =head2 GETTER/SETTER | ||
416 | |||
417 | The following internal variables can be retrieved or set by calling a | ||
418 | method with the respective name. Expect for C<shortname>, don't change | ||
419 | values unless you know what you're doing. | ||
420 | |||
421 | Examples: | ||
422 | |||
423 | use Data::Dumper; | ||
424 | print Dumper($plugin->perfdata); | ||
425 | $plugin->shortname('DifferentName'); | ||
426 | |||
427 | =over | ||
428 | |||
429 | =item shortname | ||
430 | |||
431 | =item perfdata | ||
432 | |||
433 | =item messages | ||
434 | |||
435 | =item opts | ||
436 | |||
437 | =item threshold | ||
438 | |||
439 | =back | ||
440 | |||
415 | =head2 OPTION HANDLING METHODS | 441 | =head2 OPTION HANDLING METHODS |
416 | 442 | ||
417 | C<Monitoring::Plugin> provides these methods for accessing the functionality in C<Monitoring::Plugin::Getopt>. | 443 | C<Monitoring::Plugin> provides these methods for accessing the functionality in C<Monitoring::Plugin::Getopt>. |