| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
| |
This patch adds disperse volume related details like redundancy count
and disperse count to discover_volumes plugin. It is needed to monitor
status of disperse volume.
Change-Id: I1c5d7d85e6fe7b0efdcd75fd562507dd1f9ce906
Bug-Url: https://bugzilla.redhat.com/1235651
Signed-off-by: Darshan N <dnarayan@redhat.com>
Reviewed-on: http://review.gluster.org/11500
Reviewed-by: Ramesh N <rnachimu@redhat.com>
Reviewed-by: Sahina Bose <sabose@redhat.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The service name changed in nagios-server addons to
enable update with freshness check.
Fixing corresponding change here
Change-Id: If0ac509bc402d82c8a5c0fe9ea72cd9f98caf8bc
Bug-Url: https://bugzilla.redhat.com/1236290
Signed-off-by: Sahina Bose <sabose@redhat.com>
Reviewed-on: http://review.gluster.org/11465
Reviewed-by: darshan n <dnarayan@redhat.com>
Reviewed-by: Ramesh N <rnachimu@redhat.com>
|
|
|
|
|
|
|
|
|
|
|
|
| |
Added a plugin to check if any volume in the cluster has
the server side quorum turned on
Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=1106421
Change-Id: I897aedd737a622832548e7470e8f3cf9fb7dbc2c
Signed-off-by: Sahina Bose <sabose@redhat.com>
Reviewed-on: http://review.gluster.org/8016
Reviewed-by: darshan n <dnarayan@redhat.com>
Reviewed-by: Ramesh N <rnachimu@redhat.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This patch modifies memory utilization plugin to retrun memory
used after deducting cached space from it. As this cached space
can be got back by applications whenever needed. So we can
consider cached space as free.
Change-Id: I6e6b7d0fc8148065d806c735606e4605741534d4
Bug-Url: https://bugzilla.redhat.com/1204314
Signed-off-by: ndarshan <dnarayan@redhat.com>
Reviewed-on: http://review.gluster.org/9977
Reviewed-by: Ramesh N <rnachimu@redhat.com>
Reviewed-by: Sahina Bose <sabose@redhat.com>
|
|
|
|
|
|
|
| |
Change-Id: Ia1e2039294466f7f297d32cb2a9e3d1644bea313
Signed-off-by: ndarshan <dnarayan@redhat.com>
Reviewed-on: http://review.gluster.org/9704
Reviewed-by: Sahina Bose <sabose@redhat.com>
|
|
|
|
|
|
|
| |
Change-Id: I2caf3515768e918446bfa68498ccad315d4ca300
Signed-off-by: ndarshan <dnarayan@redhat.com>
Reviewed-on: http://review.gluster.org/9698
Reviewed-by: Sahina Bose <sabose@redhat.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This patch is aimed at revamping the existing check_disk_and_inode
plugin in such a way that the plugin behaviour is same for both
disk utilization service and brick utilization service. It has
just two options include and exclude to include or exclude the
mountpoints to be monitoried. This plugin monitors the data, inode,
thinpool, thinpool-metadata utilization irrespective of service
using this plugin.
Change-Id: I98b18d6f3b22915978f8c6381adc99729a4e1161
Bug-Url:https://bugzilla.redhat.com/show_bug.cgi?id=1167771
Signed-off-by: ndarshan <dnarayan@redhat.com>
Reviewed-on: http://review.gluster.org/9389
Reviewed-by: Bala FA <barumuga@redhat.com>
Reviewed-by: Sahina Bose <sabose@redhat.com>
|
|
|
|
|
|
|
|
|
| |
Change-Id: I9eae0c1857ab0a0c7c47123aeef8c39696f014a0
Signed-off-by: Timothy Asir <tjeyasin@redhat.com>
Reviewed-on: http://review.gluster.org/9570
Reviewed-by: Ramesh N <rnachimu@redhat.com>
Reviewed-by: Shubhendu Tripathi <shtripat@redhat.com>
Tested-by: Timothy Asir <tim.gluster@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
exception
discoverVolumes was not returning the error message in case of exception
while retrieving the data from the backend. Due this the calling funtions
always expect a list and causing inconsistent results
https://bugzilla.redhat.com/show_bug.cgi?id=1136205
https://bugzilla.redhat.com/show_bug.cgi?id=1109843
Signed-off-by: Nishanth Thomas <nthomas@redhat.com>
Change-Id: I518a5f94fd5d414028970379e268e0aa8a408285
Reviewed-on: http://review.gluster.org/9065
Reviewed-by: Shubhendu Tripathi <shtripat@redhat.com>
Tested-by: Nishanth Thomas <nishusemail@gmail.com>
Reviewed-by: Sahina Bose <sabose@redhat.com>
|
|
|
|
|
|
|
|
|
|
| |
Modified the quorum messages to be friendlier
Change-Id: I8d76a094cc455847a76ece5c1744b8399f4e7e58
Bug-Url: https://bugzilla.redhat.com/1109702
Signed-off-by: Sahina Bose <sabose@redhat.com>
Reviewed-on: http://review.gluster.org/9101
Reviewed-by: Ramesh N <rnachimu@redhat.com>
|
|
|
|
|
|
|
|
|
|
|
|
| |
The message for Cluster-quorum monitoring contained the
volume names too...removed this as it was retained
even post volume deletion
Bug-Url: https://bugzilla.redhat.com/1109702
Change-Id: Ibcb4cfcdb10041e83976e8672623a0140777a539
Signed-off-by: Sahina Bose <sabose@redhat.com>
Reviewed-on: http://review.gluster.org/9095
Reviewed-by: Ramesh N <rnachimu@redhat.com>
|
|
|
|
|
|
|
|
| |
Change-Id: I0d41725a02636228bc613b40c1b4d2d57a35e3e3
Signed-off-by: Timothy Asir Jeyasingh <tjeyasin@redhat.com>
Reviewed-on: http://review.gluster.org/8159
Tested-by: Timothy Asir <tim.gluster@gmail.com>
Reviewed-by: Shubhendu Tripathi <shtripat@redhat.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This will show the status like:
for critical usage:
CRITICAL: 4% used (4GB out of 100GB):mounts:
(CRITICAL : <critical list> followed by WARNING
if any followed by OK
for disk status "WARNING":
WARNING: 4% used (4GB out of 100GB):mounts:
(WARNING if any followed by OK
for disk status "OK":
OK: 4% used (4GB out of 100GB):mounts:(<mounts>)
Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=1081495
Change-Id: I9dbda7a5d6ea992ba73acce2174e6d66f2e16066
Signed-off-by: Timothy Asir <tjeyasin@redhat.com>
Reviewed-on: http://review.gluster.org/7936
Tested-by: Timothy Asir <tim.gluster@gmail.com>
Reviewed-by: Sahina Bose <sabose@redhat.com>
|
|
|
|
|
|
|
|
|
|
| |
Bug-Url:https://bugzilla.redhat.com/show_bug.cgi?id=1096159
Bug-Url:https://bugzilla.redhat.com/show_bug.cgi?id=1096169
Change-Id: I41d320ab63ec47bbd9b8b413cc7dffed68470d82
Signed-off-by: Nishanth Thomas <nthomas@redhat.com>
Reviewed-on: http://review.gluster.org/7974
Reviewed-by: Sahina Bose <sabose@redhat.com>
Tested-by: Nishanth Thomas <nishusemail@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Network plugin for Nagios provides status and performance data of
network interfaces. By default, it provides details of all the
interfaces having IP addresses
The plugin can be used to
get status of specific interface:
$ python network.py -i em1
get status except specific interface:
$ python network.py -e em1
get status of all interfaces:
$ python network.py -a
Change-Id: If3cc2e4c00c866ce1a3c839a643d63b1e23ff8ea
Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=1085237
Signed-off-by: Bala.FA <barumuga@redhat.com>
Reviewed-on: http://review.gluster.org/7588
Reviewed-by: Sahina Bose <sabose@redhat.com>
Tested-by: Sahina Bose <sabose@redhat.com>
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
| |
Modified swap and memory plugin to show message and performance
data in GB instead of kB.
https://bugzilla.redhat.com/show_bug.cgi?id=1080004
Signed-off-by: ndarshan <dnarayan@redhat.com>
Change-Id: I06cfd4cd8e19ac8bc21c50ee0f37f15b4ae8cc2e
Reviewed-on: http://review.gluster.org/7640
Reviewed-by: Sahina Bose <sabose@redhat.com>
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Plugin to handle log messages related to server
quorum
Message is parsed for msgid as the msgid is not
correctly populated now
Fixed pep8 errors in nscautils and added tests
Also changed the service name to remove "Status"
-it now reads Volume Quota, for instance
Change-Id: I339ed16b3806f853ae3555a998974c47157c95ad
Signed-off-by: Sahina Bose <sabose@redhat.com>
Reviewed-on: http://review.gluster.org/7648
Reviewed-by: Shubhendu Tripathi <shtripat@redhat.com>
Reviewed-by: Ramesh N <rnachimu@redhat.com>
Reviewed-by: Kanagaraj M <kmayilsa@redhat.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Changed the syslog monitoring plugin to use
subprocess to send the nsca command
There was an issue with using the utils
method when being called from rsyslog service
Change-Id: Ia4dea2b0f942ce815f123ece1fba8fd1f18fc6be
Signed-off-by: Sahina Bose <sabose@redhat.com>
Reviewed-on: http://review.gluster.org/7639
Reviewed-by: Timothy Asir <tim.gluster@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
| |
fixing a small pep8 issue
Change-Id: I203ae51d78b846184dc873b18a6bfbf526f937e3
Signed-off-by: Ramesh Nachimuthu <rnachimu@redhat.com>
Reviewed-on: http://review.gluster.org/7646
Reviewed-by: Sahina Bose <sabose@redhat.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
NRPE doesn't support transfering large junk of data as a result.
Hence we have to discover the volume details one by one.
Added two NRPE commands 'discover_volume_list' and
'discover_volume_info'.
'discover_volume_list' returns the list of volume names with
volume type.
'discover_volume_info' returns the bricks details of a given
volume.
Change-Id: I753be5e407fe14988f23ca77007b3a585537b360
Signed-off-by: Ramesh Nachimuthu <rnachimu@redhat.com>
Reviewed-on: http://review.gluster.org/7630
Reviewed-by: Kanagaraj M <kmayilsa@redhat.com>
Reviewed-by: Sahina Bose <sabose@redhat.com>
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
| |
Change-Id: I3c965b95d85373f79ddebd5c7e38010fc7fef691
Signed-off-by: Timothy Asir <tjeyasin@redhat.com>
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
| |
This helps monitoring gluster related process such as glusterd,
glusterfsd, gluster self heal process, nfs and also helps to
monitor other running services
Change-Id: I8c6f252270a847e7ff007c358125a9310525f201
Signed-off-by: Timothy Asir <tjeyasin@redhat.com>
|
|
|
|
|
|
|
|
|
|
|
|
| |
This plugin integrates with syslog messages
and sends the output to Nagios server
using NSCA
Refactored code to separate out common
NSCA related code to nscautils
Change-Id: I6a874da7f2296310060742acb6b1cd6562f5d0f0
Signed-off-by: Sahina Bose <sabose@redhat.com>
|
|
|
|
|
|
|
|
|
| |
Added an optional parameter to query quota status
Added command to nrpe.cfg
Change-Id: I9f60ed1a98cb2ca59b799cf9c09e3621b7bd8c0c
Signed-off-by: Sahina Bose <sabose@redhat.com>
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
| |
Add option to include / exclude disk
Add option to get disk usage without inode usage
Add unit test
Change-Id: Ifa8c13033269fea184d2dedc720dba4239770336
Signed-off-by: Timothy Asir <tim.gluster@gmail.com>
Reviewed-on: https://cuckoo.blr.redhat.com:8443/18
Reviewed-by: Sahina Bose <sabose@redhat.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This patch handles the issue of sadf not accepting time range
when used with -x (xml output) option(seen in version 9.0.4).
Added unit-test for memory, cpu, swap, network plugins and
refactored them.
Change-Id: Ie7c2ecfbb38060f236a6faed606bce0aedd27d7a
Signed-off-by: ndarshan <dnarayan@redhat.com>
Reviewed-on: https://cuckoo.blr.redhat.com:8443/14
Reviewed-by: Bala FA <barumuga@redhat.com>
Tested-by: Bala FA <barumuga@redhat.com>
|
|
|
|
|
|
|
|
| |
These plugins are moved to nagios-server-addons repository
Change-Id: Ie5daa7736e2acfbdf44e5c9c782d8c9b54fc413d
Signed-off-by: Bala.FA <barumuga@redhat.com>
Reviewed-on: https://cuckoo.blr.redhat.com:8443/7
|
|
|
|
|
|
|
|
|
| |
All plugins are imported from
https://github.com/gluster-rhsc/nagios-plugin.git
Change-Id: I9880becafccc79280873039e317b4afde747806c
Signed-off-by: Bala.FA <barumuga@redhat.com>
Reviewed-on: https://cuckoo.blr.redhat.com:8443/4
|
|
Change-Id: I45f91b2017ed59b057d21de52fd94c5c83fcf86f
Signed-off-by: Bala.FA <barumuga@redhat.com>
|