summaryrefslogtreecommitdiffstats
path: root/plugins/config_generator.py
Commit message (Collapse)AuthorAgeFilesLines
* autoconf: use host uuid to indentity bricksRamesh Nachimuthu2014-04-291-1/+1
| | | | | | | Using host UUIDs to bricks in host Change-Id: Ie5467b05391f709e292644f00495b41af8213b42 Signed-off-by: Ramesh Nachimuthu <rnachimu@redhat.com>
* autoconf: use host name for host configRamesh Nachimuthu2014-04-291-9/+10
| | | | | | | | Discover the host name configured for the gluster node and use the same as host_name in nagios host configuration. Change-Id: Ib9eb8b3f3a1a03d1be28fa2faba44c2fc81fa0cf Signed-off-by: Ramesh Nachimuthu <rnachimu@redhat.com>
* volume status: event handler for brick statusRamesh Nachimuthu2014-04-291-1/+1
| | | | | | | | | Adding an event handler for brick status services. It will reschedule the volume status service to determine the current status of volume after any brick state change Change-Id: I94fa018e5aed15be53f45506f1a38efd698eca79 Signed-off-by: Ramesh Nachimuthu <rnachimu@redhat.com>
* autocof: adding volume name as part of brick servicesRamesh Nachimuthu2014-04-291-2/+7
| | | | | | | | | Currently there is no way to identify the volume from brick services. Hence adding volume name as custom variable and note in brick services Change-Id: If1ef000196dca2239f713fe41d033d8a4161d6c0 Signed-off-by: Ramesh Nachimuthu <rnachimu@redhat.com>
* autoconf: fix adding volume status quota serviceKanagaraj M2014-04-291-0/+1
| | | | | | | | Volume Quota status service was not appended to the service list. Fixed it now. Change-Id: Ia327deefc855619848a7d9ba0e41c155e2c15aa0 Signed-off-by: Kanagaraj M <kmayilsa@redhat.com>
* Cluster Status: Plugin to display the overall status of clusterNishanth Thomas2014-04-291-1/+1
| | | | | | | | | This plugin use mk-livestatus to retrieve the status of the all the volumes and provide aggregrate status of the cluster Addressed review comments Change-Id: Ia83b41cfdc6dcfc1f379c024ba6ea33f9ccfe598 Signed-off-by: Nishanth Thomas <nthomas@redhat.com>
* autoconf: add brick/volume status serviceRamesh Nachimuthu2014-04-291-5/+9
| | | | | | | | Adding services for brick and volume status in auto config Change-Id: Ic4a885f0b0f83294c21e9d8e0c22c720e0866a94 Signed-off-by: Ramesh Nachimuthu <rnachimu@redhat.com>
* plugins: Added quota NRPE to volume statusSahina Bose2014-04-291-1/+16
| | | | | | | | | | Added a way to query for quota status to the check_vol_server plugin This will poll for quota status only if the service status for quota returns non-OK status Change-Id: I6260042ef54308a1f4f7b6d482a2b58a4682d36c Signed-off-by: Sahina Bose <sabose@redhat.com>
* Server-addons: Server-side plugin for volume status.ndarshan2014-04-291-2/+2
| | | | | | | | | | | Modified the existing volume utilization server plugin to include status information as well. Refactored the plugin with an argument -o|--option to get the specific volume status. Change-Id: I2b6f8612e32390fb20917098a255de1ee6b3a170 Signed-off-by: ndarshan <dnarayan@redhat.com> Signed-off-by: Sahina Bose <sabose@redhat.com>
* autoconf: fix for pep8 errorRamesh Nachimuthu2014-04-291-1/+1
| | | | | | | Fixing the pep8 error Change-Id: I437a7dc1502c19b3ab90ad5b8c8cb1862b9ba359 Signed-off-by: Ramesh Nachimuthu <rnachimu@redhat.com>
* autoconf: refactoring auto confRamesh Nachimuthu2014-04-291-5/+6
| | | | | | | | | | | | | | Following small changes have been made in auto conf. 1. Create Cluster utilization service only when there is atleast one volume in the cluster. 2. Change the auto config to use the same host given during manual run for further auto syncing. 3. Change the "gluster_auto_discovery" command to passss the cluster name to auto discovery using $HOSTNAME$ macro Change-Id: Id30e0794d98ada4a0276af0c17781f8742dc14e5 Signed-off-by: Ramesh Nachimuthu <rnachimu@redhat.com>
* AutoDiscovery: Auto discovery for gluster entitiesRamesh Nachimuthu2014-04-291-0/+186
Basic plugin which will discover all the basic gluster entities and creates nagios configuration. Change-Id: I71f05dec9bcce74969db300393f7f7c178161dba Signed-off-by: Ramesh Nachimuthu <rnachimu@redhat.com> Reviewed-on: https://code.engineering.redhat.com/gerrit/22100 Reviewed-by: Sahina Bose <sabose@redhat.com>