<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<tt>You can use `</tt><tt>gluster volume status $volume detail
--xml` for xml output, which can be easily consumed by program
compared to text output.</tt><br>
<pre class="moz-signature" cols="72">regards
Aravinda</pre>
<div class="moz-cite-prefix">On 06/21/2016 07:58 PM, Malte Schmidt
wrote:<br>
</div>
<blockquote
cite="mid:1354104360.2802.1466519307157.JavaMail.open-xchange@ox-api-1.vpn.udag.de"
type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
<p>Under which conditions does "gluster volume status $volume
detail" return something else than a table?</p>
<p>Typical, expected output:</p>
<p>root@server1:~# gluster volume status vol0 detail<br>
Status of volume: vol0<br>
------------------------------------------------------------------------------<br>
Brick : Brick server1:/data/glusterfs/vol0<br>
TCP Port : 49152 <br>
RDMA Port : 0 <br>
Online : Y <br>
Pid : 2942 <br>
File System : xfs <br>
Device : /dev/mapper/glusterfs<br>
Mount Options : rw,relatime,attr2,inode64,noquota<br>
Inode Size : 512 <br>
Disk Space Free : 9.0GB <br>
Total Disk Space : 20.0GB <br>
Inode Count : 10485760 <br>
Free Inodes : 8774085 <br>
------------------------------------------------------------------------------<br>
Brick : Brick server2:/data/glusterfs/vol0<br>
TCP Port : 49152 <br>
RDMA Port : 0 <br>
Online : Y <br>
Pid : 3275 <br>
File System : xfs <br>
Device : /dev/mapper/glusterfs<br>
Mount Options : rw,relatime,attr2,inode64,noquota<br>
Inode Size : 512 <br>
Disk Space Free : 9.0GB <br>
Total Disk Space : 20.0GB <br>
Inode Count : 10485760 <br>
Free Inodes : 8774085 </p>
<p>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?</p>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Gluster-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Gluster-users@gluster.org">Gluster-users@gluster.org</a>
<a class="moz-txt-link-freetext" href="http://www.gluster.org/mailman/listinfo/gluster-users">http://www.gluster.org/mailman/listinfo/gluster-users</a></pre>
</blockquote>
<br>
</body>
</html>