<div dir="ltr"><div>If you&#39;re not opposed to another dependency, there is a glusterfs-nagios package (python-based) which presents the volumes in a much more useful format for monitoring.<br><br><a href="http://download.gluster.org/pub/gluster/glusterfs-nagios/1.1.0/">http://download.gluster.org/pub/gluster/glusterfs-nagios/1.1.0/</a><br></div><div><br></div>Patrick<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Jun 21, 2016 at 10:28 AM, Malte Schmidt <span dir="ltr">&lt;<a href="mailto:info@vialactea.de" target="_blank">info@vialactea.de</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><u></u>


    
 <div><p>Under which conditions does &quot;gluster volume status $volume detail&quot; 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></div><br>_______________________________________________<br>
Gluster-users mailing list<br>
<a href="mailto:Gluster-users@gluster.org">Gluster-users@gluster.org</a><br>
<a href="http://www.gluster.org/mailman/listinfo/gluster-users" rel="noreferrer" target="_blank">http://www.gluster.org/mailman/listinfo/gluster-users</a><br></blockquote></div><br></div>