summaryrefslogtreecommitdiffstats
path: root/plugins/check_volume_status.py
Commit message (Collapse)AuthorAgeFilesLines
* nagios: correcting self-heal info plugin statusSahina Bose2016-05-051-2/+2
| | | | | | | | BUG: 1329936 Change-Id: Id5494a34d4ba8296e2fa245329261ba7e2e92d94 Signed-off-by: Sahina Bose <sabose@redhat.com> Reviewed-on: http://review.gluster.org/14200 Reviewed-by: Ramesh N <rnachimu@redhat.com>
* nagios-plugins: Heal info monitoringSahina Bose2016-03-241-4/+42
| | | | | | | | | | | | | | | Added nrpe plugin to monitor heal info Plugin will change to Critical state when heal is in progress renamed reference to VolumeSplitBrainStatus as generic VolumeHealInfoStatus Change-Id: I6fdc893a80ec1c33881d8bc838a33111d2da5d9b Bug-Url: https://bugzilla.redhat.com/1267586 Signed-off-by: Sahina Bose <sabose@redhat.com> Reviewed-on: http://review.gluster.org/12261 Reviewed-by: Ramesh N <rnachimu@redhat.com>
* nagios-plugins: Corrected typo in split-brain status pluginSahina Bose2015-06-111-1/+1
| | | | | | | | | | | Corrected a typo Change-Id: I06369cbce0b7f965fe4993bea63c19b06963d105 Bug-Url: https://bugzilla.redhat.com/1228533 Signed-off-by: Sahina Bose <sabose@redhat.com> Reviewed-on: http://review.gluster.org/11163 Reviewed-by: Ramesh N <rnachimu@redhat.com> Reviewed-by: Shubhendu Tripathi <shtripat@redhat.com>
* Enhance error message when glusterd not respondTimothy Asir Jeyasingh2015-05-061-4/+4
| | | | | | | | | | | | | | Enhance the message to suggest to user that issues may be with glusterd. Change the message "temporary error" into "Glusterd cannot be queried." Change-Id: I11ca09e03bebe87a083ac8e6a6d281f0172e2899 Signed-off-by: Timothy Asir Jeyasingh <tjeyasin@redhat.com> Bug-url: https://bugzilla.redhat.com/show_bug.cgi?id=1166602 Reviewed-on: http://review.gluster.org/10421 Reviewed-by: Ramesh N <rnachimu@redhat.com> Reviewed-by: Shubhendu Tripathi <shtripat@redhat.com> Tested-by: Timothy Asir
* nagios-plugins: Enhanced nagios self-heal pluginSahina Bose2015-03-251-6/+6
| | | | | | | | | | | | | Enhanced nagios self-heal plugin to report split-brain entries if found. Earlier this output was not reliable and hence was not used. With glusterfs 3.7, this issue has been fixed Change-Id: Icb79516383245839d45f4c9570c08993844fc5bd Bug-Url: https://bugzilla.redhat.com/1081900 Signed-off-by: Sahina Bose <sabose@redhat.com> Reviewed-on: http://review.gluster.org/9783 Reviewed-by: Ramesh N <rnachimu@redhat.com>
* plugins: Return unknown status when trans locked messageSahina Bose2014-09-231-6/+18
| | | | | | | | | | | | When the gluster command fails due to locking by another transaction, return UNKNOWN status, so that the command can be tried again on another node. Change-Id: Ibae111c0a95ddd3594a7082d3c36ffe9b15c41fc Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=1109752 Signed-off-by: Sahina Bose <sabose@redhat.com> Reviewed-on: http://review.gluster.org/8440 Reviewed-by: Bala FA <barumuga@redhat.com>
* plugins: Handle geo-rep plugin output for no session infoSahina Bose2014-06-061-0/+2
| | | | | | | | | | | When there are no active geo-replication sessions, the plugin is changed to return output accordingly Change-Id: Icbc4ec061cc7a1e948914e284531531b00e9ec4b Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=1104014 Signed-off-by: Sahina Bose <sabose@redhat.com> Reviewed-on: http://review.gluster.org/8000 Reviewed-by: Kanagaraj M <kmayilsa@redhat.com>
* gluster-nagios-addons:volume status based on volume typeNishanth Thomas2014-06-041-2/+4
| | | | | | | | | | | | | | | Added the volume type in the plugin output The logic of determining the volume status changed based on the volume type. Added the volume type and the list of bricks down in the plugin output Change-Id: Ib999fc78059c725a29f4f7bc3b3328c34b6a6b33 Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=1096159 Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=1096169 Signed-off-by: Nishanth Thomas <nthomas@redhat.com> Reviewed-on: http://review.gluster.org/7878 Reviewed-by: Sahina Bose <sabose@redhat.com> Tested-by: Sahina Bose <sabose@redhat.com>
* plugins: Geo-rep plugin status message enhancedSahina Bose2014-05-281-14/+18
| | | | | | | | | | | Added geo-rep session wise details to the plugin output. Change-Id: I2086a493c2befa4c1e25a1cc5523213f0f13c8dd Bug-Url: https://bugzilla.redhat.com/1101218 Bug-Url: https://bugzilla.redhat.com/1101223 Signed-off-by: Sahina Bose <sabose@redhat.com> Reviewed-on: http://review.gluster.org/7896
* plugins: Corrected quota status messagesSahina Bose2014-05-201-1/+3
| | | | | | | | | | | | | Corrected the quota status message when hard limit is reached. Also removed the ";" at the end of the message. Change-Id: If10e07a69d838439d1bfa73eca68b6dc13cf83a8 Bug-Url: https://bugzilla.redhat.com/1098046 Bug-Url: https://bugzilla.redhat.com/1098427 Signed-off-by: Sahina Bose <sabose@redhat.com> Reviewed-on: http://review.gluster.org/7798 Reviewed-by: Kanagaraj M <kmayilsa@redhat.com>
* plugins: Change service state to Warning for self-heal problemSahina Bose2014-05-141-1/+1
| | | | | | | | | | If unsynced entries are present, the service "Volume Self-Heal" changes to WARNING rather than CRITICAL Change-Id: Ib258d766dd63c69ef86083a8ea1faee0cbe5a8b6 Signed-off-by: Sahina Bose <sabose@redhat.com> Reviewed-on: http://review.gluster.org/7760 Reviewed-by: Shubhendu Tripathi <shtripat@redhat.com>
* nagios-plugins: Fixed exit status and message for quota pluginSahina Bose2014-05-081-1/+1
| | | | | | | | | | | Changed the passive service check to return warning when soft limit exceeded Also corrected the message- if only soft limit exceeded, the message should not contain any entry for hard limit. Change-Id: Ice693997c769d9029825fcd4aafacc45d1577e23 Signed-off-by: Sahina Bose <sabose@redhat.com> Reviewed-on: http://review.gluster.org/7706
* nagios-plugins: Fixed multiline output in geo-rep statusSahina Bose2014-05-081-2/+2
| | | | | | | | | | | Fixed the multiline output issue in geo-rep status plugin. The extra details are now separated by a line-break so that it does not get displayed in the services summary page Change-Id: I2ff6e099adf4969cc79eec8a80abcb7a4ae88ae4 Signed-off-by: Sahina Bose <sabose@redhat.com> Reviewed-on: http://review.gluster.org/7707
* plugins: Enhanced volume quota status pluginSahina Bose2014-05-051-4/+15
| | | | | | | | | | | Quota status plugin enhanced to return soft-limit as well as hard-limit exceeded messages along with the directories that it's exceeded on. Change-Id: I77a8686e2742e2174c9f5ebdade8f017a1ffad4e Signed-off-by: Sahina Bose <sabose@redhat.com> Reviewed-on: http://review.gluster.org/7672 Reviewed-by: Kanagaraj M <kmayilsa@redhat.com>
* plugins: fix exitstatus in geo-rep status pluginKanagaraj M2014-05-041-1/+1
| | | | | | | | | | Changed the exit code from PluginStatus to PluginStatusCode Change-Id: I7a54184516e4c9456ec7c93d02f7f0c1e0224368 Signed-off-by: Kanagaraj M <kmayilsa@redhat.com> Reviewed-on: http://review.gluster.org/7657 Reviewed-by: Ramesh N <rnachimu@redhat.com> Reviewed-by: Shubhendu Tripathi <shtripat@redhat.com>
* vol-status: remove volume-info from statusKanagaraj M2014-05-021-5/+1
| | | | | | | | | | | When Volume is in OK state, volume info will not be sent along with status. Change-Id: I3b3644c45676c35f7b7dec048531a40b3de2fb8d Signed-off-by: Kanagaraj M <kmayilsa@redhat.com> Reviewed-on: http://review.gluster.org/7612 Reviewed-by: Ramesh N <rnachimu@redhat.com> Reviewed-by: Sahina Bose <sabose@redhat.com>
* plugins: Added geo-rep status to volume_statusSahina Bose2014-05-011-1/+32
| | | | | | | | | | | Added option to get the geo rep status to check_volume_status plugin Change-Id: I32d2a0240e3888505c54fdce9a3fb731b9300e38 Signed-off-by: Sahina Bose <sabose@redhat.com> Reviewed-on: http://review.gluster.org/7591 Reviewed-by: Shubhendu Tripathi <shtripat@redhat.com> Reviewed-by: Kanagaraj M <kmayilsa@redhat.com>
* plugins: Fixed pep8 error in check_volume_statusSahina Bose2014-04-291-0/+1
| | | | | Change-Id: I5464c916e1885c5f4109a5c1ae9c3abd9d040fab Signed-off-by: Sahina Bose <sabose@redhat.com>
* plugins: Added self heal status optionSahina Bose2014-04-291-2/+32
| | | | | | | | Added self-heal status option to the check_volume_status plugin Change-Id: Ia48f7baa3b6e4f0091be2116ab058ab48f1e5a29 Signed-off-by: Sahina Bose <sabose@redhat.com>
* plugins: Added volume info as part of volume statusSahina Bose2014-04-291-1/+6
| | | | | | | | | The volume status also needs to look at the brick statuses Changed the plugin to return the volume info in case the volume is UP Change-Id: Iee0b2ad84c7a3c5d5ebdc7e0616fb6d987cfb25a Signed-off-by: Sahina Bose <sabose@redhat.com>
* plugins: Enhanced volume status with quota statusSahina Bose2014-04-291-5/+28
| | | | | | | | | Added an optional parameter to query quota status Added command to nrpe.cfg Change-Id: I9f60ed1a98cb2ca59b799cf9c09e3621b7bd8c0c Signed-off-by: Sahina Bose <sabose@redhat.com>
* rhs-nagios-addons: Plugin for volume statusndarshan2014-04-291-0/+61
This patch adds a plugin for volume status, it makes use of gluster command "gluster volume info". Signed-off-by: ndarshan <dnarayan@redhat.com> Change-Id: I6984d52c998bf1b832654b99abc3e2843b54f5ac