summaryrefslogtreecommitdiffstats
path: root/plugins/livestatus.py
Commit message (Collapse)AuthorAgeFilesLines
* vol-status: change volume status based on brick statusKanagaraj M2014-05-021-1/+19
| | | | | | | | | | | | | 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>
* rhsc-nagios-addon: Fixed an issue with livestatusShubhendu Tripathi2014-04-291-1/+1
| | | | | | | | | | The readLiveStatus() method was not returning the status details. Fixed the same. Change-Id: I604a99c39c92f94b1ebab1e153f06223b5f6f39c Signed-off-by: Shubhendu Tripathi <shtripat@redhat.com> Reviewed-on: https://code.engineering.redhat.com/gerrit/21798 Reviewed-by: Sahina Bose <sabose@redhat.com>
* fix: Fix for pep8 error and import issueRamesh Nachimuthu2014-04-291-1/+1
| | | | | | | Change-Id: I32ab9dc0c3971c3b6bbbdaeec5c9e9087485b077 Signed-off-by: Ramesh Nachimuthu <rnachimu@redhat.com> Reviewed-on: https://cuckoo.blr.redhat.com:8443/54 Reviewed-by: Sahina Bose <sabose@redhat.com>
* Added files for volume Utilization - Nagios server sideNishanth Thomas2014-04-291-0/+17
| | | | | | | | Change-Id: Idaa995d504e2278fb5a2b67ca4bcbc157307b7d7 Signed-off-by: Nishanth Thomas <nthomas@redhat.com> Reviewed-on: https://cuckoo.blr.redhat.com:8443/50 Reviewed-by: Sahina Bose <sabose@redhat.com> Tested-by: Sahina Bose <sabose@redhat.com>
* plugins: Plugin to check the cluster utilizationSahina Bose2014-04-291-0/+48
This plugin sums up the volume utilization outputs in a cluster Added a utils livestatus for common code related to mk_livestatus Added constants for livestatussocket path Change-Id: Id665ad3aaa1140e54c831d721ee874421ae84fa3 Signed-off-by: Sahina Bose <sabose@redhat.com> Reviewed-on: https://cuckoo.blr.redhat.com:8443/10 Reviewed-by: Bala FA <barumuga@redhat.com>