Commit graph

2 commits

Author SHA1 Message Date
Sebastian Harl 3b0fa1b3d4 plugin_wrapper: Change return codes lt 0 or gt 3 to 3.
Else, Nagios will replace the plugin output with an hardcoded built-in value
to tell the user that the RC is out of range. However, when using the wrapper,
we're interested in the actual output.
2012-07-13 09:53:12 +02:00
Sebastian Harl 42f40c7c2b Added plugin_wrapper.pl.
This is a small wrapper to execute plugins, catching any errors, signals, etc.
returned by the script. This is primarily meant for Perl, Python, etc. scripts
to catch execution errors.
2012-04-30 10:39:42 +02:00