<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none"><!-- p { margin-top: 0px; margin-bottom: 0px; } @font-face { font-family: "Cambria Math"; } @font-face { font-family: Calibri; } p.MsoNormal, li.MsoNormal, div.MsoNormal { margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif; } a:link, span.MsoHyperlink { color: blue; text-decoration: underline; } a:visited, span.MsoHyperlinkFollowed { color: purple; text-decoration: underline; } span.hoenzb { } span.EmailStyle19 { font-family: Calibri, sans-serif; color: rgb(68, 84, 106); font-weight: normal; font-style: normal; } .MsoChpDefault { font-family: Calibri, sans-serif; } @page WordSection1 { margin: 3cm 2cm; } div.WordSection1 { }--></style>
</head>
<body dir="ltr" style="font-size:12pt;color:#000000;background-color:#FFFFFF;font-family:Calibri,Arial,Helvetica,sans-serif;">
<p>Thanks for the offer, Kenneth.  I have a simple script (ls $dir | wc -l) as well but I had thought that it was already a part of the Xymon base.  It would be nice to have it as an option to DIR and if I can find the time, I may look into dusting off my C
 skills and take a stab at it...though using the terms "skills" along side "C" is a stretch for me :-).<br>
</p>
<p><br>
</p>
<p>=G=<br>
</p>
<p><br>
</p>
<div style="color: rgb(33, 33, 33);">
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" color="#000000" style="font-size:11pt"><b>From:</b> Kenneth S. Petersen <ksp@stougaards.dk><br>
<b>Sent:</b> Friday, March 3, 2017 3:37 AM<br>
<b>To:</b> Galen Johnson; Galen Johnson<br>
<b>Cc:</b> xymon@xymon.com<br>
<b>Subject:</b> SV: [Xymon] file counts</font>
<div> </div>
</div>
<div>
<div class="WordSection1">
<p class="MsoNormal"><span lang="EN-US" style="font-family:"Calibri",sans-serif; color:#44546A">Hi Galen,</span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:"Calibri",sans-serif; color:#44546A">I’m using the count file feature but with a external script on windows along with bbwin 0.13 or 0.12</span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:"Calibri",sans-serif; color:#44546A"> </span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:"Calibri",sans-serif; color:#44546A">It a two part script, one cfg file in the bbwin etc folder and one vbs in the bbwin ext folder.</span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:"Calibri",sans-serif; color:#44546A">Then call it from bbwin.cfg</span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:"Calibri",sans-serif; color:#44546A">Actually it’s the bbwin, fsmon.vbs that I have altered so it fits my needs.</span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:"Calibri",sans-serif; color:#44546A"> </span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:"Calibri",sans-serif; color:#44546A">Let me know if you want the script.</span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:"Calibri",sans-serif; color:#44546A"> </span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:"Calibri",sans-serif; color:#44546A"> </span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt; font-family:"Calibri",sans-serif; color:#1F497D"><br>
<br>
</span><span style="font-size:11.0pt; font-family:"Calibri",sans-serif; color:#1F497D">Med Venlig Hilsen</span><span style="font-size:10.0pt; font-family:"Calibri",sans-serif; color:#1F497D"><br>
</span><span style="font-size:14.0pt; font-family:"Calibri",sans-serif; color:#1F497D">Kenneth S. Petersen</span><span style="font-size:11.0pt; font-family:"Calibri",sans-serif; color:#1F497D"><br>
IT Konsulent – Stougaards IT<br>
Wiuffsvej 3, DK-4540 Fårevejle, Denmark<br>
Email: </span><u><span style="font-size:11.0pt; font-family:"Calibri",sans-serif; color:blue"><a href="mailto:info@stougaardsit.dk">info@stougaardsit.dk</a></span></u><span style="font-size:11.0pt; font-family:"Calibri",sans-serif; color:black">
</span><span style="font-size:11.0pt; font-family:"Calibri",sans-serif; color:#1F497D">Mob.+45 2163 2325<br>
<br>
</span><span style="font-size:11.0pt; font-family:"Calibri",sans-serif; color:#44546A"></span></p>
<p class="MsoNormal"><span style="font-family:"Calibri",sans-serif; color:#44546A"> </span></p>
<p class="MsoNormal" style="margin-left:65.2pt"><b><span style="font-size:11.0pt; font-family:"Calibri",sans-serif">Fra:</span></b><span style="font-size:11.0pt; font-family:"Calibri",sans-serif"> Xymon [mailto:xymon-bounces@xymon.com]
<b>På vegne af </b>Galen Johnson<br>
<b>Sendt:</b> 3. marts 2017 01:30<br>
<b>Til:</b> Galen Johnson <Galen.Johnson@sas.com><br>
<b>Cc:</b> xymon@xymon.com<br>
<b>Emne:</b> Re: [Xymon] file counts</span></p>
<p class="MsoNormal" style="margin-left:65.2pt"> </p>
<div>
<div>
<p class="MsoNormal" style="margin-right:0cm; margin-bottom:12.0pt; margin-left:65.2pt">
Apparently, I wasn't the only one with this need.  I found a thread from 2011.  I really don't want to go that route so consider this a feature request that DIR can support more than just size but file count as well.</p>
</div>
<p class="MsoNormal" style="margin-left:65.2pt">=G=</p>
</div>
<div>
<p class="MsoNormal" style="margin-left:65.2pt"> </p>
<div>
<p class="MsoNormal" style="margin-left:65.2pt">On Thu, Mar 2, 2017 at 2:20 PM, Galen Johnson <<a href="mailto:Galen.Johnson@sas.com" target="_blank">Galen.Johnson@sas.com</a>> wrote:</p>
<blockquote style="border:none; border-left:solid #CCCCCC 1.0pt; padding:0cm 0cm 0cm 6.0pt; margin-left:4.8pt; margin-right:0cm">
<div>
<p style="margin-left:65.2pt; background:white"><span style="font-family:"Calibri",sans-serif; color:black">​Hey,</span></p>
<p style="margin-left:65.2pt; background:white"><span style="font-family:"Calibri",sans-serif; color:black"> </span></p>
<p style="margin-left:65.2pt; background:white"><span style="font-family:"Calibri",sans-serif; color:black">I could've sworn that Xymon had a way to count the number of files in a particular directory (natively) and you could set up alerts based on number of
 files.  Apparently, I was wrong or I'm not seeing it in the docs.  Obviously, I could get clever with file ages but that's just annoying.  Am I missing something?</span></p>
<p style="margin-left:65.2pt; background:white"><span style="font-family:"Calibri",sans-serif; color:black"> </span></p>
<p style="margin-left:65.2pt; background:white"><span style="font-family:"Calibri",sans-serif; color:black">thanks</span></p>
<p style="margin-left:65.2pt; background:white"><span style="font-family:"Calibri",sans-serif; color:#888888"> </span></p>
<p style="margin-left:65.2pt; background:white"><span style="font-family:"Calibri",sans-serif; color:#888888">=G=</span></p>
</div>
<p class="MsoNormal" style="margin-right:0cm; margin-bottom:12.0pt; margin-left:65.2pt">
<br>
_______________________________________________<br>
Xymon mailing list<br>
<a href="mailto:Xymon@xymon.com">Xymon@xymon.com</a><br>
<a href="http://lists.xymon.com/mailman/listinfo/xymon" target="_blank">http://lists.xymon.com/mailman/listinfo/xymon</a></p>
</blockquote>
</div>
<p class="MsoNormal" style="margin-left:65.2pt"> </p>
</div>
</div>
</div>
</div>
</body>
</html>