<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">Nicole</div><div class="gmail_quote"><br></div><div class="gmail_quote">On 9 May 2018 at 01:20, Nicole Beck <span dir="ltr"><<a href="mailto:nskyrca@syr.edu" target="_blank">nskyrca@syr.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">





<div lang="EN-US">
<div class="gmail-m_-8120038216636600964WordSection1">
<p class="MsoNormal"><span style="font-family:"Trebuchet MS",sans-serif">Hello,<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-family:"Trebuchet MS",sans-serif">I have Xymon configured to show the Apache TRENDS graphs.  I’ve been asked to alert for the “Apache workers” if it reaches a certain threshold.  Is this possible?</span></p></div></div></blockquote><div><br></div><div> Yes it's possible. In analysis.cfg you can specify a "status override" to adjust any existing status colour according to the value of any dataset in any RRD file. In your case, you could override the "http" status (assuming you're performing HTTP network tests) when the number of busy workers exceeds your threshold. Something like this:</div><div><br></div><div>HOST=<a href="http://myapacheserver.example.com">myapacheserver.example.com</a></div><div>    DS http apache.rrd:BW >20 COLOR=yellow TEXT="&V busy workers is greater than &U"</div><div>

<div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial">    DS http apache.rrd:BW >30 COLOR=red TEXT="&V busy workers is greater than &U"</div><br class="gmail-Apple-interchange-newline"></div><div>Refer to the man page for analysis.cfg for more information.</div><div><br></div><div>J</div><div><br></div></div></div></div>