summaryrefslogtreecommitdiffstats
path: root/plugins/check_vol_server.py
Commit message (Collapse)AuthorAgeFilesLines
* vol-status: change volume status based on brick statusKanagaraj M2014-05-021-28/+20
| | | | | | | | | | | | | Currently the brick description will have only brick path. Changed the code to query based on volume name,cluster name. Volume status will be decided based on state of the bricks in nagios. Change-Id: If1e4f85f5643cf2b747ae8837b905f0d5b8d9b22 Signed-off-by: Kanagaraj M <kmayilsa@redhat.com> Reviewed-on: http://review.gluster.org/7611 Reviewed-by: Ramesh N <rnachimu@redhat.com> Reviewed-by: Sahina Bose <sabose@redhat.com>
* plugins: Server side plugin for geo-repSahina Bose2014-05-011-1/+8
| | | | | | | | | Added server side plugin option for geo-rep status Change-Id: I6f604862ec7d4813298a670b7ed2cc0b448faf23 Signed-off-by: Sahina Bose <sabose@redhat.com> Reviewed-on: http://review.gluster.org/7592
* plugins: Changed the server side vol_status commandsSahina Bose2014-05-011-3/+3
| | | | | | | | | | | Changed the nrpe vol_status commands to pass arguments for the different status - self-heal, quota etc Change-Id: Ib26d445a582139fd9d5a07d2b9646a3517843548 Signed-off-by: Sahina Bose <sabose@redhat.com> Reviewed-on: http://review.gluster.org/7638 Reviewed-by: Ramesh N <rnachimu@redhat.com> Reviewed-by: Kanagaraj M <kmayilsa@redhat.com>
* 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>