From f6a6fc7ef55a6510381f8ca2e9e29980793dcdeb Mon Sep 17 00:00:00 2001 From: "Mr. Robot" Date: Thu, 24 Dec 2020 09:45:55 +0100 Subject: [PATCH] add data source for check_cups --- data/check_cups.json | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 data/check_cups.json diff --git a/data/check_cups.json b/data/check_cups.json new file mode 100644 index 0000000..f1464c5 --- /dev/null +++ b/data/check_cups.json @@ -0,0 +1,15 @@ +{ + "description": "This is the 'check_cups' Nagios plugin, available e.g. in '/usr/lib/nagios/plugins/'. The read file content is limited to the first line.\n", + "functions": { + "file-read": [ + { + "code": "check_cups --extra-opts=@[file]\n" + } + ], + "sudo": [ + { + "code": "sudo check_cups --extra-opts=@[file]\n" + } + ] + } +}