YakindanEgitim / nagios-plugin-couchbase

A Nagios plugin to check the status of Couchbase 2.x
Other
13 stars 8 forks source link

--OPS doesn't appear to work #39

Closed kevireilly closed 11 years ago

kevireilly commented 11 years ago

Hey there,

Awesome plugin, seems to be working pretty well. However, it seems that the Operations Per Second option might not be working. I have tried both the master branch and devel branch (nice work!) but they both seem to be returning 0.0 while --gets-per-sec and --sets-per-sec are returning active operations.

I am utilizing Couchbase 2.0.1, Ubuntu 12.04, Nagios 3, and Opsview.

Example during a benchmark: user@dev:~/$ /usr/lib/nagios/plugins/check_couchbase.py -I dev -u user -p password -P 8091 -b default -W 1 -C 1 --gets-per-sec ^[[AWARNING - CB gets per sec 526.0 user@dev:~/$ /usr/lib/nagios/plugins/check_couchbase.py -I dev -u user -p password -P 8091 -b default -W 1 -C 1 --OPS OK - CB ops per sec 0.0

kevireilly commented 11 years ago

Sorry, tried to make the fix simpler but it would require both to be merged. Recreating.