Search Exchange
Search All Sites
Login
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
Owner
E-mail
Website
License
GPL
Hits
43968
Files:
| File | Description |
|---|---|
| cass_read_write_speed | cass_read_write_speed |
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
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
Reviews (0)
Be the first to review this listing!


New Listings


