| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
| |
Provide a command to perform auto-discovery.
Change-Id: I26aa48532f4e8c9f305c36294f48cddf5785b491
Bug-URL: https://bugzilla.redhat.com/1164682
Signed-off-by: Ramesh Nachimuthu <rnachimu@redhat.com>
Reviewed-on: http://review.gluster.org/9514
Reviewed-by: Kanagaraj M <kmayilsa@redhat.com>
Reviewed-by: Bala FA <barumuga@redhat.com>
Reviewed-by: Sahina Bose <sabose@redhat.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
By default perfdata is created in single rrd file which causes
failure of fetching DS in upgrade scenario. Because earlier
brick utilization had only one DS. Now with thin LV monitoring
included in brick utilization, It will be having two DS. The
graph templates wont be able to read them in single rrd file.
So in case of upgrade we run the script rrd_convert as a pre
step to migrate the old data to new rrd files.and this patch
also sets pnp4nagios rrd configuration to multiple rrd file for
each DS.
Change-Id: Iadb50250b2e93d73b61e25be90a0770dae0780f3
Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=1143995
Signed-off-by: ndarshan <dnarayan@redhat.com>
Reviewed-on: http://review.gluster.org/9188
Reviewed-by: Sahina Bose <sabose@redhat.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
There was no php template available for cluster utilization and it was
using the the default template and causing the improper display
Change-Id: I21f458a678d12807d275cc536e56aa14eae22a80
Bug-url: https://bugzilla.redhat.com/show_bug.cgi?id=1119233
Signed-off-by: Nishanth Thomas <nthomas@redhat.com>
Reviewed-on: http://review.gluster.org/9002
Tested-by: Nishanth Thomas <nishusemail@gmail.com>
Reviewed-by: Ramesh N <rnachimu@redhat.com>
Reviewed-by: Shubhendu Tripathi <shtripat@redhat.com>
Reviewed-by: Kanagaraj M <kmayilsa@redhat.com>
Reviewed-by: Sahina Bose <sabose@redhat.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Unregistering the temp_node1 instead of deleting it
while configuring nagios .
new field 'register' will be added to temp_node1 and its
services with value 0, so that it won't be considered by
nagios.
If both files, temp_node1.cfg and temp_node1.cfg.sample
are present during upgrade then we will remove the file
temp_node1.cfg.sample and add the 'register 0'
flag to definitions in temp_node1.cfg file.
Bug-Url: https://bugzilla.redhat.com/1162446
Bug-Url: https://bugzilla.redhat.com/1162443
Bug-Url: https://bugzilla.redhat.com/1115387
Change-Id: I3c76d6c6a9a9e411315859e07238a7902ddd2380
Signed-off-by: Ramesh Nachimuthu <rnachimu@redhat.com>
Reviewed-on: http://review.gluster.org/9123
Reviewed-by: Kanagaraj M <kmayilsa@redhat.com>
Reviewed-by: Sahina Bose <sabose@redhat.com>
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
|
| |
Adding %config(noreplace) flag for config files so that config
files will not be over written during RPM upgarde.
Change-Id: Iff5ff8f8df589745e9d69bc22f8bf10674d1f49f
Signed-off-by: Ramesh Nachimuthu <rnachimu@redhat.com>
Reviewed-on: http://review.gluster.org/8220
Reviewed-by: Bala FA <barumuga@redhat.com>
Reviewed-by: Sahina Bose <sabose@redhat.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
By default perfdata are created in single rrd file which causes
failure of fetching DS for newly configured disks.
This patch fixes this issue by setting pnp4nagios rrd
configuration to multiple.
Change-Id: I05ca0561e9b926a3ee0c655699fa30544c20e2ad
Signed-off-by: Timothy Asir Jeyasingh <tjeyasin@redhat.com>
Reviewed-on: http://review.gluster.org/8169
Tested-by: Timothy Asir <tim.gluster@gmail.com>
Reviewed-by: Sahina Bose <sabose@redhat.com>
|
|
|
|
|
|
|
|
| |
Change-Id: Ibb9fcdcb7f5a2c951011883f54ec14c209049555
Signed-off-by: Sahina Bose <sabose@redhat.com>
Reviewed-on: http://review.gluster.org/8144
Reviewed-by: Kanagaraj M <kmayilsa@redhat.com>
Tested-by: Kanagaraj M <kmayilsa@redhat.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
By default perfdata are created in single rrd file which causes
failure of fetching DS for newly configured network interfaces.
This patch fixes this by setting pnp4nagios rrd configuration to
multiple rrd file for each DS of network interfaces.
Change-Id: I3e6fa0e4336fb866ceb37a5e3165a515d42bfae6
Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=1087837
Signed-off-by: Bala.FA <barumuga@redhat.com>
Reviewed-on: http://review.gluster.org/8059
Reviewed-by: Sahina Bose <sabose@redhat.com>
Tested-by: Sahina Bose <sabose@redhat.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Adding chkconfig for nagios and nsca services. By default nagios
and nsca is disabled in all the run levels. So we have to enable
them by running 'chkconfig <service> on' during installation.
Change-Id: I8527abca24ec286f85c425db9cbeb216047eaa97
Bug-Url: https://bugzilla.redhat.com/1080449
Signed-off-by: Ramesh Nachimuthu <rnachimu@redhat.com>
Reviewed-on: http://review.gluster.org/8012
Reviewed-by: Bala FA <barumuga@redhat.com>
Reviewed-by: Kanagaraj M <kmayilsa@redhat.com>
Reviewed-by: Timothy Asir <tim.gluster@gmail.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>
|
|
|
|
|
|
|
|
|
|
| |
Added requires for mod_ssl. The same is required for SSL
enabling for nagios and pnp4nagios.
Change-Id: Ib391ebb7008396ea34e045cc1cc4041305470a14
Signed-off-by: Shubhendu Tripathi <shtripat@redhat.com>
Reviewed-on: http://review.gluster.org/7935
Reviewed-by: Kanagaraj M <kmayilsa@redhat.com>
|
|
|
|
|
|
|
|
|
|
| |
Enabled redirecting nagios and pnp4nagios urls to https
Change-Id: I3d1e62438c7265aca6cd930f37fd4aac08d83f76
Signed-off-by: Shubhendu Tripathi <shtripat@redhat.com>
Reviewed-on: http://review.gluster.org/7906
Reviewed-by: Bala FA <barumuga@redhat.com>
Reviewed-by: Timothy Asir <tim.gluster@gmail.com>
|
|
|
|
|
|
|
|
|
| |
Change-Id: I7e81e22e73dc4cf336ad335f69735d54b9e9714a
Signed-off-by: Timothy Asir <tjeyasin@redhat.com>
Reviewed-on: http://review.gluster.org/7807
Tested-by: Timothy Asir <tim.gluster@gmail.com>
Reviewed-by: Ramesh N <rnachimu@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>
|
|
|
|
|
|
|
|
|
|
| |
Modified to open NSCA port while installation
Bug-URL: https://bugzilla.redhat.com/show_bug.cgi?id=1097193
Change-Id: I52edd1cfde7d61945ae4bdc4f6339fe246713959
Signed-off-by: Shubhendu Tripathi <shtripat@redhat.com>
Reviewed-on: http://review.gluster.org/7758
Reviewed-by: Kanagaraj M <kmayilsa@redhat.com>
|
|
|
|
|
|
|
|
|
|
|
|
| |
Volume Utilization plugin didn't have a php template written and
hence the graph was not getting displayed properly
Change-Id: I6726a6de5370d271467be03e9e8500421cf66e39
Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=1095427
Signed-off-by: Nishanth Thomas <nthomas@redhat.com>
Reviewed-on: http://review.gluster.org/7724
Tested-by: Nishanth Thomas <nishusemail@gmail.com>
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>
|
|
|
|
|
|
|
| |
Added BuildRequires for required packages.
Change-Id: Ie3c1fbc27b93c582a3caf0a61a07897c7892880c
Signed-off-by: Kanagaraj M <kmayilsa@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>
|
|
|
|
|
|
|
|
| |
Added a dependency on nsca . required by
passive check plugins
Change-Id: If9c5b50adcbe8803d36bce3bc5f9bf0e20c07256
Signed-off-by: Sahina Bose <sabose@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>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Currently root is the owner of gluster config folder
/etc/nagios/gluster. Because if this, autocof fails to write the
config as it is running under nagios user.
With this patch, I am changing the owner of gluster config
folder to 'nagios' user.
Bug-Url: https://bugzilla.redhat.com/1085302
Change-Id: I0cacc266c22cd66e3558a6b78b39009db0ba9a26
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>
|
|
|
|
|
|
|
|
|
|
|
|
| |
Added a dependency on check_dummy plugin
Change-Id: I324d7f7edf3be16e0e2bd6e3949592e67bbf8851
Bug-Url: https://bugzilla.redhat.com/1080124
Signed-off-by: Sahina Bose <sabose@redhat.com>
Reviewed-on: https://code.engineering.redhat.com/gerrit/21974
Reviewed-by: Shubhendu Tripathi <shtripat@redhat.com>
Reviewed-by: Balamurugan Arumugam <barumuga@redhat.com>
Reviewed-by: Timothy Asir Jeyasingh <tjeyasin@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>
|
|
|
|
|
|
|
|
|
|
| |
executable permission 2. Fixed the dependency issues.
Change-Id: I48bae616ad86ce631aa60e759be575bd1321085a
Signed-off-by: Ramesh Nachimuthu <rnachimu@redhat.com>
Reviewed-on: https://cuckoo.blr.redhat.com:8443/43
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
|
|
Change-Id: Iae865d7dce78de83f0931d99b67455b9a0f12e1c
Signed-off-by: Bala.FA <barumuga@redhat.com>
|