Re: Gluster-Nagios

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



can you pass any link or help to use this source tar file to work in Ubuntu. editing spec file and setting path doesn't help.

On Thu, Oct 1, 2015 at 9:45 PM, Sahina Bose <sabose@xxxxxxxxxx> wrote:
The gluster-nagios packages have not been tested on Ubuntu

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.


On 10/01/2015 05:45 PM, Amudhan P wrote:
OSError: [Errno 2] No such file or directory is now sorted out by by changing NRPE_PATH  in "constants.py".

now if i run discovery.py

testusr@gfsovirt:/usr/local/lib/nagios/plugins/gluster$ sudo python discovery.py -c vm-gfs -H 192.168.1.11
Failed to execute NRPE command 'discover_volume_list' in host '192.168.1.11'
Error : NRPE: Command 'discover_volume_list' not defined
Make sure NRPE server in host '192.168.1.11' is configured to accept requests from Nagios server


testusr@gfsovirt:/usr/local/lib/nagios/plugins/gluster$ /usr/lib/nagios/plugins/check_nrpe -H 192.168.1.11 -c discover_volume_list
NRPE: Command 'discover_volume_list' not defined


My client is responding to other nrpe command.
testusr@gfsovirt:/usr/local/lib/nagios/plugins/gluster$ /usr/lib/nagios/plugins/check_nrpe -H 192.168.1.11 -c check_load
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;



On Thu, Oct 1, 2015 at 5:20 PM, Sahina Bose <sabose@xxxxxxxxxx> wrote:
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@xxxxxxxxx> 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@xxxxxxxxxx> 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@xxxxxxxxxxxxx> 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@xxxxxxxxxxx
http://www.gluster.org/mailman/listinfo/gluster-users




_______________________________________________
Gluster-users mailing list
Gluster-users@xxxxxxxxxxx
http://www.gluster.org/mailman/listinfo/gluster-users





_______________________________________________
Gluster-users mailing list
Gluster-users@xxxxxxxxxxx
http://www.gluster.org/mailman/listinfo/gluster-users

[Index of Archives]     [Gluster Development]     [Linux Filesytems Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux