1
0
Fork 0
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:
OMK 2020-11-03 13:23:13 +01:00
parent 266e82bb81
commit 8121edb367

View file

@ -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;