| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
|
| |
Added the nagios-plugins-ide_smart dependency to be installed
Change-Id: I7fa05fcac6a769a9cdc253f3fe55b2b4f8e72fd5
Signed-off-by: Shubhendu Tripathi <shtripat@redhat.com>
Reviewed-on: https://code.engineering.redhat.com/gerrit/21956
Reviewed-by: Timothy Asir Jeyasingh <tjeyasin@redhat.com>
Reviewed-by: Darshan Narayana Murthy <dnarayan@redhat.com>
Reviewed-by: Sahina Bose <sabose@redhat.com>
|
|
|
|
|
|
|
| |
Change-Id: I726478c9a36674c24ef4dbecdea6f0f6a1f432f2
Signed-off-by: Timothy Asir <tim.gluster@gmail.com>
Reviewed-on: https://cuckoo.blr.redhat.com:8443/67
Reviewed-by: Sahina Bose <sabose@redhat.com>
|
|
|
|
|
|
|
| |
Change-Id: I41d4f611c9e2cde12eae802476684c13b82f5c3f
Signed-off-by: Timothy Asir <tim.gluster@gmail.com>
Reviewed-on: https://cuckoo.blr.redhat.com:8443/60
Reviewed-by: Sahina Bose <sabose@redhat.com>
|
|
|
|
|
|
|
| |
Signed-off-by: Ramesh Nachimuthu <rnachimu@redhat.com>
Change-Id: Ic680cee909eb41358f524256b9036790370cb53b
Reviewed-on: https://cuckoo.blr.redhat.com:8443/55
Reviewed-by: Sahina Bose <sabose@redhat.com>
|
|
|
|
|
|
|
|
|
|
|
|
| |
issues with code
fixed the pep8 issues
Change-Id: I2c2b32e7bbdc30a7b68acc1ce4e0468fd53a3050
Signed-off-by: Nishanth Thomas <nthomas@redhat.com>
Reviewed-on: https://cuckoo.blr.redhat.com:8443/42
Reviewed-by: Sahina Bose <sabose@redhat.com>
Tested-by: Sahina Bose <sabose@redhat.com>
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
|
| |
Modified the argument for network plugin to be a string,
in spec file.
Change-Id: Ia4bb1c113f1117a9e06cf81e7bb78a11b7b4c048
Signed-off-by: ndarshan <dnarayan@redhat.com>
Reviewed-on: https://cuckoo.blr.redhat.com:8443/52
Reviewed-by: Sahina Bose <sabose@redhat.com>
Tested-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>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Usage: rfc.sh [OPTION]... [ <REVIEWER> ]...
Options:
-a ask for Bug ID addition. This option is set by default for
non 'master' branches.
-b BRANCH use BRANCH to submitting patch. Default branch is 'master'.
-d dry run. Show what command to run.
-n do not fetch origin.
-t TOPIC use TOPIC to submitting patch.
-h display this help text and exit.
By default, BUGID is used as topic in patch submission. If TOPIC and
BUGID are used together, TOPIC gets used.
Examples:
# submit patch to master branch without reviewer
$ rfc.sh
# submit patch to master branch with reviewer
$ rfc.sh charlie@example.com
# submit patch to release-3.0 branch with topic "awesome feature" and
# reviewers charlie@example.com alice@example.com
$ rfc.sh -b release-3.0 -t "awesome feature" charlie@example.com alice@example.com
Change-Id: I3519725c05456564be7fc21b7d761a21bdf773eb
Signed-off-by: Bala.FA <barumuga@redhat.com>
Reviewed-on: https://cuckoo.blr.redhat.com:8443/15
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
| |
This update fixes spec and autotools file to match
https://github.com/gluster-rhsc/nagios-plugin.git
Change-Id: Ia49e3ac41254dd6937d60aaa26fdd3764cef398d
Signed-off-by: Bala.FA <barumuga@redhat.com>
Reviewed-on: https://cuckoo.blr.redhat.com:8443/5
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|