summaryrefslogtreecommitdiffstats
path: root/plugins/Makefile.am
Commit message (Collapse)AuthorAgeFilesLines
* plugins: nrpe plugin to check volumes with server quorumSahina Bose2015-05-311-0/+1
| | | | | | | | | | | | 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>
* nagios-plugins: Disk utilization plugin revamp.ndarshan2015-02-191-1/+1
| | | | | | | | | | | | | | | | | 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>
* nagios-addons: Using ctypes to call gfapiRamesh Nachimuthu2014-08-141-4/+1
| | | | | | | | | | | | Removing the volCap.c which was used to call libgfapi and calling libgfapi directly from python using ctypes. Change-Id: Ia78f212c769c34e5cb991e429623946a4256e2af Signed-off-by: Ramesh Nachimuthu <rnachimu@redhat.com> Reviewed-on: http://review.gluster.org/8090 Reviewed-by: Sahina Bose <sabose@redhat.com> Reviewed-by: Bala FA <barumuga@redhat.com>
* gluster-nagios-addons : Remove unused fileNishanth Thomas2014-05-121-1/+0
| | | | | | | | | | | | | 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>
* nagios-addons: Add NRPE command for gluster processesRamesh Nachimuthu2014-05-071-0/+2
| | | | | | | | | | | | | | | | | | | | | 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>
* Run check gluster process status as a daemonTimothy Asir2014-05-021-1/+6
| | | | | | | | | | | | 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>
* autoconf: discover volume list and info separatelyRamesh Nachimuthu2014-05-021-1/+1
| | | | | | | | | | | | | | | | | | | | 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>
* autoconf: Add NRPE command to configure NSCARamesh Nachimuthu2014-04-291-0/+1
| | | | | | | | | | 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>
* Add gluster process monitoring pluginTimothy Asir2014-04-291-0/+2
| | | | | | | | | 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>
* plugins: Plugin to act on syslog messageSahina Bose2014-04-291-0/+2
| | | | | | | | | | | | 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>
* plugins: Enhanced volume status with quota statusSahina Bose2014-04-291-0/+1
| | | | | | | | | Added an optional parameter to query quota status Added command to nrpe.cfg Change-Id: I9f60ed1a98cb2ca59b799cf9c09e3621b7bd8c0c Signed-off-by: Sahina Bose <sabose@redhat.com>
* Added the plugins for discovering the gluster componentsNishanth Thomas2014-04-291-0/+3
| | | | | | | | | | 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>
* plugins: Added the files for volume utilization and status plugins fixed few ↵Nishanth Thomas2014-04-291-0/+6
| | | | | | | | | | | | 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>
* plugins:Fix to handle sadf not accepting time range, test case additionndarshan2014-04-291-1/+5
| | | | | | | | | | | | | 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>
* plugins: remove server pluginsBala.FA2014-04-291-2/+0
| | | | | | | | 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
* build: update spec and build filesBala.FA2014-04-291-0/+6
| | | | | | | | | 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
* plugins: import plugins from githubBala.FA2014-04-291-0/+8
| | | | | | | | | 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
* Initial commitv0.1.0Bala.FA2014-04-291-0/+2
Change-Id: I45f91b2017ed59b057d21de52fd94c5c83fcf86f Signed-off-by: Bala.FA <barumuga@redhat.com>