<div dir="ltr">Yes, I need the stats every minute. I am running it as an ext script, now the graphs are coming under trends after undoing the changes in <span style="font-family:arial,sans-serif;font-size:13px">hosts.cfg.</span><div>

<font face="arial, sans-serif"><br></font></div><div><font face="arial, sans-serif">One problem coming is the graphs are coming 2 times under trends. However they are getting updated, I tried : - </font></div><div><font face="arial, sans-serif"><br>

</font></div><div><font face="arial, sans-serif">1. Remove apache.rrd, waited for some time and checked after the rrd is generated, still 2 graphs for each stats i.e. apache utilizaition, aapche workers, apache cpu utilization, apache requests/ Second.</font></div>

<div><font face="arial, sans-serif">2. Removed "|apache:apache|apache1|apache2|apache3" from hosts.cfg which shows only one graph of </font><span style="font-family:arial,sans-serif">apache utilizaition.</span><font face="arial, sans-serif"><br>

</font><div>3. Added <span style="font-family:arial,sans-serif">"|apache:apache|apache1|apache2|apache3" again and removed apache.rrd, still same problem.</span></div></div><div><span style="font-family:arial,sans-serif"><br>

</span></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Oct 30, 2013 at 5:43 PM, Jeremy Laidman <span dir="ltr"><<a href="mailto:jlaidman@rebel-it.com.au" target="_blank">jlaidman@rebel-it.com.au</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="im">On 30 October 2013 18:41, deepak deore <span dir="ltr"><<a href="mailto:deepakdeore2004@gmail.com" target="_blank">deepakdeore2004@gmail.com</a>></span> wrote:<br>

</div><div class="gmail_extra"><div class="gmail_quote"><div class="im">

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi Ralph,<div>I have setup this script on client side to run after every 1 minute.</div></div></blockquote>



<div><br></div></div><div>Every minute?  Xymon network checks are usually every 5 minutes.  Do you need it that often?</div><div class="im"><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">



<div dir="ltr"><div>On server hosts.cfg i changed the line as below:</div></div></blockquote><div><br></div></div><div>You don't need any changes to hosts.cfg.  Those settings only tell xymonnet to poll the server, and you don't want that.  You don't want the Xymon server creating the "apache" status.  Instead, you need the client to do it, which should happen just by running the script.</div>

<div class="im">

<div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>But I am not getting the apache graph in trends. Could you tell what am I doing wrong?</div>



</div></blockquote><div><br></div></div><div>Check your ghost report.  Also try manually running the script from within a "xymoncmd" shell and see if you get any errors.</div><div><br></div><div>How are you running the script?  From a cron job, or as an "ext" script?</div>

<span class="HOEnZb"><font color="#888888">

<div><br></div><div>J</div><div><br></div></font></span></div></div></div>
</blockquote></div><br></div>