Re: Multiple questions regarding monitoring of Gluster

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

 



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@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@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