<div dir="ltr">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 class="gmail_extra"><div class="gmail_quote">

<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>Every minute?  Xymon network checks are usually every 5 minutes.  Do you need it that often?</div><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>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> </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>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>

<div><br></div><div>J</div><div><br></div></div></div></div>