diff options
author | Morten Tokle <mortent@oath.com> | 2018-10-22 13:41:38 +0200 |
---|---|---|
committer | Morten Tokle <mortent@oath.com> | 2018-10-22 13:45:18 +0200 |
commit | 6586d73d3f40d74ad6ef347fe058b2b76db3b56c (patch) | |
tree | c41b48ff6f7a75ac68e94c72c459af931619954a /node-admin | |
parent | c353afa3a49f3242e681eae0e38f3dde2f194478 (diff) |
Use temp file age in routing-configage metric
Diffstat (limited to 'node-admin')
-rw-r--r-- | node-admin/src/main/java/com/yahoo/vespa/hosted/node/admin/maintenance/StorageMaintainer.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/node-admin/src/main/java/com/yahoo/vespa/hosted/node/admin/maintenance/StorageMaintainer.java b/node-admin/src/main/java/com/yahoo/vespa/hosted/node/admin/maintenance/StorageMaintainer.java index 6a9f0a69249..c9e4a8fac7d 100644 --- a/node-admin/src/main/java/com/yahoo/vespa/hosted/node/admin/maintenance/StorageMaintainer.java +++ b/node-admin/src/main/java/com/yahoo/vespa/hosted/node/admin/maintenance/StorageMaintainer.java @@ -111,8 +111,8 @@ public class StorageMaintainer { //routing-configage Path routingAgeCheckPath = context.pathInNodeUnderVespaHome("libexec/yamas2/yms_check_file_age.py"); SecretAgentCheckConfig routingAgeSchedule = new SecretAgentCheckConfig("routing-configage", 60, - routingAgeCheckPath, "-f", context.pathInNodeUnderVespaHome("var/vespa-hosted/routing/nginx.conf").toString(), - "-m", "90", "-a", "routing-configage"); + routingAgeCheckPath, "-f", context.pathInNodeUnderVespaHome("var/vespa-hosted/routing/nginx.conf.tmp").toString(), + "-m", "1", "-a", "routing-configage", "--ignore_file_not_found"); configs.add(annotatedCheck(context, node, routingAgeSchedule)); //ssl-check |