Prerequisites
- Ensure Couchbase is installed in the server and it should be up and running.
- This plugin uses '/pools/default' url to fetch the performance metrics. By default, it is configured during the installation of Couchbase itself. If not, please configure it.
Plugin Installation
- Download and install the latest version of the Site24x7 Linux agent in the server where you plan to run the plugin. If it is installed successfully, you will see a Linux server monitor in the Site24x7 Control Panel. This confirms that the agent is able to communicate with our data center.
- Download the couchserver.py file from our GitHub repository.
wget https://raw.githubusercontent.com/site24x7/plugins/master/couchserver/couchserver.py
- By default, Couchbase plugin uses the status url 'http://127.0.0.1:5894/_stats' to fetch the performance metrics. To change the existing configuration, edit the '#Config Section' in the 'couchserver.py' file.
#Config Section:COUCHBASE_HOST ='127.0.0.1'COUCHBASE_PORT ="5984"COUCHBASE_STATS_URI="/_stats/"COUCHBASE_USERNAME =NONECOUCHBASE_PASSWORD =NONE
- Create a folder with the name 'couchserver', under Site24x7 Linux Agent plugin directory '/opt/site24x7/monagent/plugins/' and place the 'couchserver.py' under '/opt/site24x7/monagent/plugins/couchserver/'
The agent will automatically execute the plugin within five minutes and send performance data to the Site24x7 data center.
Tip
Manually execute the plugin script using the following command and verify its output:
python couchserver.py
View Data in the Site24x7 Web Client
- Log in to Site24x7 and go to Server > Plugins > Name of Plugin Monitor.
- You will be able to view the performance charts on the various metrics for your Couchbase server.
Plugin Contribution
Feel free to contribute to our existing plugin and come up with suggestions or feedback on our Community.
Other Plugin Integrations
- Out-of-the-Box Plugins - Monitor your entire app stack with our extensive list of integrations
- MySQL Monitoring
- Memcached Monitoring
- NGINX Monitoring
- Nagios Integration
- Create custom plugins - Linux and Windows