<div dir="ltr"><div><div><div><div><div><div><div><div>Hi all<br><br></div>Am busy trying to investigate a curious problem with rrd graphs, and I stumbled on something else I don't understand, and was hoping somebody out there could help.<br><br></div>As part of my investigation, I added --debug to the [rrdstatus] and [rrddata] entries on the server tasks.cfg<br></div>And the logs started showing heaps of the message<br><span style="font-family:monospace">2014-11-14 10:41:36 Peer not up, flushing message queue</span><br></div>What is that? <br></div>It doesn't look right to me.<br><br></div>I might as well explain why I am doing this.<br>I am running an experimental script, zresources.ksh<br></div>Its supposed to allow me to graph the resources being used by individual zones on Solaris.<br>Here's part of the code<br><span style="font-family:monospace">$XYMON $XYMSRV "status $MACHINE.zmem green $(date) $OUT "<br>$XYMON $XYMSRV "data $MACHINE.zmem $COLOR $(echo; cat "$TEMPFILE.mem" ;echo;echo)"<br>$XYMON $XYMSRV "data $MACHINE.zcpu $COLOR $(echo; cat "$TEMPFILE.cpu" ;echo;echo)"<br>$XYMON $XYMSRV "data $MACHINE.zswap $COLOR $(echo; cat "$TEMPFILE.swap" ;echo;echo)"<br>echo $XYMON $XYMSRV "status $MACHINE.zmem green $(date) $OUT "<br>echo $XYMON $XYMSRV "data $MACHINE.zmem $COLOR $(echo; cat "$TEMPFILE.mem" ;echo;echo)"<br>echo $XYMON $XYMSRV "data $MACHINE.zcpu $COLOR $(echo; cat "$TEMPFILE.cpu" ;echo;echo)"<br>echo $XYMON $XYMSRV "data $MACHINE.zswap $COLOR $(echo; cat "$TEMPFILE.swap" ;echo;echo)"<br>cat $TEMPFILE.swap<br>cat $TEMPFILE.cpu<br>cat $TEMPFILE.mem<br></span></div>The first 4 lines are "real" and the rest I added for debug.<br>It's supposed to send data containing the zone names, and the amount of resources it's using.<br><div><div><div><div><div><div><span style="font-family:monospace">global : 293<br>zone1 : 575<br></span></div><div><span style="font-family:monospace">zone2 : 899<br></span></div><div><span style="font-family:monospace">zone3 : 754</span><br></div><div>All good, it makes nice pretty graphs and what have you. And I expect and get rrd files as follows<br></div><div><span style="font-family:monospace">zmem,global.rrd zcpu,global.rrd zswap,global.rrd<br></span></div><div><span style="font-family:monospace">zmem,zone1.rrd zcpu,zone.rrd zswap,zone1.rrd</span><br></div><div>etc.etc.<br></div><div><br></div><div>Except every now and then, I get something like<br></div><div><span style="font-family:monospace">zmem,c2t0d1.rrd</span><br></div><div>I get others too, like zmem,rmt_0 and sometimes even with database SIDs too. And not just for zmem, for zcpu and zswap with about equal frequency. And often, the database SID is not even a database running on that host!<br></div><div>I look inside the rrd file, with rrdtool dump, and there will usualy be only a single data point.<br></div><div>Looking in the client logs, which contains the output of the debug code above, there is no indication that the client ever sent any data using anything else but the zone names.<br></div><div>So where are these spurious data points coming from?<br><br></div><div>Has anybody seen anything like this?<br><br></div><div>Regards<br>Vernon<br></div><div><br></div><div><br clear="all"><div><div><div><br>-- <br><div class="gmail_signature"><span>"Accept the challenges so that you can feel the exhilaration of victory"</span><div><span>- General George Patton</span></div></div>
</div></div></div></div></div></div></div></div></div></div>