<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 14 (filtered medium)">
<!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
        {mso-style-priority:99;
        mso-style-link:"Balloon Text Char";
        margin:0in;
        margin-bottom:.0001pt;
        font-size:8.0pt;
        font-family:"Tahoma","sans-serif";}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
span.BalloonTextChar
        {mso-style-name:"Balloon Text Char";
        mso-style-priority:99;
        mso-style-link:"Balloon Text";
        font-family:"Tahoma","sans-serif";}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri","sans-serif";}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal">I’ve been using statgrab for a while and recently inherited some<o:p></o:p></p>
<p class="MsoNormal">Solaris 10 servers that are global hosts for some virtual zones ..<o:p></o:p></p>
<p class="MsoNormal">I am also using Check_MK to monitor but find that these hosts are<o:p></o:p></p>
<p class="MsoNormal">timing out more often than not.  When exploring further with truss<o:p></o:p></p>
<p class="MsoNormal">I see that ANY option I pass to statgrab seems to be walking the
<o:p></o:p></p>
<p class="MsoNormal">device trees for some reason .. and I suspect my device trees are<o:p></o:p></p>
<p class="MsoNormal">very broken … there are over 5000 device links in my /dev/dsk<o:p></o:p></p>
<p class="MsoNormal">folder (and format shows > 800 disks, no way we are using that many<o:p></o:p></p>
<p class="MsoNormal">even with a number of SAN luns, powerpath devices, et cetera…)<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">But, just wondering *<b>why</b>* does statgrab  wade thru all of these<o:p></o:p></p>
<p class="MsoNormal">for anything other than the ‘disk’ keyword?<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">const. cpu. disk. general. mem. page. proc. swap. user.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">…truss shows same behavior for any arg .. first has to sift thru all<o:p></o:p></p>
<p class="MsoNormal">the devices.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">(abbreviating output )<o:p></o:p></p>
<p class="MsoNormal"># truss statgrab cpu.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">[…]<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">stat("/dev/dsk/c1t5006016139A012D4d39s7", 0xFFBBF208) = 0<o:p></o:p></p>
<p class="MsoNormal">readlink("/dev/dsk/c1t5006016139A012D4d39s7", "../../devices/pci@2,600000/SUNW,emlxs@0/fp@0,0/ssd@w5006016139a012d4,27:h", 1024) = 73<o:p></o:p></p>
<p class="MsoNormal">stat("/dev/dsk/c3t5006016839A012D4d14s3", 0xFFBBF208) = 0<o:p></o:p></p>
<p class="MsoNormal">readlink("/dev/dsk/c3t5006016839A012D4d14s3", <o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">[...]<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">This takes a good 5 – 10 minutes to get thru before it actually gets to<o:p></o:p></p>
<p class="MsoNormal">reporting any cpu stats, by which time the Nagios check has timed out.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I tried upgrading to the latest Solaris package I could find – statgrab 0.17 –<o:p></o:p></p>
<p class="MsoNormal">but still does the same thing.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Any ideas?<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Regards<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><img width="228" height="61" id="Picture_x0020_1" src="cid:image003.png@01D1E80C.4C614630"><b><span style="font-size:10.0pt;font-family:"Arial","sans-serif";color:#124BA6"><o:p></o:p></span></b></p>
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Arial","sans-serif";color:#124BA6"><o:p> </o:p></span></b></p>
<p class="MsoNormal"><b><span style="font-family:"Arial","sans-serif"">JOHN MOORE -
</span></b><i><span style="font-size:9.0pt;font-family:"Arial","sans-serif"">Sr System Administrator, IT Infrastructure<o:p></o:p></span></i></p>
<p class="MsoNormal"><span style="font-size:9.0pt">Taylor Communications<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt">600 Albany Street.  Dayton, OH 45417<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt">Office:   937.221.2699 | Mobile:  937.367-9908
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:"Arial","sans-serif""><a href="mailto:john.moore@taylorcommunications.com"><span style="color:windowtext">john.moore@taylorcommunications.com</span></a>
<b> </b>|  <a href="http://www.taylorcommunications.com/"><span style="color:windowtext">www.taylorcommunications.com</span></a><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:"Arial","sans-serif""><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:6.0pt;font-family:"Arial","sans-serif";color:black">• • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • •
 • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • •
<br>
</span><b><span style="font-size:7.0pt;font-family:"Arial","sans-serif";color:#A6A6A6">CONFIDENTIALITY NOTICE:</span></b><b><span style="font-size:7.0pt;font-family:"Arial","sans-serif";color:#A6A6A6">  The information contained in this electronic mail transmission
 may contain privileged communications and/or confidential information intended only for the use of the named recipient(s). If the reader of this information is not the named recipient(s), or the employee or agent of the named recipient(s), you are hereby notified
 that any dissemination, distribution, copying or use of this information is strictly prohibited. If you received this transmission in error, please: (1) immediately notify us by return electronic transmission at
<span style="background:yellow;mso-highlight:yellow"><a href="mailto:john.moore@taylorcommunications.com"><span style="color:#A6A6A6">john.moore@taylorcommunications.com</span></a>;</span> and (2) permanently delete this message from your computer and all servers
 and other storage devices.</span></b><b><span style="font-size:10.5pt;font-family:"Arial","sans-serif";color:#A6A6A6"><o:p></o:p></span></b></p>
<p class="MsoNormal"><b><span style="color:#A6A6A6"><o:p> </o:p></span></b></p>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</body>
</html>