Ottomata has submitted this change and it was merged.

Change subject: Add alerts for missing hours in pagecounts_all_sites and 
pagecounts_raw
......................................................................


Add alerts for missing hours in pagecounts_all_sites and pagecounts_raw

Change-Id: I6e1ba85c623cdaf33b057b215c5586498bbbcd3e
---
M manifests/role/analytics/refinery.pp
1 file changed, 8 insertions(+), 0 deletions(-)

Approvals:
  Ottomata: Verified; Looks good to me, approved



diff --git a/manifests/role/analytics/refinery.pp 
b/manifests/role/analytics/refinery.pp
index e41dc18..1a7ca1b 100644
--- a/manifests/role/analytics/refinery.pp
+++ b/manifests/role/analytics/refinery.pp
@@ -179,6 +179,14 @@
         hour        => 10,
         minute      => 0,
     }
+
+    cron { 'refinery data check pagecounts':
+        command     => 
"${::role::analytics::refinery::path}/bin/refinery-dump-status-webrequest-partitions
 --hdfs-mount ${hdfs_mount_point} --datasets 
pagecounts_all_sites,pagecounts_raw --quiet",
+        environment => '[email protected],[email protected]',
+        user        => 'hdfs', # See comment in above cron
+        hour        => 10,
+        minute      => 5,
+    }
 }
 
 # == Class role::analytics::refinery::source

-- 
To view, visit https://gerrit.wikimedia.org/r/205067
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I6e1ba85c623cdaf33b057b215c5586498bbbcd3e
Gerrit-PatchSet: 3
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: QChris <[email protected]>
Gerrit-Reviewer: Ottomata <[email protected]>
Gerrit-Reviewer: QChris <[email protected]>
Gerrit-Reviewer: jenkins-bot <>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to