Up to [local] / nagios / check_bioctl
Request diff between arbitrary revisions
Default branch: MAIN
Revision 1.23 / (download) - annotate - [select for diffs], Wed Feb 8 19:00:15 2017 UTC (7 years, 4 months ago) by andrew
Branch: MAIN
CVS Tags: HEAD
Changes since 1.22: +11 -6 lines
Diff to previous 1.22 (colored) to selected 1.15 (colored)
Fail with UNKNOWN state if bioctl fails Suggested by obsd AT chown.me's coworker
Revision 1.22 / (download) - annotate - [select for diffs], Wed Feb 8 17:34:23 2017 UTC (7 years, 4 months ago) by andrew
Branch: MAIN
Changes since 1.21: +4 -4 lines
Diff to previous 1.21 (colored) to selected 1.15 (colored)
Pass "-n" to doas for non-interactive use
Revision 1.21 / (download) - annotate - [select for diffs], Wed Feb 8 16:31:55 2017 UTC (7 years, 4 months ago) by andrew
Branch: MAIN
Changes since 1.20: +4 -4 lines
Diff to previous 1.20 (colored) to selected 1.15 (colored)
Switch from sudo to doas I nearly forgot sudo was a thing. Thanks to obsd AT chown.me for the patch.
Revision 1.20 / (download) - annotate - [select for diffs], Fri Jun 27 18:59:56 2014 UTC (10 years ago) by andrew
Branch: MAIN
Changes since 1.19: +4 -3 lines
Diff to previous 1.19 (colored) to selected 1.15 (colored)
Only require sudo for the actual bioctl call This means we don't need to run perl as root. from Florian Obser florian@
Revision 1.19 / (download) - annotate - [select for diffs], Tue Dec 27 02:23:57 2011 UTC (12 years, 6 months ago) by andrew
Branch: MAIN
Changes since 1.18: +34 -39 lines
Diff to previous 1.18 (colored) to selected 1.15 (colored)
use perl 5.010 (state variables and say)
Revision 1.18 / (download) - annotate - [select for diffs], Tue Dec 27 02:12:38 2011 UTC (12 years, 6 months ago) by andrew
Branch: MAIN
Changes since 1.17: +20 -26 lines
Diff to previous 1.17 (colored) to selected 1.15 (colored)
Don't use indexes anymore, too brittle.
Revision 1.17 / (download) - annotate - [select for diffs], Tue Dec 27 01:32:01 2011 UTC (12 years, 6 months ago) by andrew
Branch: MAIN
Changes since 1.16: +3 -3 lines
Diff to previous 1.16 (colored) to selected 1.15 (colored)
Output from bioctl change. Thanks merdely http://www.openbsd.org/cgi-bin/cvsweb/src/sbin/bioctl/bioctl.c.diff?r1=1.98;r2=1.99;f=h From Mike Erdely <mike@erdelynet.com>
Revision 1.16 / (download) - annotate - [select for diffs], Mon Nov 23 22:25:15 2009 UTC (14 years, 7 months ago) by andrew
Branch: MAIN
Changes since 1.15: +4 -4 lines
Diff to previous 1.15 (colored)
want NAGIOS_OUTPUT = 1 when committed
Revision 1.15 / (download) - annotate - [selected], Mon Nov 23 22:24:45 2009 UTC (14 years, 7 months ago) by andrew
Branch: MAIN
Changes since 1.14: +24 -37 lines
Diff to previous 1.14 (colored)
prettify
Revision 1.14 / (download) - annotate - [select for diffs], Mon Nov 23 21:58:04 2009 UTC (14 years, 7 months ago) by andrew
Branch: MAIN
Changes since 1.13: +3 -4 lines
Diff to previous 1.13 (colored) to selected 1.15 (colored)
Not sure where that came from
Revision 1.13 / (download) - annotate - [select for diffs], Mon Nov 23 21:57:31 2009 UTC (14 years, 7 months ago) by andrew
Branch: MAIN
Changes since 1.12: +39 -37 lines
Diff to previous 1.12 (colored) to selected 1.15 (colored)
perltidy
Revision 1.12 / (download) - annotate - [select for diffs], Mon Nov 23 21:52:53 2009 UTC (14 years, 7 months ago) by andrew
Branch: MAIN
Changes since 1.11: +12 -11 lines
Diff to previous 1.11 (colored) to selected 1.15 (colored)
can't use 5.10 yet
Revision 1.11 / (download) - annotate - [select for diffs], Mon Nov 23 21:45:58 2009 UTC (14 years, 7 months ago) by andrew
Branch: MAIN
Changes since 1.10: +127 -92 lines
Diff to previous 1.10 (colored) to selected 1.15 (colored)
make perlcritic happier
Revision 1.10 / (download) - annotate - [select for diffs], Thu Nov 12 18:54:38 2009 UTC (14 years, 7 months ago) by andrew
Branch: MAIN
Changes since 1.9: +19 -7 lines
Diff to previous 1.9 (colored) to selected 1.15 (colored)
add an alarm to keep from hanging nagios
Revision 1.9 / (download) - annotate - [select for diffs], Mon Nov 9 20:22:43 2009 UTC (14 years, 8 months ago) by andrew
Branch: MAIN
Changes since 1.8: +30 -6 lines
Diff to previous 1.8 (colored) to selected 1.15 (colored)
fix the license
Revision 1.8 / (download) - annotate - [select for diffs], Mon Nov 9 18:11:33 2009 UTC (14 years, 8 months ago) by andrew
Branch: MAIN
Changes since 1.7: +6 -8 lines
Diff to previous 1.7 (colored) to selected 1.15 (colored)
cleanup
Revision 1.7 / (download) - annotate - [select for diffs], Mon Nov 9 18:00:09 2009 UTC (14 years, 8 months ago) by andrew
Branch: MAIN
Changes since 1.6: +115 -109 lines
Diff to previous 1.6 (colored) to selected 1.15 (colored)
perltidy
Revision 1.6 / (download) - annotate - [select for diffs], Mon Nov 9 17:58:29 2009 UTC (14 years, 8 months ago) by andrew
Branch: MAIN
Changes since 1.5: +4 -4 lines
Diff to previous 1.5 (colored) to selected 1.15 (colored)
speeleeng
Revision 1.5 / (download) - annotate - [select for diffs], Mon Nov 9 17:57:32 2009 UTC (14 years, 8 months ago) by andrew
Branch: MAIN
Changes since 1.4: +6 -9 lines
Diff to previous 1.4 (colored) to selected 1.15 (colored)
Instead of looping through all the statuses twice, just check if it is more critical before setting it.
Revision 1.4 / (download) - annotate - [select for diffs], Mon Jul 31 20:47:07 2006 UTC (17 years, 11 months ago) by andrew
Branch: MAIN
Changes since 1.3: +4 -4 lines
Diff to previous 1.3 (colored) to selected 1.15 (colored)
Offline is CRITICAL. Thanks marco@
Revision 1.3 / (download) - annotate - [select for diffs], Thu Jul 27 20:34:02 2006 UTC (17 years, 11 months ago) by andrew
Branch: MAIN
Changes since 1.2: +23 -36 lines
Diff to previous 1.2 (colored) to selected 1.15 (colored)
use the device as entered on the command line as part of the index. clean out some old debug stuff some other cleanup change the exit code if we don't have any results to "UNKNOWN" instead of "OK".
Revision 1.2 / (download) - annotate - [select for diffs], Thu Jul 27 01:08:13 2006 UTC (17 years, 11 months ago) by andrew
Branch: MAIN
Changes since 1.1: +61 -63 lines
Diff to previous 1.1 (colored) to selected 1.15 (colored)
Support multiple devices in a single run. w00 h00!
Revision 1.1 / (download) - annotate - [select for diffs], Thu Jul 27 00:02:43 2006 UTC (17 years, 11 months ago) by andrew
Branch: MAIN
Diff to selected 1.15 (colored)
add the fancy new check_bioctl. It should be t3h r0x0rZ