summaryrefslogtreecommitdiffstats
path: root/config
Commit message (Collapse)AuthorAgeFilesLines
* gluster-nagios: move nrpe config to custom locationSahina Bose2017-05-182-0/+22
| | | | | | | | BUG: 1425724 Change-Id: If389220150c1c9e1a8f346d03c81b43936472a26 Signed-off-by: Sahina Bose <sabose@redhat.com> Reviewed-on: https://review.gluster.org/17306 Reviewed-by: Timothy Asir
* plugins: nrpe plugin to check volumes with server quorumSahina Bose2015-05-311-0/+1
| | | | | | | | | | | | Added a plugin to check if any volume in the cluster has the server side quorum turned on Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=1106421 Change-Id: I897aedd737a622832548e7470e8f3cf9fb7dbc2c Signed-off-by: Sahina Bose <sabose@redhat.com> Reviewed-on: http://review.gluster.org/8016 Reviewed-by: darshan n <dnarayan@redhat.com> Reviewed-by: Ramesh N <rnachimu@redhat.com>
* nagios-plugins: Disk utilization plugin revamp.ndarshan2015-02-191-1/+1
| | | | | | | | | | | | | | | | | This patch is aimed at revamping the existing check_disk_and_inode plugin in such a way that the plugin behaviour is same for both disk utilization service and brick utilization service. It has just two options include and exclude to include or exclude the mountpoints to be monitoried. This plugin monitors the data, inode, thinpool, thinpool-metadata utilization irrespective of service using this plugin. Change-Id: I98b18d6f3b22915978f8c6381adc99729a4e1161 Bug-Url:https://bugzilla.redhat.com/show_bug.cgi?id=1167771 Signed-off-by: ndarshan <dnarayan@redhat.com> Reviewed-on: http://review.gluster.org/9389 Reviewed-by: Bala FA <barumuga@redhat.com> Reviewed-by: Sahina Bose <sabose@redhat.com>
* nagios-plugins: Disabled push notification for quota alertsSahina Bose2014-07-161-1/+1
| | | | | | | | | | | | | | | Disable the quota push notification using NSCA as this only supports soft-limit alerts and overrides the existing hard limit alerts. The poll based NRPE status check for quota is sufficient for now. Change-Id: I8203f27fa66c47b1c725819816e326cd6ee13331 Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=1119717 Signed-off-by: Sahina Bose <sabose@redhat.com> Reviewed-on: http://review.gluster.org/8314 Reviewed-by: Kanagaraj M <kmayilsa@redhat.com> Reviewed-by: Shubhendu Tripathi <shtripat@redhat.com>
* Add status information to show disk usageTimothy Asir2014-06-101-0/+1
| | | | | | | | | | | | | | | | | | | | | | This will show the status like: for critical usage: CRITICAL: 4% used (4GB out of 100GB):mounts: (CRITICAL : <critical list> followed by WARNING if any followed by OK for disk status "WARNING": WARNING: 4% used (4GB out of 100GB):mounts: (WARNING if any followed by OK for disk status "OK": OK: 4% used (4GB out of 100GB):mounts:(<mounts>) Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=1081495 Change-Id: I9dbda7a5d6ea992ba73acce2174e6d66f2e16066 Signed-off-by: Timothy Asir <tjeyasin@redhat.com> Reviewed-on: http://review.gluster.org/7936 Tested-by: Timothy Asir <tim.gluster@gmail.com> Reviewed-by: Sahina Bose <sabose@redhat.com>
* Add sudo configuration for nrpe users for specific pathTimothy Asir2014-06-052-0/+18
| | | | | | | | Change-Id: Ib0a25a13423fa3020f55bfddc831e2b653d4c9ea Signed-off-by: Timothy Asir <tjeyasin@redhat.com> Reviewed-on: http://review.gluster.org/7808 Tested-by: Timothy Asir <tim.gluster@gmail.com> Reviewed-by: Sahina Bose <sabose@redhat.com>
* plugins: Corrected the omprog filter for quota logsSahina Bose2014-05-201-1/+1
| | | | | | | | | | | | The app-name for quota log is based on the brick path and not "bricks". Corrected the filter pattern to match the logs for quota Change-Id: I9619a1131ee54e60b22d36040038a3bbc5d6233d Bug-Url: https://bugzilla.redhat.com/1091998 Signed-off-by: Sahina Bose <sabose@redhat.com> Reviewed-on: http://review.gluster.org/7806 Reviewed-by: Kanagaraj M <kmayilsa@redhat.com>
* plugins: Plugin to handle server quorumSahina Bose2014-05-051-1/+1
| | | | | | | | | | | | | | | | | | | Plugin to handle log messages related to server quorum Message is parsed for msgid as the msgid is not correctly populated now Fixed pep8 errors in nscautils and added tests Also changed the service name to remove "Status" -it now reads Volume Quota, for instance Change-Id: I339ed16b3806f853ae3555a998974c47157c95ad Signed-off-by: Sahina Bose <sabose@redhat.com> Reviewed-on: http://review.gluster.org/7648 Reviewed-by: Shubhendu Tripathi <shtripat@redhat.com> Reviewed-by: Ramesh N <rnachimu@redhat.com> Reviewed-by: Kanagaraj M <kmayilsa@redhat.com>
* Run check gluster process status as a daemonTimothy Asir2014-05-021-0/+5
| | | | | | | | | | | | Enhanced to send specific gluster related process status only when there is a change detected in a service status or for any critical status to avoid too many logs in the nagios service side. Change-Id: I26e389ae2d1ccba1b5ccadc45d202d3b5219c74a Signed-off-by: Timothy Asir <tjeyasin@redhat.com> Reviewed-on: http://review.gluster.org/7602 Reviewed-by: Sahina Bose <sabose@redhat.com> Tested-by: Timothy Asir <tim.gluster@gmail.com>
* Use hostname from the config for sending proc status thru nscaTimothy Asir2014-04-291-0/+6
| | | | | | | | | | fetch the hostname from nagios_server.conf file otherwise use the host-fqdn name for sending proc status thru nsca. And fix the check_proc_status plugin path in cron.d/gluster-proc.crontab file. Change-Id: Ibfc027742b58d87daa7e54aa553892d42c71e795 Signed-off-by: Timothy Asir <tjeyasin@redhat.com>
* plugins: Fixed errors in syslog pluginSahina Bose2014-04-291-1/+1
| | | | | | | | Added a requires on nsca and fixed the errors on calling syslog plugin Change-Id: I310a6a8aa64042a290d45207f78cf1d1d2b3b09b Signed-off-by: Sahina Bose <sabose@redhat.com>
* plugins: Plugin to act on syslog messageSahina Bose2014-04-293-0/+44
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>