summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* config: fix for event handler pathRamesh Nachimuthu2014-04-291-2/+2
| | | | | | | | | | | All event handlers are moved to gluster folder under plugins folder. Hence command has to be changed accordingly. Change-Id: I0b094cf05246b622b1c58277105e855a21350e2e Signed-off-by: Ramesh Nachimuthu <rnachimu@redhat.com> Reviewed-on: https://cuckoo.blr.redhat.com:8443/59 Reviewed-by: Sahina Bose <sabose@redhat.com> Tested-by: Sahina Bose <sabose@redhat.com>
* test: Fixing the test case failure Fixing the failure due to hardcoded var pathSahina Bose2014-04-291-1/+1
| | | | | | Change-Id: I74b85fdcf85e407379a79fe002257dbbe1a8013f Signed-off-by: Sahina Bose <sabose@redhat.com> Reviewed-on: https://cuckoo.blr.redhat.com:8443/58
* plugins: Definitions for brick usageSahina Bose2014-04-294-0/+77
| | | | | | | | | | | | Added nagios command definitions for brick usage Also added a sample file to be used as reference to configure a gluster cluster in Nagios Change-Id: I3db0ce05de997460589b40fd684fff6a4e023fb6 Signed-off-by: Sahina Bose <sabose@redhat.com> Reviewed-on: https://cuckoo.blr.redhat.com:8443/51 Reviewed-by: Ramesh N <rnachimu@redhat.com>
* fix: Fix for pep8 error and import issueRamesh Nachimuthu2014-04-292-4/+3
| | | | | | | Change-Id: I32ab9dc0c3971c3b6bbbdaeec5c9e9087485b077 Signed-off-by: Ramesh Nachimuthu <rnachimu@redhat.com> Reviewed-on: https://cuckoo.blr.redhat.com:8443/54 Reviewed-by: Sahina Bose <sabose@redhat.com>
* nagios-server-addons: Corrected service list fileShubhendu Tripathi2014-04-291-8/+1
| | | | | | | | | | | | Corrected the issue with service list file Change-Id: Id850da21688a46d7439b0927efec0a57e5e3528d Signed-off-by: Shubhendu Tripathi <shtripat@redhat.com> Reviewed-on: https://cuckoo.blr.redhat.com:8443/56 Reviewed-by: darshan n <dnarayan@redhat.com> Reviewed-by: Ramesh N <rnachimu@redhat.com> Tested-by: Ramesh N <rnachimu@redhat.com> Reviewed-by: Sahina Bose <sabose@redhat.com>
* plugins: Hardcoding the localstatedir to /varSahina Bose2014-04-291-1/+1
| | | | | | | | | Since the localstatedir is not getting substituted, hardcoding the value to /var for now. Change-Id: I3a27f9c4cd43f804ea4407224e5ea26db9ceb74e Signed-off-by: Sahina Bose <sabose@redhat.com> Reviewed-on: https://cuckoo.blr.redhat.com:8443/57
* Added files for volume Utilization - Nagios server sideNishanth Thomas2014-04-293-0/+99
| | | | | | | | Change-Id: Idaa995d504e2278fb5a2b67ca4bcbc157307b7d7 Signed-off-by: Nishanth Thomas <nthomas@redhat.com> Reviewed-on: https://cuckoo.blr.redhat.com:8443/50 Reviewed-by: Sahina Bose <sabose@redhat.com> Tested-by: Sahina Bose <sabose@redhat.com>
* Template: Fixed the issues in physical graph templatesndarshan2014-04-294-15/+20
| | | | | | | | | | Fixed issue with memory template, other templates to have graphs of same size for rendering in ui. Change-Id: Iacfe7e16b16e6a6cccb104dea9fed412b3f533c3 Signed-off-by: ndarshan <dnarayan@redhat.com> Reviewed-on: https://cuckoo.blr.redhat.com:8443/11 Reviewed-by: Sahina Bose <sabose@redhat.com>
* nagios-server-addons: Check remote host pluginShubhendu Tripathi2014-04-295-173/+72
| | | | | | | | | | Plugins to ckeck the remote host status based on various services. Change-Id: I1e260829901aa8dd831f0ca1d58609addb9bcf1b Signed-off-by: Shubhendu Tripathi <shtripat@redhat.com> Reviewed-on: https://cuckoo.blr.redhat.com:8443/9 Reviewed-by: Sahina Bose <sabose@redhat.com> Tested-by: Sahina Bose <sabose@redhat.com>
* plugins: Plugin to check the cluster utilizationSahina Bose2014-04-299-2/+248
| | | | | | | | | | | | | | | This plugin sums up the volume utilization outputs in a cluster Added a utils livestatus for common code related to mk_livestatus Added constants for livestatussocket path Change-Id: Id665ad3aaa1140e54c831d721ee874421ae84fa3 Signed-off-by: Sahina Bose <sabose@redhat.com> Reviewed-on: https://cuckoo.blr.redhat.com:8443/10 Reviewed-by: Bala FA <barumuga@redhat.com>
* Notification: Notification handler for ovirt notificationRamesh Nachimuthu2014-04-299-18/+336
| | | | | | | | | | | | | | | | | | | | | | Added a new notification handler to notify nagios events to ovirt. A new contact ovirt is added with the handler which can sent events/alerts to ovirt engine using Rest API. By default all gluster related configuration entities like host, volume, gluster, bricks will have this contact. By default contact ovirt will have some default values for ovirt engie rest api and user fields. User has to fill the right values in ovirt contact defined in gluster-contacts.cfg file. Ovirt password has to be configured as a user variable $USER3$ in file /etc/nagios/private/resource.cfg. User variable $USER3$ used in command to pass the password to the handler. Change-Id: I19074af6ae1ee4a8c16d8821b10a1c3a345f321a Signed-off-by: Ramesh Nachimuthu <rnachimu@redhat.com> Reviewed-on: https://cuckoo.blr.redhat.com:8443/8 Reviewed-by: Timothy Asir <tim.gluster@gmail.com> Reviewed-by: Sahina Bose <sabose@redhat.com>
* spec: fix for spec file issues 1. By default all the .py files will get ↵Ramesh Nachimuthu2014-04-291-3/+3
| | | | | | | | | | executable permission 2. Fixed the dependency issues. Change-Id: I48bae616ad86ce631aa60e759be575bd1321085a Signed-off-by: Ramesh Nachimuthu <rnachimu@redhat.com> Reviewed-on: https://cuckoo.blr.redhat.com:8443/43 Reviewed-by: Timothy Asir <tim.gluster@gmail.com> Reviewed-by: Sahina Bose <sabose@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: Ib2e48a7b658974b34879c3a044d353fb45464600 Signed-off-by: Bala.FA <barumuga@redhat.com> Reviewed-on: https://cuckoo.blr.redhat.com:8443/16
* all: import plugins/templates/config from githubv0.1.0Bala.FA2014-04-2921-2/+1045
| | | | | | | | | All plugins/templates/config are imported from https://github.com/gluster-rhsc/nagios-plugin.git Change-Id: Icbbf23c0595e2b36548015489341d9ff823bac50 Signed-off-by: Bala.FA <barumuga@redhat.com> Reviewed-on: https://cuckoo.blr.redhat.com:8443/6
* Initial commitBala.FA2014-04-2922-0/+1655
| | | | | Change-Id: Iae865d7dce78de83f0931d99b67455b9a0f12e1c Signed-off-by: Bala.FA <barumuga@redhat.com>
* Initial empty repositoryHumble Devassy Chirammal2014-04-220-0/+0