From 7bc4d133d9b546ef93c3f44da3cb4cacb3c0d18e Mon Sep 17 00:00:00 2001 From: Neraud Date: Fri, 3 Aug 2018 15:37:22 +0200 Subject: [PATCH] Improved configuration documentation --- plugins/git/git_commit_behind | 3 +++ 1 file changed, 3 insertions(+) diff --git a/plugins/git/git_commit_behind b/plugins/git/git_commit_behind index e97d4d49..96a9d5f8 100755 --- a/plugins/git/git_commit_behind +++ b/plugins/git/git_commit_behind @@ -47,6 +47,9 @@ Use your "/etc/munin/plugin-conf.d/munin-node" to configure this plugin. user root env.git_path /path/to/git +user root : required (to be able to switch to each repo user) +env.git_path : optional (default : /usr/bin/git), the path to the git binary. + Then, for each repository you want to check, you need the following configuration block under the git_commit_behind section env.repo.[repoCode].path /path/to/local/repo