Skip to content

emres/HDInsightOMS

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 

Repository files navigation

Install OMS Monitoring in HDInsight cluster

Use following script actions in HDInsight cluster to install OMS integration for following components. Script action needs two parameters from your OMS Log Analytics Workspace:

workspaceid, worspacekey

HBase

Select Head Node, Worker Node & Zookeeper Nodes

https://raw.githubusercontent.com/hdinsight/HDInsightOMS/master/monitoring/script2.sh

Spark

Select Head Node, Worker Nodes

https://raw.githubusercontent.com/hdinsight/HDInsightOMS/master/monitoring/scriptspark.sh

Interactive Hive

Select Head Node, Worker Nodes

https://raw.githubusercontent.com/hdinsight/HDInsightOMS/master/monitoring/installintractivehive.sh

Hive

Select Head Node, Worker Nodes

https://raw.githubusercontent.com/hdinsight/HDInsightOMS/master/monitoring/hivescript.sh

Once installed, you can check HDInsight Logs and Metrics data in Azure Log Analytics.

You can also import pre-built Import Views in Log Analytics (OMS) View

Spark View

https://raw.githubusercontent.com/hdinsight/HDInsightOMS/master/monitoring/sparkOMS.omsview

Hive View

https://raw.githubusercontent.com/hdinsight/HDInsightOMS/master/monitoring/hiveviewoms.omsview

Try few queries

Queries to try

(Type=metrics_resourcemanager_clustermetrics_CL)| measure max(NumActiveNMs_d) by ClusterName_s interval 10minute
(Type=metrics_resourcemanager_queue_root_default_CL) |measure max(AppsPending_d) as AppsPending by ClusterName_s interval 1HOUR
* (Type=log_sparkappsexecutors_CL) |select Message

About

MS Azure HDInsight and OMS integration for monitoring

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 90.5%
  • Ruby 9.5%