summaryrefslogtreecommitdiffstats
path: root/config/gluster-templates.cfg
Commit message (Collapse)AuthorAgeFilesLines
* nagios-server-addons: Check hosts status using NRPEShubhendu Tripathi2014-05-301-0/+1
| | | | | | | | | | | | | Enabled to execute check_nrpe for a given host to check its status. Change-Id: I938b78fcbf52cd46f4f493e2c2b8b927614834eb Bug-URL: https://bugzilla.redhat.com/show_bug.cgi?id=1102506 Signed-off-by: Shubhendu Tripathi <shtripat@redhat.com> Reviewed-on: http://review.gluster.org/7923 Reviewed-by: Ramesh N <rnachimu@redhat.com> Reviewed-by: Kanagaraj M <kmayilsa@redhat.com> Reviewed-by: Timothy Asir <tim.gluster@gmail.com>
* server-addons: fix for hostgroup issue in brick status event handlerRamesh Nachimuthu2014-05-271-1/+1
| | | | | | | | | | | | | | | | | Macro "$HOSTGROUPNAME$" is used in brick status event handler. But this macro gives only one of the host group to which the host belongs to. But in gluster monitoring, all gluster hosts will have two host groups ('gluster-host' and a host group with cluster name). So using the macro "$HOSTGROUPNAMES$" to pass all the host groups to event handler and internally getting the currect cluster name. Change-Id: I61713ecabff52bcd7f585e9f678426370b9b24d4 Signed-off-by: Ramesh Nachimuthu <rnachimu@redhat.com> Reviewed-on: http://review.gluster.org/7761 Reviewed-by: Nishanth Thomas <nishusemail@gmail.com> Reviewed-by: Kanagaraj M <kmayilsa@redhat.com> Reviewed-by: Timothy Asir <tim.gluster@gmail.com>
* nagios-server-addons: Disabled check_remote_host serviceShubhendu Tripathi2014-05-201-2/+1
| | | | | | | | | | | | Disabled the gluster host service check_command service check_remote_host Change-Id: If71ed9d42ef65a9a9b36668fed7b449745cc5df1 Bug-URL: https://bugzilla.redhat.com/show_bug.cgi?id=1098468 Signed-off-by: Shubhendu Tripathi <shtripat@redhat.com> Reviewed-on: http://review.gluster.org/7797 Reviewed-by: Kanagaraj M <kmayilsa@redhat.com> Reviewed-by: Timothy Asir <tim.gluster@gmail.com>
* server-addons: add active checks for gluster processRamesh Nachimuthu2014-05-071-3/+4
| | | | | | | | | | | Adding checks for gluster process and bricks. Change-Id: Ie688233db2a5da0d1a26d5576507559e7e8f5d2d Signed-off-by: Ramesh Nachimuthu <rnachimu@redhat.com> Reviewed-on: http://review.gluster.org/7697 Reviewed-by: Kanagaraj M <kmayilsa@redhat.com> Reviewed-by: Shubhendu Tripathi <shtripat@redhat.com> Reviewed-by: Sahina Bose <sabose@redhat.com>
* notification: Remove ovirt from contactsKanagaraj M2014-05-021-2/+2
| | | | | | | | | | Removed ovirt contact from host and service as sending notifications to ovirt is not ready yet. Change-Id: Ic62b5b62c1a32e3cdc068ad67ec60b781b1effde Signed-off-by: Kanagaraj M <kmayilsa@redhat.com> Reviewed-on: http://review.gluster.org/7627 Reviewed-by: Sahina Bose <sabose@redhat.com>
* volume status: event handler for brick statusRamesh Nachimuthu2014-04-291-0/+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>
* SNMP Trap Support : SNMP notification on status changeNishanth Thomas2014-04-291-9/+17
| | | | | | | | | | | These plugins will generate SNMP traps when there is a host or service state change in Nagios. Plugged into the Nagios Notification mechanism and uses netsnmp utils to generate SNMP traps Addressed the review comments Change-Id: I42c4d1968a48bc80e767f6fbc24d1637a92d21b0 Signed-off-by: Nishanth Thomas <nthomas@redhat.com>
* Cluster Status: Plugin to display the overall status of clusterNishanth Thomas2014-04-291-0/+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>
* config: added passive checks for gluster processes/bricksKanagaraj M2014-04-291-0/+16
| | | | | | | | | | | | | | | | | | Added passive check service entry for the following. Gluster Management Daemon Gluster NFS Daemon Gluster Self-Heal Daemon Brick Status And renamed the service_description of Brick Brick Utilization - host_ip:brick_dir Brick Status - host_ip:brick_dir display_name for host/service is not being used by nagios according to the documentation, so removed from the conf. Change-Id: Iab66c1a9a07a04ac4e8b8dac76cac30cd5b02365 Signed-off-by: Kanagaraj M <kmayilsa@redhat.com>
* plugins: Definitions for brick usageSahina Bose2014-04-291-0/+6
| | | | | | | | | | | | 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>
* Notification: Notification handler for ovirt notificationRamesh Nachimuthu2014-04-291-17/+35
| | | | | | | | | | | | | | | | | | | | | | 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>
* all: import plugins/templates/config from githubv0.1.0Bala.FA2014-04-291-0/+32
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