<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none"><!-- p { margin-top: 0px; margin-bottom: 0px; }--></style>
</head>
<body dir="ltr" style="font-size:12pt;color:#000000;background-color:#FFFFFF;font-family:Calibri,Arial,Helvetica,sans-serif;">
<p>I'm looking for a way to send the contents of the the trends page to an external user with information from the trends page and don't want to give them internal access. <br>
</p>
<p><br>
</p>
<p>Anyone know a way to dump the page to a file?  <br>
</p>
<p><br>
</p>
<p>I've tried <a href="http://lists.xymon.com/oldarchive/2010/02/msg00188.html">this ​</a>so far with little success:<br>
</p>
<p><br>
</p>
<p></p>
<blockquote style="margin: 0 0 0 40px; border: none; padding: 0px;">
<div>#!/bin/sh</div>
<div>. /usr/lib/hobbit/server/etc/hobbitcgi.cfg</div>
<div>HOST=$1<br>
</div>
<div>SERVICE=trends</div>
<div>env REQUEST_URI=/hobbit-cgi/bb-hostsvc.sh?HOST=${HOST}\&SERVICE=$SERVICE</div>
<div>SCRIPT_NAME=/hobbit-cgi/bb-hostsvc.sh</div>
<div>QUERY_STRING=HOST=${HOST}\&SERVICE=$SERVICE REQUEST_METHOD=GET</div>
<div>/usr/lib/hobbit/server/bin/hobbitsvc.cgi $CGI_SVC_OPTS --debug</div>
</blockquote>
<p><br>
</p>
<p>Then I run sh test.sh server​.name<br>
</p>
<p><br>
</p>
<p>The result is:<br>
</p>
<p><br>
</p>
<div>Content-type: text/html</div>
<div><br>
</div>
<div><html><head><title>Invalid request</title></head></div>
<div><body>Invalid request</body></html></div>
<div><br>
It acts as though it didn't find a host name to query. <br>
</div>
<div><br>
</div>
<p>Any other suggestions would be very helpful!<br>
</p>
<p><br>
</p>
<p>Thanks, <br>
</p>
<p><br>
</p>
<p><br>
</p>
<div id="Signature">
<div><font size="2" face="Tahoma">
<p class="MsoNormal">John Tullis</p>
<p class="MsoNormal">     </p>
</font></div>
</div>
</body>
</html>