summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* plugins: Plugin to act on syslog messageSahina Bose2014-04-2912-35/+280
| | | | | | | | | | | | 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-295-19/+56
| | | | | | | | | Added an optional parameter to query quota status Added command to nrpe.cfg Change-Id: I9f60ed1a98cb2ca59b799cf9c09e3621b7bd8c0c Signed-off-by: Sahina Bose <sabose@redhat.com>
* rhs-nagios-addons: Plugin for volume statusndarshan2014-04-293-0/+131
| | | | | | | | 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
* fix the host discovery issue.Ramesh Nachimuthu2014-04-291-1/+1
| | | | | | | | 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
* Added the plugins for discovering the gluster componentsNishanth Thomas2014-04-295-0/+170
| | | | | | | | | | 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>
* rhs-nagios-addon: Added nagios-plugins-ide_smart dependencyShubhendu Tripathi2014-04-291-0/+1
| | | | | | | | | | | 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>
* Add command entry for check_vol_utilization in the spec file.Timothy Asir2014-04-291-0/+1
| | | | | | | 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>
* Add python-cpopen requires dependency in the spec file.Timothy Asir2014-04-291-0/+1
| | | | | | | 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>
* fix: fix for build issue with respect to capacity.soRamesh Nachimuthu2014-04-291-4/+4
| | | | | | | 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>
* plugins: Added the files for volume utilization and status plugins fixed few ↵Nishanth Thomas2014-04-299-0/+444
| | | | | | | | | | | | 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>
* Enhanced check_disk_and_inode pluginTimothy Asir2014-04-293-121/+345
| | | | | | | | | | | 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>
* Plugin: Fix for wrong argument for network plugin in spec.ndarshan2014-04-291-1/+1
| | | | | | | | | | | 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>
* plugins:Fix to handle sadf not accepting time range, test case additionndarshan2014-04-2920-440/+3590
| | | | | | | | | | | | | 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>
* rfc: refactor to make more usable and friendlyBala.FA2014-04-291-57/+176
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* plugins: remove server pluginsBala.FA2014-04-295-423/+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-293-4/+80
| | | | | | | | | 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-2911-0/+1146
| | | | | | | | | 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-2922-0/+1655
| | | | | Change-Id: I45f91b2017ed59b057d21de52fd94c5c83fcf86f Signed-off-by: Bala.FA <barumuga@redhat.com>
* Initial empty repositoryHumble Devassy Chirammal2014-04-220-0/+0