Prerequisites
- Ensure CouchDB is installed in the server and is up and running.
- This plugin uses '/_stats' url to fetch the performance metrics. By default, it is configured during the installation of CouchDB itself. If not you will have to 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 couchdb.py file from our GitHub repository.
wget https://raw.githubusercontent.com/site24x7/plugins/master/couchdb/couchdb.py
- By default, the 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 'couchdb.py' file.
#Config Section:COUCHDB_HOST ='127.0.0.1'COUCHDB_PORT ="5984"COUCHDB_STATS_URI="/_stats/"COUCHDB_USERNAME =NONECOUCHDB_PASSWORD =NONE
- Create a folder with the name 'couchdb', under Site24x7 Linux Agent plugin directory - '/opt/site24x7/monagent/plugins/couchdb' and place the 'couchdb.py' file under '/opt/site24x7/monagent/plugins/couchdb/'
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 couchdb.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 CouchDB server.
Plugin Contribution
Feel free to contribute to our existing plugin and come up with suggestions or feedback on our Community.
Other Plugin Integrations
- Etcd Monitoring
- Memcached Monitoring
- Statsd Monitoring
- Nagios Integration
- 100+ Plugin Integrations
- Create custom plugins - Linux and Windows