[Gluster-users] Multiple questions regarding monitoring of Gluster

Aravinda avishwan at redhat.com
Tue Jun 21 14:48:06 UTC 2016


You can use `gluster volume status $volume detail --xml` for xml output, 
which can be easily consumed by program compared to text output.

regards
Aravinda

On 06/21/2016 07:58 PM, Malte Schmidt wrote:
>
> Under which conditions does "gluster volume status $volume detail" 
> return something else than a table?
>
> Typical, expected output:
>
> root at server1:~# gluster volume status vol0 detail
> Status of volume: vol0
> ------------------------------------------------------------------------------
> Brick : Brick server1:/data/glusterfs/vol0
> TCP Port : 49152
> RDMA Port : 0
> Online : Y
> Pid : 2942
> File System : xfs
> Device : /dev/mapper/glusterfs
> Mount Options : rw,relatime,attr2,inode64,noquota
> Inode Size : 512
> Disk Space Free : 9.0GB
> Total Disk Space : 20.0GB
> Inode Count : 10485760
> Free Inodes : 8774085
> ------------------------------------------------------------------------------
> Brick : Brick server2:/data/glusterfs/vol0
> TCP Port : 49152
> RDMA Port : 0
> Online : Y
> Pid : 3275
> File System : xfs
> Device : /dev/mapper/glusterfs
> Mount Options : rw,relatime,attr2,inode64,noquota
> Inode Size : 512
> Disk Space Free : 9.0GB
> Total Disk Space : 20.0GB
> Inode Count : 10485760
> Free Inodes : 8774085
>
> Are there any conditions under which that table is different? Better 
> question: What is the best way of getting this data for usage in Nagios?
>
>
>
> _______________________________________________
> Gluster-users mailing list
> 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/20160621/a966602a/attachment.html>


More information about the Gluster-users mailing list