Hi Aravinda, Very nice initiative, thank you very much! As as small recommendation it would be nice to have a "nagios/icinga" mode, maybe through a "-n" parameter which will do the health check and output the status ina nagios/icinga compatible format. As such this tool could be directly used by nagios for monitoring. Best, M.> -------- Original Message -------- > Subject: [Gluster-devel] Gluster Health Report tool > Local Time: October 25, 2017 2:11 PM > UTC Time: October 25, 2017 12:11 PM > From: avishwan at redhat.com > To: Gluster Devel <gluster-devel at gluster.org>, gluster-users <gluster-users at gluster.org> > > Hi, > > We started a new project to identify issues/misconfigurations in > Gluster nodes. This project is very young and not yet ready for > Production use, Feedback on the existing reports and ideas for more > Reports are welcome. > > This tool needs to run in every Gluster node to detect the local > issues (Example: Parsing log files, checking disk space etc) in each > Nodes. But some of the reports use Gluster CLI to identify the issues > Which can be run in any one node.(For example > gluster-health-report --run-only glusterd-peer-disconnect) > > Install > > sudo pip install gluster-health-report > > Usage > > Run gluster-health-report --help for help > > gluster-health-report > > Example output is available here > https://github.com/aravindavk/gluster-health-report > > Project Details > > - Issue page: https://github.com/gluster/glusterfs/issues/313 > > - Project page: https://github.com/aravindavk/gluster-health-report > > - Open new issue if you have new report suggestion or found issue with > existing report > https://github.com/aravindavk/gluster-health-report/issues > > -- > > regards > Aravinda VK > > --------------------------------------------------------------- > > Gluster-devel mailing list > Gluster-devel at gluster.org > http://lists.gluster.org/mailman/listinfo/gluster-devel-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.gluster.org/pipermail/gluster-users/attachments/20171025/3d03cce0/attachment.html>
Marcin Dulak
2017-Oct-25 20:54 UTC
[Gluster-users] [Gluster-devel] Gluster Health Report tool
Hi, since people are suggesting nagios then I can't resist suggesting exporting the metrics in the prometheus format, or at least making the project into a library so https://github.com/prometheus/client_python could be used to export the prometheus metrics. There has been an attempt at https://github.com/ofesseler/gluster_exporter but it is not maintained anymore. Cheers, Marcin On Wed, Oct 25, 2017 at 7:56 PM, mabi <mabi at protonmail.ch> wrote:> Hi Aravinda, > > Very nice initiative, thank you very much! As as small recommendation it > would be nice to have a "nagios/icinga" mode, maybe through a "-n" > parameter which will do the health check and output the status ina > nagios/icinga compatible format. As such this tool could be directly used > by nagios for monitoring. > > Best, > M. > > > > -------- Original Message -------- > Subject: [Gluster-devel] Gluster Health Report tool > Local Time: October 25, 2017 2:11 PM > UTC Time: October 25, 2017 12:11 PM > From: avishwan at redhat.com > To: Gluster Devel <gluster-devel at gluster.org>, gluster-users < > gluster-users at gluster.org> > > Hi, > > We started a new project to identify issues/misconfigurations in > Gluster nodes. This project is very young and not yet ready for > Production use, Feedback on the existing reports and ideas for more > Reports are welcome. > > This tool needs to run in every Gluster node to detect the local > issues (Example: Parsing log files, checking disk space etc) in each > Nodes. But some of the reports use Gluster CLI to identify the issues > Which can be run in any one node.(For example > gluster-health-report --run-only glusterd-peer-disconnect) > Install > > sudo pip install gluster-health-report > Usage > Run gluster-health-report --help for help > > gluster-health-report > > Example output is available here > https://github.com/aravindavk/gluster-health-report > Project Details > > - Issue page: https://github.com/gluster/glusterfs/issues/313 > - Project page: https://github.com/aravindavk/gluster-health-report > - Open new issue if you have new report suggestion or found issue with > existing report > https://github.com/aravindavk/gluster-health-report/issues > > -- > > regards > Aravinda VK > > ------------------------------ > > Gluster-devel mailing list > Gluster-devel at gluster.org > http://lists.gluster.org/mailman/listinfo/gluster-devel > > > > _______________________________________________ > Gluster-users mailing list > Gluster-users at gluster.org > http://lists.gluster.org/mailman/listinfo/gluster-users >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.gluster.org/pipermail/gluster-users/attachments/20171025/da94e319/attachment.html>
Sankarshan Mukhopadhyay
2017-Oct-26 01:53 UTC
[Gluster-users] [Gluster-devel] Gluster Health Report tool
On Thu, Oct 26, 2017 at 2:24 AM, Marcin Dulak <marcin.dulak at gmail.com> wrote:> Hi, > > since people are suggesting nagios then I can't resist suggesting exporting > the metrics in the prometheus format, > or at least making the project into a library so > https://github.com/prometheus/client_python could be used to export the > prometheus metrics. > There has been an attempt at https://github.com/ofesseler/gluster_exporter > but it is not maintained anymore. >There is an on-going effort which provides a monitoring dashboard for a Gluster cluster. Some detail at <https://github.com/Tendrl/documentation/wiki/Metrics> At present the stack is not consuming Prometheus, however, the team is looking at switching over so as to make a more malleable dashboard. There is of course a Gitter channel at <https://gitter.im/Tendrl/tendrl-devel> Install+configure instructions for the latest release are at <https://github.com/Tendrl/documentation/wiki/Tendrl-release-v1.5.3-(install-guide)> -- sankarshan mukhopadhyay <https://about.me/sankarshan.mukhopadhyay>