summaryrefslogtreecommitdiffstats
path: root/node-admin
diff options
context:
space:
mode:
authorMorten Tokle <mortent@oath.com>2018-10-22 13:41:38 +0200
committerMorten Tokle <mortent@oath.com>2018-10-22 13:45:18 +0200
commit6586d73d3f40d74ad6ef347fe058b2b76db3b56c (patch)
treec41b48ff6f7a75ac68e94c72c459af931619954a /node-admin
parentc353afa3a49f3242e681eae0e38f3dde2f194478 (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.java4
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