From ed6e606b721cfaa5c56c44288d96fc9c9404067d Mon Sep 17 00:00:00 2001 From: "Mr. Robot" Date: Thu, 24 Dec 2020 09:41:32 +0100 Subject: [PATCH] add data source for check_memory --- data/check_memory.json | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 data/check_memory.json diff --git a/data/check_memory.json b/data/check_memory.json new file mode 100644 index 0000000..09d7a00 --- /dev/null +++ b/data/check_memory.json @@ -0,0 +1,15 @@ +{ + "description": "This is the 'check_memory' 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_memory --extra-opts=@[file]\n" + } + ], + "sudo": [ + { + "code": "sudo check_memory --extra-opts=@[file]\n" + } + ] + } +}