<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=iso-8859-15">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<p>Hi to all</p>
<p>let's assume this volume info output:</p>
<p><tt>Volume Name: r2</tt><tt><br>
</tt><tt>Type: Distributed-Replicate</tt><tt><br>
</tt><tt>Volume ID: 24a0437a-daa0-4044-8acf-7aa82efd76fd</tt><tt><br>
</tt><tt>Status: Started</tt><tt><br>
</tt><tt>Number of Bricks: 2 x 2 = 4</tt><tt><br>
</tt><tt>Transport-type: tcp</tt><tt><br>
</tt><tt>Bricks:</tt><tt><br>
</tt><tt>Brick1: Server1:/home/gfs/r2_0</tt><tt><br>
</tt><tt>Brick2: Server2:/home/gfs/r2_1</tt><tt><br>
</tt><tt>Brick3: Server1:/home/gfs/r2_2</tt><tt><br>
</tt><tt>Brick4: Server2:/home/gfs/r2_3</tt><br>
<meta http-equiv="content-type" content="text/html;
charset=iso-8859-15">
</p>
<p>Can someone explain me how to read "Number of bricks" ?</p>
<p>Is the first number the number of "replicated bricks" and the
second number the number of replica?</p>
<p>In this case, 2 bricks are replicated 2 times ?<br>
</p>
<p>So, a "Number of Bricks: 2 x 3 = 6" means that 2 bricks are
replicated 3 times, right ?</p>
<p>Would be possible to add some indentation to this output?
Something like this would be much easier to read and understand:</p>
<p><tt>Volume Name: r2</tt><tt><br>
</tt><tt>Type: Distributed-Replicate</tt><tt><br>
</tt><tt>Volume ID: 24a0437a-daa0-4044-8acf-7aa82efd76fd</tt><tt><br>
</tt><tt>Status: Started</tt><tt><br>
</tt><tt>Number of Bricks: 2 x 2 = 4</tt><tt><br>
</tt><tt>Transport-type: tcp</tt><tt><br>
</tt><tt>Bricks:</tt><tt><br>
</tt><tt> Brick1: Server1:/home/gfs/r2_0</tt><tt><br>
</tt><tt> Brick2: Server2:/home/gfs/r2_1</tt><tt><br>
</tt><tt> </tt><tt><br>
</tt><tt> </tt><tt>Brick3: Server1:/home/gfs/r2_2</tt><tt><br>
</tt><tt> Brick4: Server2:/home/gfs/r2_3</tt></p>
<p>Or, if you don't want blank lines:</p>
<p><tt>Volume Name: r2</tt><tt><br>
</tt><tt>Type: Distributed-Replicate</tt><tt><br>
</tt><tt>Volume ID: 24a0437a-daa0-4044-8acf-7aa82efd76fd</tt><tt><br>
</tt><tt>Status: Started</tt><tt><br>
</tt><tt>Number of Bricks: 2 x 3 = 6</tt><tt><br>
</tt><tt>Transport-type: tcp</tt><tt><br>
</tt><tt>Bricks:</tt><tt><br>
</tt><tt> Brick1: Server1:/home/gfs/r2_0</tt><tt><br>
</tt><tt> -> Brick2: Server2:/home/gfs/r2_1</tt><tt><br>
</tt><tt> -> Brick3: Server3:/home/gfs/r2_2</tt><tt><br>
</tt><tt> Brick4: Server1:/home/gfs/r2_3</tt><tt><br>
</tt><tt> -> Brick5: Server2:/home/gfs/r2_4</tt><tt><br>
</tt><tt> -> Brick6: Server3:/home/gfs/r2_5</tt></p>
<p>Now some questions:<tt><br>
<br>
</tt>is SNMP integration planed ? A SMUX Peer integrated in
Gluster would be awesome<br>
for monitoring and monitoring a storage cluster is mandatory :)<tt>
<br>
</tt>Just a single line to add in snmpd.conf and we are ready to
go.<tt><br>
</tt></p>
<p>Currently, which are the monitoring options that we could use ?
We have some Zabbix servers here<br>
that use SNMP for monitoring. Any workaround with gluster ?<tt><br>
</tt></p>
<p>Probably, an easier workaround to implement in gluster would be
triggering an SNMP trap. <br>
When some events occur, gluster could automatically trigger a
trap. <br>
I think would be easier to develop than creating a whole SNMP SMUX
and in this case,<br>
a single configuration set on a single node, would be
gluster-wide. <br>
If you have 50 nodes, you just need to perform a single
configuration on a single node <br>
to enable traps for 50 nodes automatically.<tt><br>
<br>
</tt>You could ask (from CLI) for snmp target host to set
cluster-wide and then all nodes will be able to trigger some
traps.<tt><br>
</tt></p>
<p>In example:</p>
<p><tt>gluster volume </tt><tt>set</tt><tt> test-volume
snmp-trap-community 'public'</tt><tt><br>
</tt><tt>gluster volume </tt><tt>set</tt><tt> test-volume
snmp-trap-server '1.2.3.4'</tt></p>
<p>
</p>
<p><span class="hljs-operator" style="box-sizing: border-box; color: rgb(51, 51, 51); font-family: Consolas, "Andale Mono WT", "Andale Mono", "Lucida Console", "Lucida Sans Typewriter", "DejaVu Sans Mono", "Bitstream Vera Sans Mono", "Liberation Mono", "Nimbus Mono L", Monaco, "Courier New", Courier, monospace; font-size: 10.8px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: pre; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px;">
</span></p>
<p>
<meta http-equiv="content-type" content="text/html;
charset=iso-8859-15">
</p>
</body>
</html>