Are you using Apache Cassandra in your application? You can use IDERA Uptime Cloud Monitor to monitor your Apache Cassandra for availability and performance. As an illustration, you can configure and receive alerts for the following scenarios:
Uptime Cloud Monitor from IDERA(UCM) offers a SAAS based out-of-the-box solution for monitoring Apache Cassandra for performance and availability. If you are not familiar with the concept of custom metrics as used in Uptime Cloud Monitor, please go through Custom Metrics information once before continuing with this document.
There are three steps that you need to do to start monitoring a Apache Cassandra service:
Figure 1: In your Uptime Cloud Monitor Account, navigate to Custom>Getting Started
Login to your Uptime Cloud Monitor account and navigate to Custom tab -> Getting Started. Click on Apache Cassandra icon.
Figure 2: The Apache Cassandra agent installation script
Click on icon to copy the installer script to your clipboard. Paste the command into the terminal window on the server where you want to install the agent. Script can be run on the server running Apache Cassandra, or it can be a different server, but this server will need to be continually running in order to monitor Apache Cassandra.
As soon as the script is run on a terminal with root access, it starts downloading the required Apache Cassandra monitoring agent on your server. You will need to configure the following items in the agent installation process. Item specified in square brackets ( [ ] ) are the default.
Figure 3: Executing the Apache Cassandra agent installation script with user as copperegg, Group as copperegg and monitoring frequency as 60 seconds
1. User and Group for running service as default values: [copperegg][copperegg]
2. Monitoring frequency: 15, , 300, 900, 3600 seconds
Figure 4: Executing the Apache Cassandra agent installation script with group name as “Apache Cassandra”, group label as “Apache Cassandra metrics” and Dashboard as “Apache Cassandra”
3. Group label, group name and dashboard name for custom metrics [Apache Cassandra][Apache Cassandra Metrics][Apache Cassandra]
Figure 5: Executing the Apache Cassandra agent installation script with unique id , server URL and port. Only one Apache Cassandra cluster is added for monitoring.
4. Unique name for this db server. [<user>-Apache Cassandra]
5. Server details : URL and Port for service. [localhost]
6. Username and Password are optional.
7. After configuring one node, you’ll get an option to add more Apache Cassandra clusters and servers
Figure 6: Executing the Apache Cassandra agent installation script with an upstart init file and the default value for log file name. The installation completes successfully!
8. Configure log file name and upstart job name (defaults present) [/usr/local/copperegg/log/Apache Cassandra_metrics.log][/etc/init/revealmetrics_Apache Cassandra.conf]
Navigate to Dashboard and you will see a new Apache Cassandra Dashboards have been added automatically by the installer.
Figure 7: A new Dashboard for Apache Cassandra and Apache Cassandra has been added
As the installed script executes, you will notice data samples appearing on the widgets for this Dashboard.
Figure 8: Widget inside Apache Cassandra Dashboard displaying Load.
Figure 9: Widget inside Apache Cassandra Dashboard displaying count of pending tasks.
Figure 10: Widget inside Apache Cassandra Dashboard displaying read latency.
Uptime Cloud Monitor currently monitors 39 metrics which cover most of the important metrics for Apache Cassandra from a performance and stability perspective. You can see these 39 metrics by navigating to the Custom Tab > Custom Objects and selecting Details on the Custom Metrics Group Label [Apache Cassandra Metrics] that was given as installation input. For some of these metrics, alerts have been automatically created (see section 3 below). To create new alerts see section below on "Configuring your own Alerts for Apache Cassandra."
The metrics are:
As soon as your Apache Cassandra Database Monitoring Dashboard comes up, you will notice that some alert configurations have been automatically created by our Installation Script (under Alerts > Configure Alerts). These pre-configured alerts for Apache Cassandra Database include:
1. Warning alert if the load exceeds 60% disk usage
2. Alert will be triggered if the load average exceeds 70% disk usage
If the alerting condition is met for these pre-configured alerts, some alert notifications may also be triggered.
Figure 11: A new alert being added that will be triggered when Load metric exceeds a threshold of 1 within a time period of 1 min
Alerts can also be configured against any of these 39 monitored metrics for Apache Cassandra.
You can configure new alerts that will be triggered when performance issues with Apache Cassandra arise. You can also configure the notification mechanisms for a triggered alert.
Uptime Cloud Monitor supports notifying different sets of users with differing notification mechanisms for each alert type.
Notification mechanisms include:
Webhooks are also exposed for clients to configure custom notification mechanisms.
More about setting up website probe alerts can be found here.
Sign up for a 14 day FREE TRIAL of Uptime Cloud Monitor (no Credit Card required).
You can find more information about Uptime Cloud Monitor pricing options here.
We charge only $0.08 per month per metric!
Sign up today!
It works perfectly ! Test run as expected