mirror of
https://github.com/munin-monitoring/contrib.git
synced 2025-07-22 14:16:00 +00:00
Update chronyc path handling
Determination of chronyc path and inconsistency with the documentation
This commit is contained in:
parent
266e82bb81
commit
8121edb367
1 changed files with 2 additions and 2 deletions
|
@ -32,7 +32,7 @@ Examples:
|
||||||
|
|
||||||
Plugin configuration parameters
|
Plugin configuration parameters
|
||||||
|
|
||||||
# path to the crhonyc executable
|
# path to the crhonyc executable when it is not in the default path
|
||||||
env.chronycpath /usr/local/bin/chronyc
|
env.chronycpath /usr/local/bin/chronyc
|
||||||
|
|
||||||
# graphlimit sets the horizontal axis for seconds and PPM the
|
# graphlimit sets the horizontal axis for seconds and PPM the
|
||||||
|
@ -102,7 +102,7 @@ BEGIN{
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
my $chronyc = $ENV{'chrony'} || "/usr/local/bin/chronyc";
|
my $chronyc = $ENV{'chronycpath'} || `which chronyc`;
|
||||||
my $graphlimit = $ENV{'graphlimit'} || 1.0;
|
my $graphlimit = $ENV{'graphlimit'} || 1.0;
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue