> -----Original Message----- > From: [EMAIL PROTECTED] [mailto:nagios-users- > [EMAIL PROTECTED] On Behalf Of Brian Loe > Sent: Wednesday, August 09, 2006 4:17 PM > To: Nagios Users Mailinglist > Subject: Re: [Nagios-users] Reporting > > On 8/9/06, Tory M Blue <[EMAIL PROTECTED]> wrote: > > Go ahead and click open in new window after the first selection and I > think > > from that point on, it gives you the full url.. Meaning right click the > > submit/select button and open it in a new window (should give you the > full > > url) > > > > > > Couldn't do it exactly that way, but in IE I can go to the report > page, right click and choose properties - then copy the URL. > > Anyone want to volunteer to help me create the script? I need to wget > the URL with authentication, attach the page to an e-mail, get rid of > the page...doesn't sound that difficult but perhaps there's a way > better than some silly shell script I'd throw together.
In it's most simplistic form. Error checking, safety is up to you. I can't think of a more direct way to do it off the top of my head. -- wget --quiet --http-user=USERNAME --http-passwd=PASSWORD -O /PATH/TO/REPORTFILE.html "http://REPORT/URL"; echo "This is an automated message." | mutt -a /PATH/TO/REPORTFILE.html -s "SOME DESCRIPTIVE SUBJECT" [EMAIL PROTECTED]; /bin/rm /PATH/TO/REPORTFILE.html -- Marc ------------------------------------------------------------------------- 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@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