<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On 29 October 2013 19:48, deepak deore <span dir="ltr"><<a href="mailto:deepakdeore2004@gmail.com" target="_blank">deepakdeore2004@gmail.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">/server-stauts page can be accessed from localhost, is there a way where xymon client can send /server-status page to the server ?</blockquote>

</div><div class="gmail_extra"><br></div>You can just write a script on the client to fetch via localhost, and report to the Xymon server via a status message.</div><div class="gmail_extra"><br></div><div class="gmail_extra">

However, if you're unable to get a script running on the client, you can probably do something in client-local.cfg on the Xymon server.  For example, setup a "file:" entry like so:</div><div class="gmail_extra">

<br></div><div class="gmail_extra">  file:`( echo "client/apache-status $MACHINE.$OSTYPE"; echo "[server-status]"; wget -q -O- <a href="http://127.1/server-status">http://127.1/server-status</a> ) | $XYMON $XYMSRV @ >/dev/null`</div>

<div class="gmail_extra"><br></div><div class="gmail_extra">You should end up with the server status output in the client data for the server.  You can then fetch it server-side from a script by using:</div><div class="gmail_extra">

<br></div><div class="gmail_extra">  $XYMON $XYMSRV "clientlog $SERVERNAME section=server-status"</div><div class="gmail_extra"><br></div><div class="gmail_extra">and parse it for whatever you need.</div><div class="gmail_extra">

<br></div><div class="gmail_extra"><br></div><div class="gmail_extra">J</div><div class="gmail_extra"><br></div></div>