Home Directory Plugins Java Applications and Servers Cassandra number of read and write operations in a given time period

Search Exchange

Search All Sites

Nagios Live Webinars

Let our experts show you how Nagios can help your organization.

Contact Us

Phone: 1-888-NAGIOS-1
Email: sales@nagios.com

Login

Remember Me

Directory Tree

Cassandra number of read and write operations in a given time period

Current Version
2.0
Last Release Date
2011-12-08
Compatible With
  • Nagios 3.x
License
GPL
Hits
82066
Files:
FileDescription
cass_read_write_speedcass_read_write_speed
Network Monitoring Software - Download Nagios XI
Log Management Software - Nagios Log Server - Download
Netflow Analysis Software - Nagios Network Analyzer - Download
This Plug-in monitors Cassandra number of read and write operations in a given time period, i.e. Read operations per second / write Operations per second.

it fetches WriteOperations or ReadOperations from Nagios JMX plugin and stores the values with timestamp in a log file at /tmp directory, and parses this log file to create the Read/write per second value.

####Sample Log entries###
cat /tmp/Cass_ReadOperations.log
1323353650=JMX CRITICAL ReadOperations=0
1323353710=JMX CRITICAL ReadOperations=120

so the Read per second would be (120-0)/(1323353710-1323353650) i.e 2 per Second.



This take three parameters as input 1) Option i.e. Read operations or write Operations and Warning and Critical Values.
To run this Plugin you should first download the check_jmx plugin for Nagios. Since it reads the Values from Check_JMX plugin.

This Plug-in monitors Cassandra number of read and write operations in a given time period, i.e. Read operations per second / write Operations per second.

it fetches WriteOperations or ReadOperations from Nagios JMX plugin and stores the values with timestamp in a log file at /tmp directory, and parses this log file to create the Read/write per second value.

####Sample Log entries###
cat /tmp/Cass_ReadOperations.log
1323353650=JMX CRITICAL ReadOperations=0
1323353710=JMX CRITICAL ReadOperations=120

so the Read per second would be (120-0)/(1323353710-1323353650) i.e 2 per Second.



This take three parameters as input 1) Option i.e. Read operations or write Operations and Warning and Critical Values.



Sample Run.

# ./cass_read_write-rate -h
Usage: ./cass_read_write-rate -o