I've looked through multiple forum posts, I've turned on debug et al, and I still cannot for the life of me figure out why the disk space isn't working. ALL other information is filled--except for the disk space.
On the Agent logs, I see requests for /os-metric/disk-space, but it always returns an empty value. There are NO errors on start-up, and DEBUG logging doesn't reveal anything. The output in the log is:
INFO [qtp728395819-23] 2014-03-20 16:49:19,636 HTTP: :get /os-metric/disk-space {} - 200
There are, also, no errors on the Opscenter server.
I initially had errors where it could not find the right cassandra.yaml file, but I have corrected these, and there are now zero errors in the startup-logs. This occurs with the latest version of Opscenter 4.1.1, and Cassandra 1.2.15. Are there any more suggestions on what to look for? For example, does it use a non-standard utility (i.e., not df)?
EDIT: Adding output from //nodes; this is common for each node.
{
"data_held": 18001238572.0,
"dc": "DC1",
"devices": {
"commitlog": "sdb",
"data": [
"sdc"
],
"other": [
"sda1"
],
"saved_caches": "sdb"
},
"has_jna": true,
"last_seen": 0,
"load": 0.13,
"mode": "normal",
"network_interfaces": [
"lo",
"eth0",
"sit0"
],
"node_ip": "{snip}",
"node_name": "{snip}",
"node_version": {
"cassandra": "1.2.15",
"dse": null,
"jobtracker": null,
"search": null,
"tasktracker": null
},
"num_procs": 8,
"os": "linux",
"partitions": {
"commitlog": "/dev/sdc",
"data": [
"_"
],
"other": [
"/dev/sdb",
"/dev/sda1"
],
"saved_caches": "/dev/sdc"
},
"rack": "DEFAULT-RACK",
"rpc_ip": "{snip}",
"streaming": {},
"task_progress": {},
"token": "-5829041219150380184",
"vnodes": true
}
cassandra.yaml data directories:
# Directories where Cassandra should store data on disk. Cassandra
# will spread data evenly across them, subject to the granularity of
# the configured compaction strategy.
data_file_directories:
- /var/lib/cassandra/data
$ cat /proc/mounts
[snip]
/dev/sdc /var/lib/cassandra/data ext3 rw,data=ordered 0 0