diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2020-04-25 05:01:21 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2020-04-25 05:01:21 +1200 |
commit | 104758f31122a39253f8fefaa28c356963263174 (patch) | |
tree | d96cfe389845304b6e19b78adbf2cffc4426c563 | |
parent | Version 1.00 (diff) | |
download | nagios-check-mount-1.01.tar.gz (sig) nagios-check-mount-1.01.zip |
-rw-r--r-- | README.md | 48 | ||||
-rw-r--r-- | libexec/check_mount | 2 |
2 files changed, 49 insertions, 1 deletions
diff --git a/README.md b/README.md new file mode 100644 index 0000000..8d6470e --- /dev/null +++ b/README.md @@ -0,0 +1,48 @@ +check\_mount +============ + +This plugin takes a mountpoint and checks that a filesystem is mounted +thereupon, once and once only. + +Installation +------------ + + $ perl Makefile.PL + $ make + $ sudo make install + +Usage +----- + + Usage: check_mount --mountpoint|-m PATH + + -?, --usage + Print usage information + -h, --help + Print detailed help screen + -V, --version + Print version information + --extra-opts=[section][@file] + Read options from an ini file. See https://www.monitoring-plugins.org/doc/extra-opts.html + for usage and examples. + -m, --mountpoint=PATH + Path to mountpoint + -t, --timeout=INTEGER + Seconds before plugin times out (default: 15) + -v, --verbose + Show details for command-line debugging (can repeat up to 3 times) + +Thanks +------ + +This was written on company time with my employer [Inspire Net][1], who has +generously allowed me to open source it. + +License +------- + +Copyright (c) [Tom Ryder][2]. Distributed under [MIT License][3]. + +[1]: https://www.inspire.net.nz/ +[2]: https://sanctum.geek.nz/ +[3]: https://opensource.org/licenses/MIT diff --git a/libexec/check_mount b/libexec/check_mount index 31481c1..946eddc 100644 --- a/libexec/check_mount +++ b/libexec/check_mount @@ -25,7 +25,7 @@ use Quota; use Try::Tiny; # Decree package version -our $VERSION = '1.00'; +our $VERSION = '1.01'; # Add description and license package variables our $DESCRIPTION = <<'EOF'; |