wget attempts

Marc Powell marc at ena.com
Thu Aug 10 00:29:03 CEST 2006


You'll want to go all the way through the report generation process in
your browswer _then_ grab the URL for the page with the actual report.
This looks like you're giving wget the URL for the start of the report
process.

--
Marc

> -----Original Message-----
> From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-
> bounces at lists.sourceforge.net] On Behalf Of Brian Loe
> Sent: Wednesday, August 09, 2006 4:49 PM
> To: Nagios Users Mailinglist
> Subject: [Nagios-users] wget attempts
> 
> using --save-headers, -p -k and saving it to a file (-O), this is all
> I've managed to get:
> 
> HTTP/1.1 200 OK
> Date: Wed, 09 Aug 2006 21:40:43 GMT
> Server: Apache/2.0.54 (Linux/SUSE)
> Cache-Control: no-store
> Pragma: no-cache
> Expires: Thu, 01 Jan 1970 00:00:00 GMT
> Last-Modified: Wed, 09 Aug 2006 21:40:43 GMT
> Connection: close
> Content-Type: text/html
> 
> <html>
> <head>
> <title>
> Nagios Availability
> </title>
> <LINK REL='stylesheet' TYPE='text/css'
> HREF='http://nagios.mydomain.com/nagios/stylesheets/common.css'>
> <LINK REL='stylesheet' TYPE='text/css'
> HREF='http://nagios.mydomain.com/nagios/stylesheets/avail.css'>
> </head>
> <BODY CLASS='avail'>
> 
> <!-- Produced by Nagios (http://www.nagios.org).  Copyright (c)
> 1999-2003 Ethan Galstad. -->
> <table border=0 width=100% cellspacing=0 cellpadding=0>
> <tr>
> <td align=left valign=top width=33%>
> <TABLE CLASS='infoBox' BORDER=1 CELLSPACING=0 CELLPADDING=0>
> <TR><TD CLASS='infoBox'>
> <DIV CLASS='infoBoxTitle'>Availability Report</DIV>
> Last Updated: Wed Aug 9 16:40:43 CDT 2006<BR>
> Nagios® - <A HREF='http://www.nagios.org' TARGET='_new'
> CLASS='homepageURL'>www.nagios.org</A><BR>
> Logged in as <i>cssnetadmin</i><BR>
> </TD></TR>
> </TABLE>
> </td>
> <td align=center valign=top width=33%>
> </td>
> <td align=right valign=bottom width=33%>
> <table border=0 CLASS='optBox'>
> <tr><td></td><td align=right valign=bottom>
> <a href='http://nagios.mydomain.com/nagios/contexthelp/H1.html'
> target='cshw'
>
onClick='javascript:window.open("/nagios/contexthelp/H1.html","cshw","wi
dt
>
h=550,height=600,toolbar=0,location=0,status=0,resizable=1,scrollbars=1"
);
> return
> true'><img
src='http://nagios.mydomain.com/nagios/images/contexthelp1.gif'
> border=0 alt='Display context-sensitive help for this screen'
> title='Display context-sensitive help for this screen'></a>
> </td></tr>
> </table>
> </td>
> </tr>
> </table>
> <p><div align=center class='reportSelectTitle'>Step 1: Select Report
> Type</div></p>
> <p><div align=center>
> <form method="get" action="http://nagios.mydomain.com/avail.cgi">
> <table border=0 cellpadding=5>
> <tr><td class='reportSelectSubTitle' align=right>Type:</td>
> <td class='reportSelectItem'>
> <select name='report_type'>
> <option value=hostgroups>Hostgroup(s)
> <option value=hosts>Host(s)
> <option value=servicegroups>Servicegroup(s)
> <option value=services>Service(s)
> </select>
> </td></tr>
> <tr><td></td><td align=left class='dateSelectItem'><input
> type='submit' value='Continue to Step 2'></td></tr>
> </table>
> </form>
> </div></p>
> 
> <!-- Produced by Nagios (http://www.nagios.org).  Copyright (c)
> 1999-2003 Ethan Galstad. -->
> </body>
> </html>
> HTTP/1.1 200 OK
> Date: Wed, 09 Aug 2006 21:40:43 GMT
> Server: Apache/2.0.54 (Linux/SUSE)
> Last-Modified: Fri, 23 Jun 2006 17:48:50 GMT
> ETag: "4b78b-1a-d85be480"
> Accept-Ranges: bytes
> Content-Length: 26
> Keep-Alive: timeout=15, max=100
> Connection: Keep-Alive
> Content-Type: text/plain
> 
> User-agent: *
> Disallow: /
> 


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list