| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
|
|
|
|
|
|
| |
Modified the plugin output when there is failure from ligfapi
and not able to retrieve the data
Bug-Url:https://bugzilla.redhat.com/show_bug.cgi?id=1095611
Change-Id: I3b48772b80882c67d4260c036090961a97347390
Signed-off-by: Nishanth Thomas <nthomas@redhat.com>
Reviewed-on: http://review.gluster.org/7712
Reviewed-by: Sahina Bose <sabose@redhat.com>
Tested-by: Nishanth Thomas <nishusemail@gmail.com>
|
|
|
|
|
|
|
|
| |
Change-Id: I46e79a20f1077e9ea3d893af6dde4c747fd493a6
Signed-off-by: Timothy Asir <tjeyasin@redhat.com>
Reviewed-on: http://review.gluster.org/7692
Reviewed-by: Sahina Bose <sabose@redhat.com>
Tested-by: Sahina Bose <sabose@redhat.com>
|
|
|
|
|
|
|
|
| |
Change-Id: Ifc2b679a4f4e6f7ab50ba091befacb4194790ccf
Signed-off-by: Timothy Asir <tjeyasin@redhat.com>
Reviewed-on: http://review.gluster.org/7684
Reviewed-by: Sahina Bose <sabose@redhat.com>
Tested-by: Sahina Bose <sabose@redhat.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Removed the unused file check_vol_status.py from
the repo and Makefile
Change-Id: Ie42e24223e5703b7ca024da685a3f0748b39f2cf
Bug-URL: https://bugzilla.redhat.com/show_bug.cgi?id=1090937
Signed-off-by: Nishanth Thomas <nthomas@redhat.com>
Reviewed-on: http://review.gluster.org/7725
Tested-by: Nishanth Thomas <nishusemail@gmail.com>
Reviewed-by: Shubhendu Tripathi <shtripat@redhat.com>
Reviewed-by: Kanagaraj M <kmayilsa@redhat.com>
|
|
|
|
|
|
|
|
|
|
|
|
| |
Return all the hosts including disconnected hosts
with the status field in discoverpeers NRPE command
Bug-Url: https://bugzilla.redhat.com/1091170
Change-Id: If3f8076ba6857940bdd7c8eb7a5b2d0715985733
Signed-off-by: Ramesh Nachimuthu <rnachimu@redhat.com>
Reviewed-on: http://review.gluster.org/7679
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
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
|
| |
- changed the service name to 'SMB'
- changed the default value to 'disable'
Change-Id: I3b7a3b789495278e4b1de0a78e500994739d305a
Signed-off-by: Kanagaraj M <kmayilsa@redhat.com>
Reviewed-on: http://review.gluster.org/7701
Reviewed-by: Ramesh N <rnachimu@redhat.com>
Reviewed-by: Sahina Bose <sabose@redhat.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Adding NRPE command for all process related services. We already
have passive checks through NSCA for all these services and bricks.
But passive checks are submitted only when there is a state change and
Nagios may miss those check results if those services are not
cofigured when we submit passive checks. So, we should have active
checks running atleast for the first time to determine the initial
status of the service
Command 'check_proc_status' helps to check the status of all
gluster related process
Command 'check_brick_status' helps to check the status of bricks
in the host.
Change-Id: I1f442c0c1e54d606576bc0814044f2f149bca220
Signed-off-by: Ramesh Nachimuthu <rnachimu@redhat.com>
Reviewed-on: http://review.gluster.org/7694
Reviewed-by: Kanagaraj M <kmayilsa@redhat.com>
Reviewed-by: Sahina Bose <sabose@redhat.com>
|
|
|
|
|
|
|
|
|
| |
changed from "Brick Status - <dir>" to "Brick - <dir>"
Change-Id: If71b54e7b5fad50d849fb90d20caec6a59353a6f
Signed-off-by: Kanagaraj M <kmayilsa@redhat.com>
Reviewed-on: http://review.gluster.org/7690
Reviewed-by: Sahina Bose <sabose@redhat.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Modifed the check_proc_status plugin to check the disk
status as well for the brick and accordingly report the
status to brick service in nagios server.
Change-Id: Ie9c59382e5926682254eff1c89e3a992deda6a38
Signed-off-by: Nishanth Thomas <nthomas@redhat.com>
Reviewed-on: http://review.gluster.org/7634
Reviewed-by: Kanagaraj M <kmayilsa@redhat.com>
Tested-by: Nishanth Thomas <nishusemail@gmail.com>
Reviewed-by: Timothy Asir <tim.gluster@gmail.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>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
service descriptions:
- Gluster Management
- NFS
- Self-Heal
- Quota
- CIFS
- Brick - <brick_dir>
Change-Id: Icf31ff3c93c8763e4751ed7fdecce904cee59c14
Signed-off-by: Kanagaraj M <kmayilsa@redhat.com>
Reviewed-on: http://review.gluster.org/7666
Reviewed-by: Ramesh N <rnachimu@redhat.com>
Reviewed-by: Sahina Bose <sabose@redhat.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
CTDB is node based and any gluster volume can be configured
to be used by CTDB. Normally when CTDB starts it will start
Samba automatically. However one can switch off SMB at any
given time. But If SMB/NFS are not running in any node,
then CTDB is also not required.
This patch checks for CTDB process and will send an
appropriate message to nagios based on its status
using 'ctdb nodestatus' command.
Currently there is no direct way to find whether CTDB
is required to run on a given node. Its because,
the CTDB volume name / CTDB volume mount path can have
any name.
It could be easy if gluster-cli comes with any
tag/set command to know whether the given volume is
for CTDB or CTDB enabled.
Change-Id: Iccb98296ebd902838acc63805bbe20cd77cdcc61
Signed-off-by: Timothy Asir <tjeyasin@redhat.com>
Reviewed-on: http://review.gluster.org/7647
Tested-by: Timothy Asir <tim.gluster@gmail.com>
Reviewed-by: Kanagaraj M <kmayilsa@redhat.com>
Reviewed-by: Sahina Bose <sabose@redhat.com>
|
|
|
|
|
|
|
|
| |
Fix pep8 error
Change-Id: I9dc12c6a72b86ec8fadb9bd2447a4eb522a44afb
Signed-off-by: Sahina Bose <sabose@redhat.com>
Reviewed-on: http://review.gluster.org/7668
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
| |
Removed 'import socket' from check_proc_status.py
Change-Id: Ib6a4247b7f73b06b569e067b6af94d5810ad7fde
Signed-off-by: Timothy Asir <tjeyasin@redhat.com>
Reviewed-on: http://review.gluster.org/7649
Tested-by: Timothy Asir <tim.gluster@gmail.com>
Reviewed-by: Sahina Bose <sabose@redhat.com>
|
|
|
|
|
|
|
|
|
|
|
|
| |
Enhanced to send specific gluster related process status only
when there is a change detected in a service status or for any
critical status to avoid too many logs in the nagios service side.
Change-Id: I26e389ae2d1ccba1b5ccadc45d202d3b5219c74a
Signed-off-by: Timothy Asir <tjeyasin@redhat.com>
Reviewed-on: http://review.gluster.org/7602
Reviewed-by: Sahina Bose <sabose@redhat.com>
Tested-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>
|
|
|
|
|
|
|
|
|
|
|
| |
Fixed the check_vol_status nrpe plugin to take
arguments instead of defining multiple commands
Change-Id: I8d12848e4bbb2394c018b4968baa8df69ce7793a
Signed-off-by: Sahina Bose <sabose@redhat.com>
Reviewed-on: http://review.gluster.org/7637
Reviewed-by: Kanagaraj M <kmayilsa@redhat.com>
Reviewed-by: Ramesh N <rnachimu@redhat.com>
|
|
|
|
|
|
|
|
|
|
| |
fix for pep8 issue
Change-Id: Ia402d2f152a5ecd169f43c759c5beb1c4038ff3b
Signed-off-by: Ramesh Nachimuthu <rnachimu@redhat.com>
Reviewed-on: http://review.gluster.org/7625
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>
|
|
|
|
|
|
|
|
|
|
| |
Adding a new NRPE command 'configure_gluster_node' to configure
gluster nodes to send passive check results using NSCA.
Change-Id: I1993eefab112f9fb5ba7764593cebca9923b4aba
Signed-off-by: Ramesh Nachimuthu <rnachimu@redhat.com>
Reviewed-on: http://review.gluster.org/7595
Reviewed-by: Sahina Bose <sabose@redhat.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Change the brick status service descrption to
"Brick Status - <brick-path>". Currently it is
"Brick Status - <hostaddress>:<brick-path>".
Change-Id: Ib6ca14447756ef96bff65f5732699ac5842eabce
Signed-off-by: Ramesh Nachimuthu <rnachimu@redhat.com>
Reviewed-on: http://review.gluster.org/7596
Reviewed-by: Shubhendu Tripathi <shtripat@redhat.com>
Reviewed-by: Kanagaraj M <kmayilsa@redhat.com>
Reviewed-by: Sahina Bose <sabose@redhat.com>
|
|
|
|
|
|
|
| |
Adding BuildRequires for the required packages.
Change-Id: Iacfe1e09610b4801548cc56f703ee12ba294ec24
Signed-off-by: Kanagaraj M <kmayilsa@redhat.com>
|
|
|
|
|
| |
Change-Id: I5464c916e1885c5f4109a5c1ae9c3abd9d040fab
Signed-off-by: Sahina Bose <sabose@redhat.com>
|
|
|
|
|
|
|
| |
Adding sudo in nrpe commands to use clustercli.
Change-Id: I3ad29d942def0969489c2ff7c17065546b0a1427
Signed-off-by: Ramesh Nachimuthu <rnachimu@redhat.com>
|
|
|
|
|
|
|
|
| |
Added self-heal status option to the
check_volume_status plugin
Change-Id: Ia48f7baa3b6e4f0091be2116ab058ab48f1e5a29
Signed-off-by: Sahina Bose <sabose@redhat.com>
|
|
|
|
|
|
|
|
|
|
| |
Currently host IP/Name is used to indetify the bricks
in host. But it breaks when we use fqdn names in peer probe.
So changing the auto conf to use Host UUIDs to identify the
bricks
Change-Id: Id28ac7a47a4ce5beb1fc8f91cdb136bca17f071f
Signed-off-by: Ramesh Nachimuthu <rnachimu@redhat.com>
|
|
|
|
|
|
|
|
| |
adding the NRPE command 'discoverhostparams' to find the
host name to use it host configuration.
Change-Id: Ic80ac487059566f62afad83a5880922f8b5eb4cd
Signed-off-by: Ramesh Nachimuthu <rnachimu@redhat.com>
|
|
|
|
|
|
|
|
| |
- Skipped OFFLINE volumes for checking nfs option
- Fixed a loop issue in SHD
Change-Id: I76a07ceb6724c6d723aec135021501518341fab7
Signed-off-by: Kanagaraj M <kmayilsa@redhat.com>
|
|
|
|
|
| |
Change-Id: Id1a490777b0765b7e2bbfcbdb3615970af82f015
Signed-off-by: Timothy Asir <tjeyasin@redhat.com>
|
|
|
|
|
|
|
|
|
|
| |
fetch the hostname from nagios_server.conf file
otherwise use the host-fqdn name for sending proc status
thru nsca. And fix the check_proc_status plugin path
in cron.d/gluster-proc.crontab file.
Change-Id: Ibfc027742b58d87daa7e54aa553892d42c71e795
Signed-off-by: Timothy Asir <tjeyasin@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>
|
|
|
|
|
| |
Change-Id: I51ebd03f2bd8d3339a35ec28176785fd77afbc37
Signed-off-by: Timothy Asir <tjeyasin@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>
|
|
|
|
|
|
|
|
| |
Using the glustercli.volumeInfo() from common to get the volume
info. It makes the discovery logic very simple
Change-Id: Iacf319eb3b3b39805a483cbe43b02496802316a7
Signed-off-by: Ramesh Nachimuthu <rnachimu@redhat.com>
|
|
|
|
|
|
|
|
| |
Added a requires on nsca and fixed the errors
on calling syslog plugin
Change-Id: I310a6a8aa64042a290d45207f78cf1d1d2b3b09b
Signed-off-by: Sahina Bose <sabose@redhat.com>
|
|
|
|
|
|
|
| |
Updated the spec file with required python-cpopen version.
Change-Id: I156ecf072297538186f0d4c5851f24d9ea90ba88
Signed-off-by: Kanagaraj M <kmayilsa@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
|
|
|
|
|
|
|
|
| |
Fixing the issue in discoverying host when there are more
than two hosts in the cluster.
Signed-off-by: Ramesh Nachimuthu <rnachimu@redhat.com>
Change-Id: I1d70f7e848b189f346a9cff4994f5bb478ce2a92
|
|
|
|
|
|
|
|
|
|
| |
Modified the code to address the review comments
Change-Id: Iaf18745920ec1177622b5f8a667a2e77f89796da
Signed-off-by: Nishanth Thomas <nthomas@redhat.com>
Reviewed-on: https://code.engineering.redhat.com/gerrit/22345
Tested-by: Ramesh Nachimuthu <rnachimu@redhat.com>
Reviewed-by: Kanagaraj Mayilsamy <kmayilsa@redhat.com>
|