Looks like a conflict in versions of python and python-cpopen.
Can you give us the version of these packages?
Also, what's the output of
/usr/lib64/nagios/plugins/check_nrpe -H 192.168.1.11 -c
discover_volume_list
On 10/01/2015 04:10 PM, Amudhan P wrote:> Hi,
>
> I am getting a error when i run discovery.py.
>
> discovery.py -c vm-gfs -H 192.168.1.11
>
> Traceback (most recent call last):
> File "discovery.py", line 541, in <module>
> clusterdata = discoverCluster(args.hostip, args.cluster, args.timeout)
> File "discovery.py", line 90, in discoverCluster
> componentlist = discoverVolumes(hostip, timeout)
> File "discovery.py", line 53, in discoverVolumes
> timeout=timeout)
> File "/usr/local/lib/nagios/plugins/gluster/server_utils.py",
line
> 114, in execNRPECommand
> (returncode, outputStr, err) = utils.execCmd(nrpeCmd, raw=True)
> File "/usr/lib/python2.7/dist-packages/glusternagios/utils.py",
line
> 403, in execCmd
> deathSignal=deathSignal, childUmask=childUmask)
> File
"/usr/local/lib/python2.7/dist-packages/cpopen/__init__.py",
> line 63, in __init__
> **kw)
> File "/usr/lib/python2.7/subprocess.py", line 710, in __init__
> errread, errwrite)
> File
"/usr/local/lib/python2.7/dist-packages/cpopen/__init__.py",
> line 82, in _execute_child_v276
> restore_sigpipe=restore_sigpipe
> File
"/usr/local/lib/python2.7/dist-packages/cpopen/__init__.py",
> line 107, in _execute_child_v275
> restore_sigpipe
> OSError: [Errno 2] No such file or directory
>
> Gluster version : 3.7.4
> OS : Ubuntu 14.04
> Complied from source tar file.
>
>
> regards
> Amudhan
>
>
>
>
> On Wed, Sep 30, 2015 at 6:21 PM, Humble Devassy Chirammal
> <humble.devassy at gmail.com <mailto:humble.devassy at
gmail.com>> wrote:
>
> The EL7 rpms of gluster-nagios are available @
> http://download.gluster.org/pub/gluster/glusterfs-nagios/1.1.0/
>
> Hope it helps!
>
> --Humble
>
>
> On Tue, Sep 29, 2015 at 10:56 AM, Sahina Bose <sabose at redhat.com
> <mailto:sabose at redhat.com>> wrote:
>
> We will publish the EL7 builds soon.
>
> The source tarballs are now available at -
> http://download.gluster.org/pub/gluster/glusterfs-nagios/
>
> thanks
> sahina
>
>
> On 09/25/2015 12:55 PM, Humble Devassy Chirammal wrote:
>> HI Michael,
>>
>> Yes, only el6 packages are available @
>> http://download.gluster.org/pub/gluster/glusterfs-nagios/ . I
>> am looping nagios project team leads to this thread. Lets
>> wait for them to revert.
>>
>> --Humble
>>
>>
>> On Sun, Sep 20, 2015 at 2:32 PM, Prof. Dr. Michael Schefczyk
>> <michael at schefczyk.net <mailto:michael at
schefczyk.net>> wrote:
>>
>> Dear All,
>>
>> 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
>>
(http://ftp.redhat.de/pub/redhat/linux/enterprise/7Server/en/RHS/SRPMS/),
>> 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.
>>
>> Regards,
>>
>> Michael
>> _______________________________________________
>> Gluster-users mailing list
>> Gluster-users at gluster.org <mailto:Gluster-users at
gluster.org>
>> http://www.gluster.org/mailman/listinfo/gluster-users
>>
>>
>
>
>
> _______________________________________________
> Gluster-users mailing list
> Gluster-users at gluster.org <mailto:Gluster-users at
gluster.org>
> http://www.gluster.org/mailman/listinfo/gluster-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://www.gluster.org/pipermail/gluster-users/attachments/20151001/ee5d4729/attachment.html>