SlideShare una empresa de Scribd logo
1 de 6
Descargar para leer sin conexión
Pandora FMS
Apache Hbase Plugin
Administrator Manual
Index
1. INTRODUCTION............................................................................................................................3
2. COMPATIBILITY MATRIX............................................................................................................3
3. MODULES GENERATED BY THE PLUGIN...............................................................................3
4. PREREQUISITES............................................................................................................................4
5. SPECIFIC HBASE CONFIGURATION.........................................................................................4
6. File Configuration............................................................................................................................5
7. Plugin Execution..............................................................................................................................6
Page 2
1. INTRODUCTION
This document's main objective is the description of the Apache HBase monitoring procedures on
Linux-based systems.
To extract information this plugin uses:
• Specif system commands (ps, netstat, grep, wc, etc) with no need to install libraries or third
party tools.
• The information server of Hbase to retrieve information through HTTP protocol.
2. COMPATIBILITY MATRIX
The compatibility matrix for Apache HBase monitoring is:
Systems where it has been tested
• Apache Hbase 0.94.18 (Standalone
version)
Systems where it should work • Apache Hbase 0.94.18 or above
3. MODULES GENERATED BY THE PLUGIN
This plugin returns 18 modules. All of them display valuable status information. You can fix
thresholds manually to determine whether something is in a warning/critical or operative condition.
• Hbase Alive: It shows if Hbase is running. If this goes critical then the rest of the modules
won't be created.
Page 3
• Hbase Connections: Display the amout of network connections in database.
• Hbase CPU Usage: The percentage of CPU used by HBase.
• Hbase Memory Usage: The percentage of Memory used by Hbase.
• Hbase Heap Memory Used: The percentage of heap memory used by Hbase.
• Hbase Process State: The state of Hbase process.
• Hbase Tables: Number of tables in Hbase.
• Hbase Time in CPU: It's the CPU time used by the process of Hbase so far.
• Hbase/Region Servers Online: Number of Region Servers Online right now.
• Hbase/Region Server Request per second: Request per second of the RegionServer of
Hbase.
• Hbase Log Warning Messages: Number of warning messages in Hbase Log.
• Hbase Log Errors: Number of error messages in Hbase log.
• Hbase/Region Server Cache Hit Ratio: Block cache hit ratio (0 to 100%) from RegionServer
• Hbase/Region Server Flush Queue Size: Point in time number of enqueued regions in the
MemSotre awaiting flush.
• Hbase/Region Server Compaction time: Point in time length of the compaction queue. This
is the number of Stores in the RegionServer that have been targeted for compaction.
• Hbase/Region Server Memstore Size: Point in time sum of all the memstore sizes in the
RegionServer.
• Hbase/Region Server Read Request: Number of read requests for RegionServer.
• Hbase/Region Server Write Request: Number of write request for RegionServer
• Hbase/Region Server Number of Online Regions: Nomber of regions served by the
RegionServer
4. PREREQUISITES
The HBase monitoring is done retrieving data from the information server of Hbase Master and also
getting data from Linux commands (i.e, ps, netstat, grep, etc).
The prerequisites for this monitoring to work correctly are the following:
• Hbase must be unpacked in /etc/hbase.
• A local pandora agent must be installed and configured.
• The HBase log files must be located in the following path:
/etc/hbase/logs/
• Version 7 or above of Java is requiered to run Hbase
• The JAVA_HOME enviroment variable must be defined in /etc/profile file.
5. SPECIFIC HBASE CONFIGURATION
Page 4
This plugin needs a specific configuration for Hbase to be able to retrieve the right information
throught the information server of Hbase.
First of all, Hbase must be unpacked in /etc. The folder must be called “hbase” all the files which
will be used by Hbase will be in that folder.
Before starting Hbase we should modify the configuration file of Hbase located in /etc/hbase/conf
depending of our needs.
We have to edit/add the following lines in hbase-site.xml, between the “configuration” tags
(<configuration> and </configuration>).
<property>
<name>hbase.master.info.port</name>
<value>16010</value>
</property>
<property>
<name>hbase.master.info.bindAddress</name>
<value>127.0.0.1</value>
</property>
6. FILE CONFIGURATION
In order to configure correctly this plugin there are a few steps that should be followed:
• Move the hbase_plugin.sh file from the default download directory to the
/etc/pandora/plugins/ directory:
• Assign necessary permitions to hbase.pl script:
chmod +x hbase_plugin.pl
• At the end of the pandora_agent.conf file add the following line:
module_plugin /etc/pandora/plugins/hbase_plugin.pl
• Restart the pandora agent process writing: service pandora_agent_daemon restart
Page 5
7. PLUGIN EXECUTION
If everything is working fine you should be able to see the following image with all the modules
created.
Page 6

Más contenido relacionado

Más de Pandora FMS

Pandora FMS: Plugin Enterprise de Exchange
Pandora FMS: Plugin Enterprise de ExchangePandora FMS: Plugin Enterprise de Exchange
Pandora FMS: Plugin Enterprise de ExchangePandora FMS
 
Pandora FMS: Exchange Enterprise plugin
Pandora FMS: Exchange Enterprise pluginPandora FMS: Exchange Enterprise plugin
Pandora FMS: Exchange Enterprise pluginPandora FMS
 
Pandora FMS: Plugin de monitorización de cliente de Exchage
Pandora FMS: Plugin de monitorización de cliente de ExchagePandora FMS: Plugin de monitorización de cliente de Exchage
Pandora FMS: Plugin de monitorización de cliente de ExchagePandora FMS
 
Pandora FMS: End to End Exchange Plugin
Pandora FMS: End to End Exchange PluginPandora FMS: End to End Exchange Plugin
Pandora FMS: End to End Exchange PluginPandora FMS
 
Pandora FMS: Monitorización de Blackberry Exchange
Pandora FMS: Monitorización de Blackberry ExchangePandora FMS: Monitorización de Blackberry Exchange
Pandora FMS: Monitorización de Blackberry ExchangePandora FMS
 
Pandora FMS: Blackberry Exchange Monitoring
Pandora FMS: Blackberry Exchange MonitoringPandora FMS: Blackberry Exchange Monitoring
Pandora FMS: Blackberry Exchange MonitoringPandora FMS
 
Pandora FMS: Plugin de Exchange ActivSync
Pandora FMS: Plugin de Exchange ActivSyncPandora FMS: Plugin de Exchange ActivSync
Pandora FMS: Plugin de Exchange ActivSyncPandora FMS
 
Pandora FMS: Exchange ActivSync Plugin
Pandora FMS: Exchange ActivSync PluginPandora FMS: Exchange ActivSync Plugin
Pandora FMS: Exchange ActivSync PluginPandora FMS
 
Pandora FMS: Plugin Enterprise de VMware
Pandora FMS: Plugin Enterprise de VMwarePandora FMS: Plugin Enterprise de VMware
Pandora FMS: Plugin Enterprise de VMwarePandora FMS
 
Pandora FMS: VMware Enterprise Plugin
Pandora FMS: VMware Enterprise PluginPandora FMS: VMware Enterprise Plugin
Pandora FMS: VMware Enterprise PluginPandora FMS
 
Pandora FMS: Plugin de monitorización de Hyper V
Pandora FMS: Plugin de monitorización de Hyper VPandora FMS: Plugin de monitorización de Hyper V
Pandora FMS: Plugin de monitorización de Hyper VPandora FMS
 
Pandora FMS: Hyper V Plugin
Pandora FMS: Hyper V PluginPandora FMS: Hyper V Plugin
Pandora FMS: Hyper V PluginPandora FMS
 
Pandora FMS: Plugin de correo Imap
Pandora FMS: Plugin de correo ImapPandora FMS: Plugin de correo Imap
Pandora FMS: Plugin de correo ImapPandora FMS
 
Pandora FMS: PostgreSQL Plugin
Pandora FMS: PostgreSQL PluginPandora FMS: PostgreSQL Plugin
Pandora FMS: PostgreSQL PluginPandora FMS
 
Pandora FMS: Monitorización de servidores MySQL
Pandora FMS: Monitorización de servidores MySQLPandora FMS: Monitorización de servidores MySQL
Pandora FMS: Monitorización de servidores MySQLPandora FMS
 
Pandora FMS: Mysql Server Monitoring
Pandora FMS: Mysql Server MonitoringPandora FMS: Mysql Server Monitoring
Pandora FMS: Mysql Server MonitoringPandora FMS
 
Pandora FMS: MongoDB plugin
Pandora FMS: MongoDB pluginPandora FMS: MongoDB plugin
Pandora FMS: MongoDB pluginPandora FMS
 
Pandora FMS: Informix plugin
Pandora FMS: Informix pluginPandora FMS: Informix plugin
Pandora FMS: Informix pluginPandora FMS
 
Pandora FMS: Informix Plugin
Pandora FMS: Informix PluginPandora FMS: Informix Plugin
Pandora FMS: Informix PluginPandora FMS
 
Pandora FMS: Plugin Enterprise de monitorización de servidor DB2
Pandora FMS: Plugin Enterprise de monitorización de servidor DB2Pandora FMS: Plugin Enterprise de monitorización de servidor DB2
Pandora FMS: Plugin Enterprise de monitorización de servidor DB2Pandora FMS
 

Más de Pandora FMS (20)

Pandora FMS: Plugin Enterprise de Exchange
Pandora FMS: Plugin Enterprise de ExchangePandora FMS: Plugin Enterprise de Exchange
Pandora FMS: Plugin Enterprise de Exchange
 
Pandora FMS: Exchange Enterprise plugin
Pandora FMS: Exchange Enterprise pluginPandora FMS: Exchange Enterprise plugin
Pandora FMS: Exchange Enterprise plugin
 
Pandora FMS: Plugin de monitorización de cliente de Exchage
Pandora FMS: Plugin de monitorización de cliente de ExchagePandora FMS: Plugin de monitorización de cliente de Exchage
Pandora FMS: Plugin de monitorización de cliente de Exchage
 
Pandora FMS: End to End Exchange Plugin
Pandora FMS: End to End Exchange PluginPandora FMS: End to End Exchange Plugin
Pandora FMS: End to End Exchange Plugin
 
Pandora FMS: Monitorización de Blackberry Exchange
Pandora FMS: Monitorización de Blackberry ExchangePandora FMS: Monitorización de Blackberry Exchange
Pandora FMS: Monitorización de Blackberry Exchange
 
Pandora FMS: Blackberry Exchange Monitoring
Pandora FMS: Blackberry Exchange MonitoringPandora FMS: Blackberry Exchange Monitoring
Pandora FMS: Blackberry Exchange Monitoring
 
Pandora FMS: Plugin de Exchange ActivSync
Pandora FMS: Plugin de Exchange ActivSyncPandora FMS: Plugin de Exchange ActivSync
Pandora FMS: Plugin de Exchange ActivSync
 
Pandora FMS: Exchange ActivSync Plugin
Pandora FMS: Exchange ActivSync PluginPandora FMS: Exchange ActivSync Plugin
Pandora FMS: Exchange ActivSync Plugin
 
Pandora FMS: Plugin Enterprise de VMware
Pandora FMS: Plugin Enterprise de VMwarePandora FMS: Plugin Enterprise de VMware
Pandora FMS: Plugin Enterprise de VMware
 
Pandora FMS: VMware Enterprise Plugin
Pandora FMS: VMware Enterprise PluginPandora FMS: VMware Enterprise Plugin
Pandora FMS: VMware Enterprise Plugin
 
Pandora FMS: Plugin de monitorización de Hyper V
Pandora FMS: Plugin de monitorización de Hyper VPandora FMS: Plugin de monitorización de Hyper V
Pandora FMS: Plugin de monitorización de Hyper V
 
Pandora FMS: Hyper V Plugin
Pandora FMS: Hyper V PluginPandora FMS: Hyper V Plugin
Pandora FMS: Hyper V Plugin
 
Pandora FMS: Plugin de correo Imap
Pandora FMS: Plugin de correo ImapPandora FMS: Plugin de correo Imap
Pandora FMS: Plugin de correo Imap
 
Pandora FMS: PostgreSQL Plugin
Pandora FMS: PostgreSQL PluginPandora FMS: PostgreSQL Plugin
Pandora FMS: PostgreSQL Plugin
 
Pandora FMS: Monitorización de servidores MySQL
Pandora FMS: Monitorización de servidores MySQLPandora FMS: Monitorización de servidores MySQL
Pandora FMS: Monitorización de servidores MySQL
 
Pandora FMS: Mysql Server Monitoring
Pandora FMS: Mysql Server MonitoringPandora FMS: Mysql Server Monitoring
Pandora FMS: Mysql Server Monitoring
 
Pandora FMS: MongoDB plugin
Pandora FMS: MongoDB pluginPandora FMS: MongoDB plugin
Pandora FMS: MongoDB plugin
 
Pandora FMS: Informix plugin
Pandora FMS: Informix pluginPandora FMS: Informix plugin
Pandora FMS: Informix plugin
 
Pandora FMS: Informix Plugin
Pandora FMS: Informix PluginPandora FMS: Informix Plugin
Pandora FMS: Informix Plugin
 
Pandora FMS: Plugin Enterprise de monitorización de servidor DB2
Pandora FMS: Plugin Enterprise de monitorización de servidor DB2Pandora FMS: Plugin Enterprise de monitorización de servidor DB2
Pandora FMS: Plugin Enterprise de monitorización de servidor DB2
 

Último

React Server Component in Next.js by Hanief Utama
React Server Component in Next.js by Hanief UtamaReact Server Component in Next.js by Hanief Utama
React Server Component in Next.js by Hanief UtamaHanief Utama
 
Machine Learning Software Engineering Patterns and Their Engineering
Machine Learning Software Engineering Patterns and Their EngineeringMachine Learning Software Engineering Patterns and Their Engineering
Machine Learning Software Engineering Patterns and Their EngineeringHironori Washizaki
 
Innovate and Collaborate- Harnessing the Power of Open Source Software.pdf
Innovate and Collaborate- Harnessing the Power of Open Source Software.pdfInnovate and Collaborate- Harnessing the Power of Open Source Software.pdf
Innovate and Collaborate- Harnessing the Power of Open Source Software.pdfYashikaSharma391629
 
Simplifying Microservices & Apps - The art of effortless development - Meetup...
Simplifying Microservices & Apps - The art of effortless development - Meetup...Simplifying Microservices & Apps - The art of effortless development - Meetup...
Simplifying Microservices & Apps - The art of effortless development - Meetup...Rob Geurden
 
Automate your Kamailio Test Calls - Kamailio World 2024
Automate your Kamailio Test Calls - Kamailio World 2024Automate your Kamailio Test Calls - Kamailio World 2024
Automate your Kamailio Test Calls - Kamailio World 2024Andreas Granig
 
Salesforce Implementation Services PPT By ABSYZ
Salesforce Implementation Services PPT By ABSYZSalesforce Implementation Services PPT By ABSYZ
Salesforce Implementation Services PPT By ABSYZABSYZ Inc
 
Implementing Zero Trust strategy with Azure
Implementing Zero Trust strategy with AzureImplementing Zero Trust strategy with Azure
Implementing Zero Trust strategy with AzureDinusha Kumarasiri
 
Call Us🔝>༒+91-9711147426⇛Call In girls karol bagh (Delhi)
Call Us🔝>༒+91-9711147426⇛Call In girls karol bagh (Delhi)Call Us🔝>༒+91-9711147426⇛Call In girls karol bagh (Delhi)
Call Us🔝>༒+91-9711147426⇛Call In girls karol bagh (Delhi)jennyeacort
 
PREDICTING RIVER WATER QUALITY ppt presentation
PREDICTING  RIVER  WATER QUALITY  ppt presentationPREDICTING  RIVER  WATER QUALITY  ppt presentation
PREDICTING RIVER WATER QUALITY ppt presentationvaddepallysandeep122
 
Precise and Complete Requirements? An Elusive Goal
Precise and Complete Requirements? An Elusive GoalPrecise and Complete Requirements? An Elusive Goal
Precise and Complete Requirements? An Elusive GoalLionel Briand
 
Odoo 14 - eLearning Module In Odoo 14 Enterprise
Odoo 14 - eLearning Module In Odoo 14 EnterpriseOdoo 14 - eLearning Module In Odoo 14 Enterprise
Odoo 14 - eLearning Module In Odoo 14 Enterprisepreethippts
 
20240415 [Container Plumbing Days] Usernetes Gen2 - Kubernetes in Rootless Do...
20240415 [Container Plumbing Days] Usernetes Gen2 - Kubernetes in Rootless Do...20240415 [Container Plumbing Days] Usernetes Gen2 - Kubernetes in Rootless Do...
20240415 [Container Plumbing Days] Usernetes Gen2 - Kubernetes in Rootless Do...Akihiro Suda
 
Unveiling the Future: Sylius 2.0 New Features
Unveiling the Future: Sylius 2.0 New FeaturesUnveiling the Future: Sylius 2.0 New Features
Unveiling the Future: Sylius 2.0 New FeaturesŁukasz Chruściel
 
SuccessFactors 1H 2024 Release - Sneak-Peek by Deloitte Germany
SuccessFactors 1H 2024 Release - Sneak-Peek by Deloitte GermanySuccessFactors 1H 2024 Release - Sneak-Peek by Deloitte Germany
SuccessFactors 1H 2024 Release - Sneak-Peek by Deloitte GermanyChristoph Pohl
 
Recruitment Management Software Benefits (Infographic)
Recruitment Management Software Benefits (Infographic)Recruitment Management Software Benefits (Infographic)
Recruitment Management Software Benefits (Infographic)Hr365.us smith
 
Xen Safety Embedded OSS Summit April 2024 v4.pdf
Xen Safety Embedded OSS Summit April 2024 v4.pdfXen Safety Embedded OSS Summit April 2024 v4.pdf
Xen Safety Embedded OSS Summit April 2024 v4.pdfStefano Stabellini
 
Ahmed Motair CV April 2024 (Senior SW Developer)
Ahmed Motair CV April 2024 (Senior SW Developer)Ahmed Motair CV April 2024 (Senior SW Developer)
Ahmed Motair CV April 2024 (Senior SW Developer)Ahmed Mater
 
Taming Distributed Systems: Key Insights from Wix's Large-Scale Experience - ...
Taming Distributed Systems: Key Insights from Wix's Large-Scale Experience - ...Taming Distributed Systems: Key Insights from Wix's Large-Scale Experience - ...
Taming Distributed Systems: Key Insights from Wix's Large-Scale Experience - ...Natan Silnitsky
 
Alfresco TTL#157 - Troubleshooting Made Easy: Deciphering Alfresco mTLS Confi...
Alfresco TTL#157 - Troubleshooting Made Easy: Deciphering Alfresco mTLS Confi...Alfresco TTL#157 - Troubleshooting Made Easy: Deciphering Alfresco mTLS Confi...
Alfresco TTL#157 - Troubleshooting Made Easy: Deciphering Alfresco mTLS Confi...Angel Borroy López
 

Último (20)

React Server Component in Next.js by Hanief Utama
React Server Component in Next.js by Hanief UtamaReact Server Component in Next.js by Hanief Utama
React Server Component in Next.js by Hanief Utama
 
Machine Learning Software Engineering Patterns and Their Engineering
Machine Learning Software Engineering Patterns and Their EngineeringMachine Learning Software Engineering Patterns and Their Engineering
Machine Learning Software Engineering Patterns and Their Engineering
 
Innovate and Collaborate- Harnessing the Power of Open Source Software.pdf
Innovate and Collaborate- Harnessing the Power of Open Source Software.pdfInnovate and Collaborate- Harnessing the Power of Open Source Software.pdf
Innovate and Collaborate- Harnessing the Power of Open Source Software.pdf
 
Simplifying Microservices & Apps - The art of effortless development - Meetup...
Simplifying Microservices & Apps - The art of effortless development - Meetup...Simplifying Microservices & Apps - The art of effortless development - Meetup...
Simplifying Microservices & Apps - The art of effortless development - Meetup...
 
Automate your Kamailio Test Calls - Kamailio World 2024
Automate your Kamailio Test Calls - Kamailio World 2024Automate your Kamailio Test Calls - Kamailio World 2024
Automate your Kamailio Test Calls - Kamailio World 2024
 
Salesforce Implementation Services PPT By ABSYZ
Salesforce Implementation Services PPT By ABSYZSalesforce Implementation Services PPT By ABSYZ
Salesforce Implementation Services PPT By ABSYZ
 
Implementing Zero Trust strategy with Azure
Implementing Zero Trust strategy with AzureImplementing Zero Trust strategy with Azure
Implementing Zero Trust strategy with Azure
 
Hot Sexy call girls in Patel Nagar🔝 9953056974 🔝 escort Service
Hot Sexy call girls in Patel Nagar🔝 9953056974 🔝 escort ServiceHot Sexy call girls in Patel Nagar🔝 9953056974 🔝 escort Service
Hot Sexy call girls in Patel Nagar🔝 9953056974 🔝 escort Service
 
Call Us🔝>༒+91-9711147426⇛Call In girls karol bagh (Delhi)
Call Us🔝>༒+91-9711147426⇛Call In girls karol bagh (Delhi)Call Us🔝>༒+91-9711147426⇛Call In girls karol bagh (Delhi)
Call Us🔝>༒+91-9711147426⇛Call In girls karol bagh (Delhi)
 
PREDICTING RIVER WATER QUALITY ppt presentation
PREDICTING  RIVER  WATER QUALITY  ppt presentationPREDICTING  RIVER  WATER QUALITY  ppt presentation
PREDICTING RIVER WATER QUALITY ppt presentation
 
Precise and Complete Requirements? An Elusive Goal
Precise and Complete Requirements? An Elusive GoalPrecise and Complete Requirements? An Elusive Goal
Precise and Complete Requirements? An Elusive Goal
 
Odoo 14 - eLearning Module In Odoo 14 Enterprise
Odoo 14 - eLearning Module In Odoo 14 EnterpriseOdoo 14 - eLearning Module In Odoo 14 Enterprise
Odoo 14 - eLearning Module In Odoo 14 Enterprise
 
20240415 [Container Plumbing Days] Usernetes Gen2 - Kubernetes in Rootless Do...
20240415 [Container Plumbing Days] Usernetes Gen2 - Kubernetes in Rootless Do...20240415 [Container Plumbing Days] Usernetes Gen2 - Kubernetes in Rootless Do...
20240415 [Container Plumbing Days] Usernetes Gen2 - Kubernetes in Rootless Do...
 
Unveiling the Future: Sylius 2.0 New Features
Unveiling the Future: Sylius 2.0 New FeaturesUnveiling the Future: Sylius 2.0 New Features
Unveiling the Future: Sylius 2.0 New Features
 
SuccessFactors 1H 2024 Release - Sneak-Peek by Deloitte Germany
SuccessFactors 1H 2024 Release - Sneak-Peek by Deloitte GermanySuccessFactors 1H 2024 Release - Sneak-Peek by Deloitte Germany
SuccessFactors 1H 2024 Release - Sneak-Peek by Deloitte Germany
 
Recruitment Management Software Benefits (Infographic)
Recruitment Management Software Benefits (Infographic)Recruitment Management Software Benefits (Infographic)
Recruitment Management Software Benefits (Infographic)
 
Xen Safety Embedded OSS Summit April 2024 v4.pdf
Xen Safety Embedded OSS Summit April 2024 v4.pdfXen Safety Embedded OSS Summit April 2024 v4.pdf
Xen Safety Embedded OSS Summit April 2024 v4.pdf
 
Ahmed Motair CV April 2024 (Senior SW Developer)
Ahmed Motair CV April 2024 (Senior SW Developer)Ahmed Motair CV April 2024 (Senior SW Developer)
Ahmed Motair CV April 2024 (Senior SW Developer)
 
Taming Distributed Systems: Key Insights from Wix's Large-Scale Experience - ...
Taming Distributed Systems: Key Insights from Wix's Large-Scale Experience - ...Taming Distributed Systems: Key Insights from Wix's Large-Scale Experience - ...
Taming Distributed Systems: Key Insights from Wix's Large-Scale Experience - ...
 
Alfresco TTL#157 - Troubleshooting Made Easy: Deciphering Alfresco mTLS Confi...
Alfresco TTL#157 - Troubleshooting Made Easy: Deciphering Alfresco mTLS Confi...Alfresco TTL#157 - Troubleshooting Made Easy: Deciphering Alfresco mTLS Confi...
Alfresco TTL#157 - Troubleshooting Made Easy: Deciphering Alfresco mTLS Confi...
 

Pandora FMS:Apache Hbase Plugin

  • 1. Pandora FMS Apache Hbase Plugin Administrator Manual
  • 2. Index 1. INTRODUCTION............................................................................................................................3 2. COMPATIBILITY MATRIX............................................................................................................3 3. MODULES GENERATED BY THE PLUGIN...............................................................................3 4. PREREQUISITES............................................................................................................................4 5. SPECIFIC HBASE CONFIGURATION.........................................................................................4 6. File Configuration............................................................................................................................5 7. Plugin Execution..............................................................................................................................6 Page 2
  • 3. 1. INTRODUCTION This document's main objective is the description of the Apache HBase monitoring procedures on Linux-based systems. To extract information this plugin uses: • Specif system commands (ps, netstat, grep, wc, etc) with no need to install libraries or third party tools. • The information server of Hbase to retrieve information through HTTP protocol. 2. COMPATIBILITY MATRIX The compatibility matrix for Apache HBase monitoring is: Systems where it has been tested • Apache Hbase 0.94.18 (Standalone version) Systems where it should work • Apache Hbase 0.94.18 or above 3. MODULES GENERATED BY THE PLUGIN This plugin returns 18 modules. All of them display valuable status information. You can fix thresholds manually to determine whether something is in a warning/critical or operative condition. • Hbase Alive: It shows if Hbase is running. If this goes critical then the rest of the modules won't be created. Page 3
  • 4. • Hbase Connections: Display the amout of network connections in database. • Hbase CPU Usage: The percentage of CPU used by HBase. • Hbase Memory Usage: The percentage of Memory used by Hbase. • Hbase Heap Memory Used: The percentage of heap memory used by Hbase. • Hbase Process State: The state of Hbase process. • Hbase Tables: Number of tables in Hbase. • Hbase Time in CPU: It's the CPU time used by the process of Hbase so far. • Hbase/Region Servers Online: Number of Region Servers Online right now. • Hbase/Region Server Request per second: Request per second of the RegionServer of Hbase. • Hbase Log Warning Messages: Number of warning messages in Hbase Log. • Hbase Log Errors: Number of error messages in Hbase log. • Hbase/Region Server Cache Hit Ratio: Block cache hit ratio (0 to 100%) from RegionServer • Hbase/Region Server Flush Queue Size: Point in time number of enqueued regions in the MemSotre awaiting flush. • Hbase/Region Server Compaction time: Point in time length of the compaction queue. This is the number of Stores in the RegionServer that have been targeted for compaction. • Hbase/Region Server Memstore Size: Point in time sum of all the memstore sizes in the RegionServer. • Hbase/Region Server Read Request: Number of read requests for RegionServer. • Hbase/Region Server Write Request: Number of write request for RegionServer • Hbase/Region Server Number of Online Regions: Nomber of regions served by the RegionServer 4. PREREQUISITES The HBase monitoring is done retrieving data from the information server of Hbase Master and also getting data from Linux commands (i.e, ps, netstat, grep, etc). The prerequisites for this monitoring to work correctly are the following: • Hbase must be unpacked in /etc/hbase. • A local pandora agent must be installed and configured. • The HBase log files must be located in the following path: /etc/hbase/logs/ • Version 7 or above of Java is requiered to run Hbase • The JAVA_HOME enviroment variable must be defined in /etc/profile file. 5. SPECIFIC HBASE CONFIGURATION Page 4
  • 5. This plugin needs a specific configuration for Hbase to be able to retrieve the right information throught the information server of Hbase. First of all, Hbase must be unpacked in /etc. The folder must be called “hbase” all the files which will be used by Hbase will be in that folder. Before starting Hbase we should modify the configuration file of Hbase located in /etc/hbase/conf depending of our needs. We have to edit/add the following lines in hbase-site.xml, between the “configuration” tags (<configuration> and </configuration>). <property> <name>hbase.master.info.port</name> <value>16010</value> </property> <property> <name>hbase.master.info.bindAddress</name> <value>127.0.0.1</value> </property> 6. FILE CONFIGURATION In order to configure correctly this plugin there are a few steps that should be followed: • Move the hbase_plugin.sh file from the default download directory to the /etc/pandora/plugins/ directory: • Assign necessary permitions to hbase.pl script: chmod +x hbase_plugin.pl • At the end of the pandora_agent.conf file add the following line: module_plugin /etc/pandora/plugins/hbase_plugin.pl • Restart the pandora agent process writing: service pandora_agent_daemon restart Page 5
  • 6. 7. PLUGIN EXECUTION If everything is working fine you should be able to see the following image with all the modules created. Page 6