From 72e5ba2b01da2863cec3d54692d127bda529c257 Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Tue, 20 Nov 2018 14:30:44 +1300 Subject: Rename README.markdown to README.md --- README.markdown | 19 ------------------- README.md | 19 +++++++++++++++++++ 2 files changed, 19 insertions(+), 19 deletions(-) delete mode 100644 README.markdown create mode 100644 README.md diff --git a/README.markdown b/README.markdown deleted file mode 100644 index ebb1849..0000000 --- a/README.markdown +++ /dev/null @@ -1,19 +0,0 @@ -nscaw -===== - -Command wrapper that sends an appropriate passive check to an NSCA server using -`send_nsca`, depending on the command's outcome. - -Make sure `send_nsca` is in `$PATH`. You'll almost certainly want to set -`NSCA_SERVER` in `/etc/default/nscaw` as well, but it makes an effort in -defaulting to `nsca`. - - $ nscaw IMPORTANT_JOB -- important-job -o options args ... - -License -------- - -Copyright (c) [Tom Ryder][1]. Distributed under [MIT License][2]. - -[1]: https://sanctum.geek.nz/ -[2]: http://opensource.org/licenses/MIT diff --git a/README.md b/README.md new file mode 100644 index 0000000..ebb1849 --- /dev/null +++ b/README.md @@ -0,0 +1,19 @@ +nscaw +===== + +Command wrapper that sends an appropriate passive check to an NSCA server using +`send_nsca`, depending on the command's outcome. + +Make sure `send_nsca` is in `$PATH`. You'll almost certainly want to set +`NSCA_SERVER` in `/etc/default/nscaw` as well, but it makes an effort in +defaulting to `nsca`. + + $ nscaw IMPORTANT_JOB -- important-job -o options args ... + +License +------- + +Copyright (c) [Tom Ryder][1]. Distributed under [MIT License][2]. + +[1]: https://sanctum.geek.nz/ +[2]: http://opensource.org/licenses/MIT -- cgit v1.2.3 From f087a40a563a39fd8c09a115f38eab03071b3398 Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Tue, 20 Nov 2018 14:31:07 +1300 Subject: Remove superfluous dest from install target --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 4932b9b..bd1c790 100644 --- a/Makefile +++ b/Makefile @@ -4,4 +4,4 @@ PREFIX = /usr/local all: install: - cp -- nscaw $(PREFIX)/bin/nscaw + cp -- nscaw $(PREFIX)/bin -- cgit v1.2.3 From 75d4bf3c4575d0147250eb97f86a35d3f3349867 Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Tue, 20 Nov 2018 14:31:52 +1300 Subject: Add "all" to .PHONY targets --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index bd1c790..9814ba5 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,5 @@ .POSIX: -.PHONY: install +.PHONY: all install .SUFFIXES: PREFIX = /usr/local all: -- cgit v1.2.3 From a9541b34dfa73d4ec534c2d212193bf0a7acef0a Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Tue, 20 Nov 2018 14:33:14 +1300 Subject: Add VERSION file --- VERSION | 1 + 1 file changed, 1 insertion(+) create mode 100644 VERSION diff --git a/VERSION b/VERSION new file mode 100644 index 0000000..3eefcb9 --- /dev/null +++ b/VERSION @@ -0,0 +1 @@ +1.0.0 -- cgit v1.2.3