Dzahn has uploaded a new change for review. https://gerrit.wikimedia.org/r/295988
Change subject: rm misc::monitoring::view::hadoop ...................................................................... rm misc::monitoring::view::hadoop Looking at the view in Ganglia at https://ganglia.wikimedia.org/latest/?r=hour&cs=&ce=&m=cpu_report&s=by+name&c=&tab=v&vn=&hide-hf=false it is not working "No matching metrics detected .." and we would like to get rid of the remnants in misc/monitoring Change-Id: I56b7a200bceaf7ddbc118665c387d51c29889755 --- M manifests/misc/monitoring.pp 1 file changed, 0 insertions(+), 101 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/operations/puppet refs/changes/88/295988/1 diff --git a/manifests/misc/monitoring.pp b/manifests/misc/monitoring.pp index d71d240..9ae941f 100644 --- a/manifests/misc/monitoring.pp +++ b/manifests/misc/monitoring.pp @@ -7,11 +7,6 @@ topic_regex => 'webrequest_.+', } - class { 'misc::monitoring::view::hadoop': - master => 'analytics1001.eqiad.wmnet', - worker_regex => 'analytics10(11|[3-9]|20).eqiad.wmnet', - } - include misc::monitoring::views::dns } @@ -229,102 +224,6 @@ ], } } - - -# == Class misc::monitoring::view::hadoop -# -class misc::monitoring::view::hadoop($master, $worker_regex, $ensure = 'present') { - ganglia::web::view { 'hadoop': - ensure => $ensure, - graphs => [ - # ResourceManager active applications - { - 'host_regex' => $master, - 'metric_regex' => 'Hadoop.ResourceManager.QueueMetrics.*ActiveApplications', - 'type' => 'stack', - }, - # ResourceManager failed applications - { - 'host_regex' => $master, - 'metric_regex' => 'Hadoop.ResourceManager.QueueMetrics.*AppsFailed', - 'type' => 'stack', - }, - # NodeManager containers running - { - 'host_regex' => $worker_regex, - 'metric_regex' => 'Hadoop.NodeManager.NodeManagerMetrics.ContainersRunning', - 'type' => 'stack', - }, - # NodeManager Allocated Memeory GB - { - 'host_regex' => $worker_regex, - 'metric_regex' => 'Hadoop.NodeManager.NodeManagerMetrics.AllocatedGB', - 'type' => 'stack', - }, - # Worker Node bytes_in - { - 'host_regex' => $worker_regex, - 'metric_regex' => 'bytes_in', - 'type' => 'stack', - }, - # Worker Node bytes_out - { - 'host_regex' => $worker_regex, - 'metric_regex' => 'bytes_out', - 'type' => 'stack', - }, - # Primary NameNode File activity - { - 'host_regex' => $master, - 'metric_regex' => 'Hadoop.NameNode.NameNodeActivity.Files(Created|Deleted|Renamed|Appended)', - 'type' => 'line', - }, - # Worker Node /proc/diskstat bytes written per second - { - # FIXME - top-scope var without namespace ($worker_regex), will break in puppet 2.8 - # lint:ignore:variable_scope - 'host_regex' => $worker_regex, - 'metric_regex' => "diskstat_(${kafka_log_disks_regex})_write_bytes_per_sec", - 'type' => 'stack', - }, - # /proc/diskstat bytes read per second - { - 'host_regex' => $worker_regex, - 'metric_regex' => "diskstat_(${kafka_log_disks_regex})_read_bytes_per_sec", - 'type' => 'stack', - }, - # Worker Node /proc/diskstat disk utilization % - { - 'host_regex' => $worker_regex, - 'metric_regex' => "diskstat_(${kafka_log_disks_regex})_percent_io_time", - 'type' => 'line', - }, - # Worker Node /proc/diskstat IO time - { - 'host_regex' => $worker_regex, - 'metric_regex' => "diskstat_(${kafka_log_disks_regex})_io_time", - 'type' => 'line', - }, - # lint:endignore - # Worker Node 15 minute load average - { - 'host_regex' => $worker_regex, - 'metric_regex' => 'load_fifteen', - 'type' => 'line', - }, - # Worker Node IO wait - { - 'host_regex' => $worker_regex, - 'metric_regex' => 'cpu_wio', - 'type' => 'line', - }, - ], - } -} - - - - # == Class misc::monitoring::view::analytics::data -- To view, visit https://gerrit.wikimedia.org/r/295988 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I56b7a200bceaf7ddbc118665c387d51c29889755 Gerrit-PatchSet: 1 Gerrit-Project: operations/puppet Gerrit-Branch: production Gerrit-Owner: Dzahn <dz...@wikimedia.org> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits