| 1 | #!/usr/bin/env perl | ||
| 2 | # | ||
| 3 | # Plugin for checking availability... well, whatever - because it does | ||
| 4 | # notjing except to kill itself. | ||
| 5 | # | ||
| 6 | # Usage: born-to-be-killed.pl | ||
| 7 | # | ||
| 8 | # The return code and STDOUT are compatible with the Nagios plugins | ||
| 9 | # (see: http://nagios.sourceforge.net/docs/3_0/quickstart.html) | ||
| 10 | # | ||
| 11 | # September 2011 | ||
| 12 | # Author: Martin Senger <martin.senger@gmail.com> | ||
| 13 | #----------------------------------------------------------------- | ||
| 14 | |||
| 15 | use warnings; | ||
| 16 | use strict; | ||
| 17 | |||
| 18 | use Monitor::Simple; | ||
| 19 | |||
| 20 | kill 9 => $$; | ||
| 21 | |||
| 22 | __END__ |