Collection of simple Python scripts for parsing common nodetool commands. Mainly aimed to turn the output into something standard to use in automated monitoring, alarm systems, etc.
Requires Python. Only tested on v2.x currently.
Used to parse output from nodetool status
commands into JSON. Does not bother with the majority of the items in the command, but can be customised by editing the script and changing importantHeaders
.
Usage: nodetool status | python parseNodetoolStatus.py
Will output JSON formatted data to stdout.
This project is licensed under the MIT License - see the LICENSE file for details