summaryrefslogtreecommitdiffstats
path: root/plugins/check_vol_server.py
Commit message (Collapse)AuthorAgeFilesLines
* plugins: Server side plugin for self-healSahina Bose2014-04-291-1/+8
| | | | | | | | Server side plugin to check the volume self heal status Change-Id: Ia1ee3fb653913360edb1b54b42cce3ed105bdb79 Signed-off-by: Sahina Bose <sabose@redhat.com>
* vol-status: fix issue when all bricks downKanagaraj M2014-04-291-1/+1
| | | | | | | Fix the aggregation issue when all bricks in CRITICAL state. Change-Id: I8fba79fe77cb876780d4d00cd2992daee758b580 Signed-off-by: Kanagaraj M <kmayilsa@redhat.com>
* vol-status: check for brick statusesKanagaraj M2014-04-291-4/+39
| | | | | | | | | | | | When a volume is in Up state, Volume status will be decided based on the status of the bricks. CRITICAL - If all bricks are in CRITICAL state WARNING - If some bricks are in CRITICAL state OK - If all bricks are in OK state Change-Id: Id90f8a5b1e0aaaa1de488b4356efbdd45fa43b7b Signed-off-by: Kanagaraj M <kmayilsa@redhat.com>
* plugins: Fixed quota status plugin errorsSahina Bose2014-04-291-7/+11
| | | | | | | | | Fixed the error when there's no current status for volume quota status plugin Also corrected the livestatus query Change-Id: Icb7fd0a363588c27c6237a6af397f07b5cfa6bdc Signed-off-by: Sahina Bose <sabose@redhat.com>
* plugins: Added quota NRPE to volume statusSahina Bose2014-04-291-27/+42
| | | | | | | | | | Added a way to query for quota status to the check_vol_server plugin This will poll for quota status only if the service status for quota returns non-OK status Change-Id: I6260042ef54308a1f4f7b6d482a2b58a4682d36c Signed-off-by: Sahina Bose <sabose@redhat.com>
* Server-addons: Server-side plugin for volume status.ndarshan2014-04-291-0/+127
Modified the existing volume utilization server plugin to include status information as well. Refactored the plugin with an argument -o|--option to get the specific volume status. Change-Id: I2b6f8612e32390fb20917098a255de1ee6b3a170 Signed-off-by: ndarshan <dnarayan@redhat.com> Signed-off-by: Sahina Bose <sabose@redhat.com>