| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
| |
The directive for check attempts should be max_check_attempts
Change-Id: Id7cb814a55dbde714aa9cf570150e5d0158763e4
Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=1128154
Signed-off-by: Sahina Bose <sabose@redhat.com>
Reviewed-on: http://review.gluster.org/8482
Reviewed-by: Ramesh N <rnachimu@redhat.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Passive check results that result in state changes
need to be treated as HARD states, so that notifications
can be send out immediately
Change-Id: I747b0f1301ee9321adb559e02a47e30fd4e4a346
Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=1128154
Signed-off-by: Sahina Bose <sabose@redhat.com>
Reviewed-on: http://review.gluster.org/8467
Reviewed-by: Ramesh N <rnachimu@redhat.com>
Reviewed-by: Kanagaraj M <kmayilsa@redhat.com>
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
| |
Changed the serice name to SMB
Change-Id: I717b538d0ebff04c288dc19396e42151f9e7bec1
Signed-off-by: Kanagaraj M <kmayilsa@redhat.com>
Reviewed-on: http://review.gluster.org/7704
Reviewed-by: Timothy Asir <tim.gluster@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
|
| |
Disabled the event handler for gluster hosts
Change-Id: Ib81245add29126761185dec110015ecb73449a3a
Signed-off-by: Shubhendu Tripathi <shtripat@redhat.com>
Reviewed-on: http://review.gluster.org/7664
Reviewed-by: Kanagaraj M <kmayilsa@redhat.com>
Reviewed-by: Ramesh N <rnachimu@redhat.com>
Reviewed-by: Timothy Asir <tim.gluster@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
service descriptions:
- Gluster Management
- NFS
- Self-Heal
- Quota
- Brick - <brick_dir>
Change-Id: I3ece94ef61fcb3fd264e848508362375842dcc6f
Signed-off-by: Kanagaraj M <kmayilsa@redhat.com>
Reviewed-on: http://review.gluster.org/7671
Reviewed-by: Sahina Bose <sabose@redhat.com>
|
|
|
|
|
|
|
|
|
| |
Change-Id: Ic2e285e758d0a15612f3e14d4f0dbd34e28aaac5
Signed-off-by: Timothy Asir <tjeyasin@redhat.com>
Reviewed-on: http://review.gluster.org/7650
Tested-by: Timothy Asir <tim.gluster@gmail.com>
Reviewed-by: Shubhendu Tripathi <shtripat@redhat.com>
Reviewed-by: Sahina Bose <sabose@redhat.com>
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
| |
Added server side plugin option for geo-rep
status
Change-Id: I6f604862ec7d4813298a670b7ed2cc0b448faf23
Signed-off-by: Sahina Bose <sabose@redhat.com>
Reviewed-on: http://review.gluster.org/7592
|
|
|
|
|
|
|
|
|
|
|
| |
Addning an NRPE command to configure all the newly added
nodes to used passive check results using NSCA. It is done using
the NRPE command 'configure_gluster_node'.
Change-Id: I75d0214c8c52afdedd13dac3f38d52abc4ca5a93
Signed-off-by: Ramesh Nachimuthu <rnachimu@redhat.com>
Reviewed-on: http://review.gluster.org/7593
Reviewed-by: Sahina Bose <sabose@redhat.com>
|
|
|
|
|
|
|
|
|
|
|
|
| |
Change the brick service description to
"Brick Status - <brick-path>". Currently it is
"Brick Status - <hostaddress>:<brick-path>". Same case for
Brick utilization service also.
Change-Id: I3924f15e3b8b86826c0019c5ab52bd371a970cf1
Signed-off-by: Ramesh Nachimuthu <rnachimu@redhat.com>
Reviewed-on: http://review.gluster.org/7597
Reviewed-by: Sahina Bose <sabose@redhat.com>
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
| |
Server side plugin to check the volume
self heal status
Change-Id: Ia1ee3fb653913360edb1b54b42cce3ed105bdb79
Signed-off-by: Sahina Bose <sabose@redhat.com>
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
| |
Added passive check service entry for quotad
Change-Id: I276ee017a3938aa211f683f589918966f40d9e38
Signed-off-by: Timothy Asir <tjeyasin@redhat.com>
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
| |
Fixed the template, commands and vol utilization
plugin
Change-Id: I11eb562f6f563d066938110f730512ae0b772eaf
Signed-off-by: Sahina Bose <sabose@redhat.com>
Reviewed-on: https://cuckoo.blr.redhat.com:8443/66
Reviewed-by: Nishanth Thomas <nishusemail@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
|
|
| |
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 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>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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 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
|