<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<style>
<!--
@font-face
        {font-family:Calibri}
@font-face
        {font-family:Tahoma}
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        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.EmailStyle17
        {font-family:"Calibri","sans-serif";
        color:#1F497D}
.MsoChpDefault
        {font-family:"Calibri","sans-serif"}
@page WordSection1
        {margin:1.0in 1.0in 1.0in 1.0in}
div.WordSection1
        {}
-->
</style>
</head>
<body lang="EN-US" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt; font-family:"Calibri","sans-serif"; color:#1F497D">OK, I'm completely stumped on this one, and very Frustrated.</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt; font-family:"Calibri","sans-serif"; color:#1F497D"> </span></p>
<p class="MsoNormal"><span style="font-size:11.0pt; font-family:"Calibri","sans-serif"; color:#1F497D">Here's my line:</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt; font-family:"Calibri","sans-serif"; color:#1F497D">DS Users cmrtgusers.rrd:ds0 >3 COLOR=red "TEXT=Exceeding 30 logged in users"</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt; font-family:"Calibri","sans-serif"; color:#1F497D"> </span></p>
<p class="MsoNormal"><span style="font-size:11.0pt; font-family:"Calibri","sans-serif"; color:#1F497D">The last value from the rrd was 35, so the line should be hit, but I get nothing.  I added debug to all the modules, I've tried several names for the column,
 I even linked the rrd to another name because it had a dash in the middle thinking the parser might not like that.  Still nothing.  I also then removed the rrd completely, hoping that I would at least get a line in one of the logfiles indicating a missing
 rrd.  I get NOTHING no matter what I do.  What am I doing wrong???  HELP!</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt; font-family:"Calibri","sans-serif"; color:#1F497D"> </span></p>
<p class="MsoNormal"><span style="font-size:11.0pt; font-family:"Arial","sans-serif"; color:#1F497D">Scot Kreienkamp</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt; font-family:"Arial","sans-serif"; color:#1F497D">skreien@la-z-boy.com</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt; font-family:"Calibri","sans-serif"; color:#1F497D"> </span></p>
<p class="MsoNormal"><b><span style="font-size:10.0pt; font-family:"Tahoma","sans-serif"">From:</span></b><span style="font-size:10.0pt; font-family:"Tahoma","sans-serif""> Ralph Mitchell [mailto:ralphmitchell@gmail.com]
<br>
<b>Sent:</b> Wednesday, October 19, 2011 7:55 AM<br>
<b>To:</b> Jeremy Laidman<br>
<b>Cc:</b> Scot Kreienkamp; xymon@xymon.com<br>
<b>Subject:</b> Re: [Xymon] External scripts thresholds via hobbit-clients.cfg</span></p>
<p class="MsoNormal"> </p>
<div>
<p class="MsoNormal">On Wed, Oct 19, 2011 at 1:15 AM, Jeremy Laidman <<a href="mailto:jlaidman@rebel-it.com.au">jlaidman@rebel-it.com.au</a>> wrote:</p>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt">On Wed, Oct 19, 2011 at 12:34 PM, Scot Kreienkamp <<a href="mailto:SKreien@la-z-boy.com">SKreien@la-z-boy.com</a>> wrote:<br>
> Anyone have a working example?  I am still unable to get this to work.</p>
</div>
<p class="MsoNormal">From analysis.cfg:<br>
<br>
HOST=%^ntp\d<br>
   DS ntp ntpstat.rrd:offsetms >10 COLOR=red "TEXT=NTP offset &Vms<br>
higher than &Ums"<br>
   DS ntp ntpstat.rrd:offsetms >5 COLOR=yellow "TEXT=NTP offset &Vms<br>
higher than &Ums"<br>
   DS ntp ntpstat.rrd:offsetms <-10 COLOR=red "TEXT=NTP offset &Vms<br>
lower than &Lms"<br>
   DS ntp ntpstat.rrd:offsetms <-5 COLOR=yellow "TEXT=NTP offset &Vms<br>
lower than &Lms"<br>
<br>
This monitors NTP offset and alerts on exceeding the thresholds and<br>
sends the status to the "ntp" status page.  I enabled this only today,<br>
and while it generates alerts on exceeding the threshold, it hasn't<br>
been "bedded in" so there might be faults with how I've used this.<br>
<br>
Note that the doco (man analysis.cfg) shows the correct format but<br>
misses the column in the example.</p>
<div>
<p class="MsoNormal"> </p>
</div>
<div>
<p class="MsoNormal">Does that create a new column called "ntp", or do you already have the "ntp" column and the DS check simply changes its colour??</p>
</div>
<div>
<p class="MsoNormal"> </p>
</div>
<div>
<p class="MsoNormal">Ralph Mitchell </p>
</div>
</div>
</div>
This message is intended only for the individual or entity to which it is addressed. It may contain privileged, confidential information which is exempt from disclosure under applicable laws. If you are not the intended recipient, please note that you are strictly
 prohibited from disseminating or distributing this information (other than to the intended recipient) or copying this information. If you have received this communication in error, please notify us immediately by e-mail or by telephone at the above number.
 Thank you.
</body>
</html>