summaryrefslogtreecommitdiffstats
path: root/plugins/discovery.py
Commit message (Collapse)AuthorAgeFilesLines
* autoconf: don't restart nagios if it is stoped.Ramesh Nachimuthu2014-04-291-2/+18
| | | | | | | | | | | Autoconfig script get struck when user runs the script without starting the nagios. Fixed it by checking the nagios service status before restarting. Now autoconfig will restart the nagios only if it started already by the user. Bug-Url: https://bugzilla.redhat.com/1084975 Change-Id: I1582d06abe764e6f2ae2c63d4a2e7169f0b11aa5 Signed-off-by: Ramesh Nachimuthu <rnachimu@redhat.com>
* Autoconfig:Modified the discoverlogicalelementsNishanth Thomas2014-04-291-5/+3
| | | | | | | | | | | | to accept the new format of data receieved from the node. removed the call to get the hostname of the gluster node Change-Id: I99a48cfe03672ee419ea5f586aa35b4b3ab325af Signed-off-by: Nishanth Thomas <nthomas@redhat.com> Reviewed-on: https://code.engineering.redhat.com/gerrit/22549 Reviewed-by: Kanagaraj Mayilsamy <kmayilsa@redhat.com> Tested-by: Ramesh Nachimuthu <rnachimu@redhat.com>
* AutoDiscovery: Auto discovery for gluster entitiesRamesh Nachimuthu2014-04-291-0/+138
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>