| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Changed the log message in check_proc_status.py from
"Hostname not configured" to "'hostname_in_nagios' is
not configured in /etc/nagios/nagios_server.conf"
to make it more meaningful.
Change-Id: Iacd0c6165bba97e87e0ab6a855a7314e4ac57102
Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=1120832
Signed-off-by: ndarshan <dnarayan@redhat.com>
Reviewed-on: http://review.gluster.org/8920
Reviewed-by: Sahina Bose <sabose@redhat.com>
Reviewed-by: Kanagaraj M <kmayilsa@redhat.com>
|
|
|
|
|
|
|
|
|
|
|
| |
Fixing issue in CTDB status. SMB and NFS status codes were
not passed properly to the check_proc_util.getCtdbStatus() method.
Bug-Url: https://bugzilla.redhat.com/1107977
Change-Id: I4bb7f61488e83fb1fbd6d0b4369b782ada37af7c
Signed-off-by: Ramesh Nachimuthu <rnachimu@redhat.com>
Reviewed-on: http://review.gluster.org/8033
Reviewed-by: Sahina Bose <sabose@redhat.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
While the RHS node is getting booted, the /dev/tty is not yet
set so setting stdout_path to /dev/tty fails. As a result start
of the check_proc_status daemon fails.
Fixed to set stdout_path to /dev/null to resolve the same.
Change-Id: I2d09d373fcf6d0b21bda3f35b4cf4ee83594fcb8
Bug-URL: https://bugzilla.redhat.com/show_bug.cgi?id=1103268
Signed-off-by: Shubhendu Tripathi <shtripat@redhat.com>
Reviewed-on: http://review.gluster.org/7962
Reviewed-by: Sahina Bose <sabose@redhat.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
modified the check_proc_status plugin to make the brick to
DOWN when volume is DOWN
Change-Id: Iafc8294d542753de23867baefeed3db6cc8d0663
Bug-Url:https://bugzilla.redhat.com/show_bug.cgi?id=1090854
Signed-off-by: Nishanth Thomas <nthomas@redhat.com>
Reviewed-on: http://review.gluster.org/7801
Reviewed-by: Kanagaraj M <kmayilsa@redhat.com>
Reviewed-by: Shubhendu Tripathi <shtripat@redhat.com>
Tested-by: Nishanth Thomas <nishusemail@gmail.com>
Reviewed-by: Sahina Bose <sabose@redhat.com>
|
|
|
|
|
|
|
|
|
| |
Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=1096620
Change-Id: I8b7b3f11426c2c6841165cb05740cd9bbfc24195
Signed-off-by: Timothy Asir <tjeyasin@redhat.com>
Reviewed-on: http://review.gluster.org/7774
Tested-by: Timothy Asir <tim.gluster@gmail.com>
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>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
| |
- Skipped OFFLINE volumes for checking nfs option
- Fixed a loop issue in SHD
Change-Id: I76a07ceb6724c6d723aec135021501518341fab7
Signed-off-by: Kanagaraj M <kmayilsa@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>
|
|
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>
|