<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    The gluster-nagios packages have not been tested on Ubuntu<br>
    <br>
    Looking at the error below, it looks like the rpm has not updated
    the nrpe.cfg correctly. You may need to edit the spec file for the
    config file paths on Ubuntu and rebuild.<br>
    <br>
    <div class="moz-cite-prefix">On 10/01/2015 05:45 PM, Amudhan P
      wrote:<br>
    </div>
    <blockquote
cite="mid:CABhA=29bP1iTmQzXLvmMD-vHKzwmNuOhmoGe5ih03QNTG=CV_w@mail.gmail.com"
      type="cite">
      <div dir="ltr"><span style="font-size:12.8px">OSError: [Errno 2]
          No such file or directory is now sorted out by </span><span
          style="font-size:12.8px">by changing NRPE_PATH  in
          "constants.py".</span>
        <div><span style="font-size:12.8px"><br>
          </span></div>
        <div><span style="font-size:12.8px">now if i run discovery.py</span></div>
        <div>
          <div style=""><span style="font-size:12.8px"><br>
            </span></div>
          <div style=""><span style="font-size:12.8px">testusr@gfsovirt:/usr/local/lib/nagios/plugins/gluster$
              sudo python discovery.py -c vm-gfs -H 192.168.1.11</span></div>
          <div style=""><span style="font-size:12.8px">Failed to execute
              NRPE command 'discover_volume_list' in host '192.168.1.11'</span></div>
          <div style=""><span style="font-size:12.8px">Error : NRPE:
              Command 'discover_volume_list' not defined</span></div>
          <div style=""><span style="font-size:12.8px">Make sure NRPE
              server in host '192.168.1.11' is configured to accept
              requests from Nagios server</span></div>
          <div style="font-size:12.8px"><br>
          </div>
        </div>
        <div style="font-size:12.8px"><br>
        </div>
        <div>
          <div style=""><span style="font-size:12.8px">testusr@gfsovirt:/usr/local/lib/nagios/plugins/gluster$
              /usr/lib/nagios/plugins/check_nrpe -H 192.168.1.11 -c
              discover_volume_list</span></div>
          <div style=""><span style="font-size:12.8px">NRPE: Command
              'discover_volume_list' not defined</span></div>
          <div style=""><span style="font-size:12.8px"><br>
            </span></div>
          <div style="">
            <div style="font-size:12.8px"><br>
            </div>
            <div style="font-size:12.8px">My client is responding to
              other nrpe command.</div>
            <div style="font-size:12.8px">
              <div style="font-size:12.8px">testusr@gfsovirt:/usr/local/lib/nagios/plugins/gluster$
                /usr/lib/nagios/plugins/check_nrpe -H 192.168.1.11 -c
                check_load</div>
              <div style="font-size:12.8px">OK - load average: 0.01,
                0.03, 0.10|load1=0.010;15.000;30.000;0;
                load5=0.030;10.000;25.000;0;
                load15=0.100;5.000;20.000;0;</div>
              <div><br>
              </div>
            </div>
          </div>
          <div style="font-size:12.8px"><br>
          </div>
        </div>
      </div>
      <div class="gmail_extra"><br>
        <div class="gmail_quote">On Thu, Oct 1, 2015 at 5:20 PM, Sahina
          Bose <span dir="ltr">&lt;<a moz-do-not-send="true"
              href="mailto:sabose@redhat.com" target="_blank">sabose@redhat.com</a>&gt;</span>
          wrote:<br>
          <blockquote class="gmail_quote" style="margin:0 0 0
            .8ex;border-left:1px #ccc solid;padding-left:1ex">
            <div text="#000000" bgcolor="#FFFFFF"> Looks like a conflict
              in versions of python and python-cpopen. <br>
              Can you give us the version of these packages?<br>
              <br>
              Also, what's the output of <br>
               /usr/lib64/nagios/plugins/check_nrpe -H 192.168.1.11 -c
              discover_volume_list
              <div>
                <div class="h5"><br>
                  <br>
                  <br>
                  <br>
                  <div>On 10/01/2015 04:10 PM, Amudhan P wrote:<br>
                  </div>
                  <blockquote type="cite">
                    <div dir="ltr">Hi,
                      <div><br>
                      </div>
                      <div>I am getting a error when i run discovery.py.</div>
                      <div><br>
                      </div>
                      <div>discovery.py -c vm-gfs -H 192.168.1.11</div>
                      <div><br>
                      </div>
                      <div>Traceback (most recent call last):</div>
                      <div>  File "discovery.py", line 541, in
                        &lt;module&gt;</div>
                      <div>    clusterdata =
                        discoverCluster(args.hostip, args.cluster,
                        args.timeout)</div>
                      <div>  File "discovery.py", line 90, in
                        discoverCluster</div>
                      <div>    componentlist = discoverVolumes(hostip,
                        timeout)</div>
                      <div>  File "discovery.py", line 53, in
                        discoverVolumes</div>
                      <div>    timeout=timeout)</div>
                      <div>  File
                        "/usr/local/lib/nagios/plugins/gluster/server_utils.py",
                        line 114, in execNRPECommand</div>
                      <div>    (returncode, outputStr, err) =
                        utils.execCmd(nrpeCmd, raw=True)</div>
                      <div>  File
                        "/usr/lib/python2.7/dist-packages/glusternagios/utils.py",
                        line 403, in execCmd</div>
                      <div>    deathSignal=deathSignal,
                        childUmask=childUmask)</div>
                      <div>  File
                        "/usr/local/lib/python2.7/dist-packages/cpopen/__init__.py",
                        line 63, in __init__</div>
                      <div>    **kw)</div>
                      <div>  File "/usr/lib/python2.7/subprocess.py",
                        line 710, in __init__</div>
                      <div>    errread, errwrite)</div>
                      <div>  File
                        "/usr/local/lib/python2.7/dist-packages/cpopen/__init__.py",
                        line 82, in _execute_child_v276</div>
                      <div>    restore_sigpipe=restore_sigpipe</div>
                      <div>  File
                        "/usr/local/lib/python2.7/dist-packages/cpopen/__init__.py",
                        line 107, in _execute_child_v275</div>
                      <div>    restore_sigpipe</div>
                      <div>OSError: [Errno 2] No such file or directory</div>
                      <div><br>
                      </div>
                      <div>Gluster version : 3.7.4</div>
                      <div>OS : Ubuntu 14.04</div>
                      <div>Complied from source tar file.<br>
                      </div>
                      <div><br>
                      </div>
                      <div><br>
                      </div>
                      <div>regards</div>
                      <div>Amudhan</div>
                      <div><br>
                      </div>
                      <div><br>
                      </div>
                      <div><br>
                      </div>
                    </div>
                    <div class="gmail_extra"><br>
                      <div class="gmail_quote">On Wed, Sep 30, 2015 at
                        6:21 PM, Humble Devassy Chirammal <span
                          dir="ltr">&lt;<a moz-do-not-send="true"
                            href="mailto:humble.devassy@gmail.com"
                            target="_blank">humble.devassy@gmail.com</a>&gt;</span>
                        wrote:<br>
                        <blockquote class="gmail_quote" style="margin:0
                          0 0 .8ex;border-left:1px #ccc
                          solid;padding-left:1ex">
                          <div dir="ltr">
                            <div>The EL7 rpms of gluster-nagios are
                              available @ <a moz-do-not-send="true"
                                href="http://download.gluster.org/pub/gluster/glusterfs-nagios/1.1.0/"
                                target="_blank">http://download.gluster.org/pub/gluster/glusterfs-nagios/1.1.0/</a><br>
                              <br>
                            </div>
                            Hope it helps!<span><font color="#888888"><br>
                              </font></span></div>
                          <div class="gmail_extra"><span><font
                                color="#888888"><br clear="all">
                                <div>
                                  <div>
                                    <div dir="ltr">
                                      <div>--Humble<br>
                                      </div>
                                      <br>
                                    </div>
                                  </div>
                                </div>
                              </font></span>
                            <div>
                              <div> <br>
                                <div class="gmail_quote">On Tue, Sep 29,
                                  2015 at 10:56 AM, Sahina Bose <span
                                    dir="ltr">&lt;<a
                                      moz-do-not-send="true"
                                      href="mailto:sabose@redhat.com"
                                      target="_blank"><a class="moz-txt-link-abbreviated" href="mailto:sabose@redhat.com">sabose@redhat.com</a></a>&gt;</span>
                                  wrote:<br>
                                  <blockquote class="gmail_quote"
                                    style="margin:0 0 0
                                    .8ex;border-left:1px #ccc
                                    solid;padding-left:1ex">
                                    <div text="#000000"
                                      bgcolor="#FFFFFF"> We will publish
                                      the EL7 builds soon.<br>
                                      <br>
                                      The source tarballs are now
                                      available at - <a
                                        moz-do-not-send="true"
                                        href="http://download.gluster.org/pub/gluster/glusterfs-nagios/"
                                        target="_blank"><a class="moz-txt-link-freetext" href="http://download.gluster.org/pub/gluster/glusterfs-nagios/">http://download.gluster.org/pub/gluster/glusterfs-nagios/</a></a><br>
                                      <br>
                                      thanks<span><font color="#888888"><br>
                                          sahina</font></span>
                                      <div>
                                        <div><br>
                                          <br>
                                          <div>On 09/25/2015 12:55 PM,
                                            Humble Devassy Chirammal
                                            wrote:<br>
                                          </div>
                                          <blockquote type="cite">
                                            <div dir="ltr">HI Michael,<br>
                                              <br>
                                              Yes, only el6 packages are
                                              available @ <a
                                                moz-do-not-send="true"
                                                href="http://download.gluster.org/pub/gluster/glusterfs-nagios/"
                                                target="_blank"><a class="moz-txt-link-freetext" href="http://download.gluster.org/pub/gluster/glusterfs-nagios/">http://download.gluster.org/pub/gluster/glusterfs-nagios/</a></a>
                                              . I am looping nagios
                                              project team leads to this
                                              thread. Lets wait for them
                                              to revert.<br>
                                            </div>
                                            <div class="gmail_extra"><br
                                                clear="all">
                                              <div>
                                                <div>
                                                  <div dir="ltr">
                                                    <div>--Humble<br>
                                                    </div>
                                                    <br>
                                                  </div>
                                                </div>
                                              </div>
                                              <br>
                                              <div class="gmail_quote">On
                                                Sun, Sep 20, 2015 at
                                                2:32 PM, Prof. Dr.
                                                Michael Schefczyk <span
                                                  dir="ltr">&lt;<a
                                                    moz-do-not-send="true"
href="mailto:michael@schefczyk.net" target="_blank"><a class="moz-txt-link-abbreviated" href="mailto:michael@schefczyk.net">michael@schefczyk.net</a></a>&gt;</span>
                                                wrote:<br>
                                                <blockquote
                                                  class="gmail_quote"
                                                  style="margin:0 0 0
                                                  .8ex;border-left:1px
                                                  #ccc
                                                  solid;padding-left:1ex">Dear
                                                  All,<br>
                                                  <br>
                                                  In June 2014, the
                                                  gluster-nagios team
                                                  (thanks!) published
                                                  the availability of
                                                  gluster-nagios-common
                                                  and
                                                  gluster-nagios-addons
                                                  on this list. As far
                                                  as I can tell, this
                                                  quite extensive
                                                  gluster nagios
                                                  monitoring tool is
                                                  available for el6
                                                  only. Are there known
                                                  plans to make this
                                                  available for el7
                                                  outside the RHEL-repos
                                                  (<a
                                                    moz-do-not-send="true"
href="http://ftp.redhat.de/pub/redhat/linux/enterprise/7Server/en/RHS/SRPMS/"
                                                    target="_blank"><a class="moz-txt-link-freetext" href="http://ftp.redhat.de/pub/redhat/linux/enterprise/7Server/en/RHS/SRPMS/">http://ftp.redhat.de/pub/redhat/linux/enterprise/7Server/en/RHS/SRPMS/</a></a>),


                                                  e.g. for use with
                                                  oVirt / Centos 7 also?
                                                  It would be good to be
                                                  able to monitor
                                                  gluster without
                                                  playing around with
                                                  scripts from sources
                                                  other than a rpm repo.<br>
                                                  <br>
                                                  Regards,<br>
                                                  <br>
                                                  Michael<br>
_______________________________________________<br>
                                                  Gluster-users mailing
                                                  list<br>
                                                  <a
                                                    moz-do-not-send="true"
href="mailto:Gluster-users@gluster.org" target="_blank"><a class="moz-txt-link-abbreviated" href="mailto:Gluster-users@gluster.org">Gluster-users@gluster.org</a></a><br>
                                                  <a
                                                    moz-do-not-send="true"
href="http://www.gluster.org/mailman/listinfo/gluster-users"
                                                    rel="noreferrer"
                                                    target="_blank"><a class="moz-txt-link-freetext" href="http://www.gluster.org/mailman/listinfo/gluster-users">http://www.gluster.org/mailman/listinfo/gluster-users</a></a><br>
                                                </blockquote>
                                              </div>
                                              <br>
                                            </div>
                                          </blockquote>
                                          <br>
                                        </div>
                                      </div>
                                    </div>
                                  </blockquote>
                                </div>
                                <br>
                              </div>
                            </div>
                          </div>
                          <br>
_______________________________________________<br>
                          Gluster-users mailing list<br>
                          <a moz-do-not-send="true"
                            href="mailto:Gluster-users@gluster.org"
                            target="_blank">Gluster-users@gluster.org</a><br>
                          <a moz-do-not-send="true"
                            href="http://www.gluster.org/mailman/listinfo/gluster-users"
                            rel="noreferrer" target="_blank">http://www.gluster.org/mailman/listinfo/gluster-users</a><br>
                        </blockquote>
                      </div>
                      <br>
                    </div>
                  </blockquote>
                  <br>
                </div>
              </div>
            </div>
          </blockquote>
        </div>
        <br>
      </div>
    </blockquote>
    <br>
  </body>
</html>