[Gluster-users] nagios check gluster

Josep Manel Andrés josep.andres at bsc.es
Fri Nov 11 13:02:30 UTC 2016


Hi,
Could you forward me to some place where I can find basic usage of you 
plugin and how to integrate it with nagios? I can't manage to bring it up.


opsld03:/gluster/data # /usr/lib/nagios/plugins/check_gluster
Error: Daemon gluster1:"Bitrot Daemon" is not started
opsld03:/gluster/data #

opsld03:/gluster/data # gluster volume status volume1
Status of volume: volume1
Gluster process                             TCP Port  RDMA Port  Online  Pid
------------------------------------------------------------------------------
Brick gluster1:/mnt/.bricks                 49153     0          Y 
  19598
Brick gluster2:/mnt/.bricks                 49153     0          Y 
  3029
NFS Server on localhost                     2049      0          Y 
  19581
Self-heal Daemon on localhost               N/A       N/A        Y 
  19591
NFS Server on opsld04.bsc.es                N/A       N/A        N 
  N/A
Self-heal Daemon on opsld04.bsc.es          N/A       N/A        Y 
  32150

Task Status of Volume volume1
------------------------------------------------------------------------------
There are no active volume tasks


opsld03:/gluster/data # /usr/lib/nagios/plugins/check_gluster -c heal
Error: Daemon gluster1:"Self-heal Daemon" is not started


opsld03:/gluster/data # /usr/lib/nagios/plugins/check_gluster -c nfs
Error: Daemon gluster1:"NFS Server" is not started



Cheers!

-- 
Josep Manel Andrés (josep.andres at bsc.es)
Operations - Barcelona Supercomputing Center
C/ Jordi Girona, 31  http://www.bsc.es
08034 Barcelona, Spain Tel: +34-93-401 25 73
e-mail: systems at bsc.es Fax: +34-93-413 77 21
-----------------------------------------------

WARNING / LEGAL TEXT: This message is intended only for the use of the
individual or entity to which it is addressed and may contain
information which is privileged, confidential, proprietary, or exempt
from disclosure under applicable law. If you are not the intended
recipient or the person responsible for delivering the message to the
intended recipient, you are strictly prohibited from disclosing,
distributing, copying, or in any way using this message. If you have
received this communication in error, please notify the sender and
destroy and delete any copies you may have received.

http://www.bsc.es/disclaimer


More information about the Gluster-users mailing list