summaryrefslogtreecommitdiffstats
path: root/config/Makefile.am
Commit message (Collapse)AuthorAgeFilesLines
* nagios: Moved service config to new fileSahina Bose2016-05-031-0/+1
| | | | | | | | | | | | | | | | | Service config created for heal info monitoring was added to existing config file. This fails to work in upgrade scenarios where gluster-template.cfg was edited. Moving new service definitions to a different file to solve this issue. BUG: 1327953 Signed-off-by: Sahina Bose <sabose@redhat.com> Change-Id: Ieec3648601d4224fc3835b0d1c5fae0d8a0a3b79 Reviewed-on: http://review.gluster.org/14072 Reviewed-by: Ramesh N <rnachimu@redhat.com> Tested-by: Sahina Bose <sabose@redhat.com> Reviewed-by: Sahina Bose <sabose@redhat.com>
* Revert "packaging: install temp_node1.cfg only for the first time"Ramesh Nachimuthu2014-11-171-0/+1
| | | | | | | | | | | | This reverts commit 11f96adbb1f8bff8cf7b385da10200a5627d980a. Bug-Url:https://bugzilla.redhat.com/1162446 Bug-Url:https://bugzilla.redhat.com/1162443 Change-Id: I831bb0c84721a0c3181a2d58421520a6fb788621 Signed-off-by: Ramesh Nachimuthu <rnachimu@redhat.com> Reviewed-on: http://review.gluster.org/9122 Reviewed-by: Kanagaraj M <kmayilsa@redhat.com> Reviewed-by: Sahina Bose <sabose@redhat.com>
* packaging: install temp_node1.cfg only for the first timeRamesh Nachimuthu2014-10-291-1/+0
| | | | | | | | | | | | Installing temp_node1.cfg conditionally during first installation only. It won't be re-installed during upgrade. Change-Id: I26cc945d5b8b650d8457b7232d9dc0f3c5eac105 Bug-Url: https://bugzilla.redhat.com/1115387 Signed-off-by: Ramesh Nachimuthu <rnachimu@redhat.com> Reviewed-on: http://review.gluster.org/8303 Reviewed-by: Sahina Bose <sabose@redhat.com> Tested-by: Sahina Bose <sabose@redhat.com>
* Add sudo configuration for nagios user for nagios pluginsTimothy Asir2014-06-061-0/+6
| | | | | | | | | Change-Id: Ibb601ace97c34a4bd91f2f9658d305a68a7aacaa Bug-Url: https://bugzilla.redhat.com/1085291 Signed-off-by: Timothy Asir <tjeyasin@redhat.com> Reviewed-on: http://review.gluster.org/7895 Reviewed-by: Sahina Bose <sabose@redhat.com> Tested-by: Sahina Bose <sabose@redhat.com>
* nagios-server-addons: Fix for dummy config file issue.ndarshan2014-06-031-1/+1
| | | | | | | | | | | | | | | | | | | This patch replaces the configfile node1.cfg(gluster-host) by temp_node1.cfg which is of type linux-server having service PING. And this dummy config file is renamed to temp_node1.cfg.sample during auto-discovery as it is not needed after we configure actual hosts. Also this patch sets the config variable allow_empty_hostgroup_assignment to 1, which is needed for nagios to allow declaration of empty host-group with services. Change-Id: I03cc54975f5ff5857f8d82b66110e049e4195009 Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=1091236 Signed-off-by: ndarshan <dnarayan@redhat.com> Reviewed-on: http://review.gluster.org/7952 Reviewed-by: Kanagaraj M <kmayilsa@redhat.com> Reviewed-by: Shubhendu Tripathi <shtripat@redhat.com> Reviewed-by: Sahina Bose <sabose@redhat.com>
* auto config : Enhance the auto config to preserve user changesRamesh Nachimuthu2014-04-291-1/+0
| | | | | | | | | Enhace the auto configuration in nagios to preserve the user changes. pynag apis are used to read/write/update the nagios config files. Change-Id: I6820928fb2b0baff5d6e65c811a48b5ff718f9e3 Signed-off-by: Ramesh Nachimuthu <rnachimu@redhat.com>
* snmp: Fix conf file name and permissionKanagaraj M2014-04-291-1/+1
| | | | | | | | | | | Renamed the file to snmpmanagers.conf, as .cfg files nagios specific files. Changed the permission to nagios:nagios, as trapgenerater fails otherwise. Change-Id: I2fbc4404c7177ee3bcaeab3151cbcba8e062772a Signed-off-by: Kanagaraj M <kmayilsa@redhat.com>
* SNMP Trap Support : SNMP notification on status changeNishanth Thomas2014-04-291-0/+8
| | | | | | | | | | | 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>
* AutoDiscovery: Auto discovery for gluster entitiesRamesh Nachimuthu2014-04-291-0/+1
| | | | | | | | | | 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>
* plugins: Definitions for brick usageSahina Bose2014-04-291-0/+1
| | | | | | | | | | | | 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>
* nagios-server-addons: Check remote host pluginShubhendu Tripathi2014-04-291-0/+1
| | | | | | | | | | 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>
* Notification: Notification handler for ovirt notificationRamesh Nachimuthu2014-04-291-0/+1
| | | | | | | | | | | | | | | | | | | | | | 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/+17
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