Taking
it one step farther, too bad there's not a way to "filter" out the "junk" in the
log that you don't really want, like acknowledgements, alerts, loads, un-loads,
etc, just ups and downs
---------------------------------------------
Jeff Benedict
Tech Services
Lan/Wan Support
228-214-5465
-----Original Message-----
From: brandon.baker [mailto:[EMAIL PROTECTED]
Sent: Monday, September 29, 2003 09:54 AM
To: '[EMAIL PROTECTED]'
Subject: RE: [WhatsUp Forum] List all log entries per deviceOleg,That's great!Thanks for taking the time.Brandon-----Original Message-----
From: Oleg . [mailto:[EMAIL PROTECTED]
Sent: Monday, September 29, 2003 8:39 AM
To: [EMAIL PROTECTED]
Subject: Re: [WhatsUp Forum] List all log entries per deviceIt's already done in devicedetails.asp file<%DEVICE_LOG% 25> list 25 last logs for a deviceUse next two tags to start listing devices in you list devices with logs file.<%START_LOADED_MAP_LIST%><%START_DEVICE_LIST%>
If you need only down devices put <%IFNOT% IS_DEVICE_UP>Then your custom table<TABLE><TR>Next tag lists devices with links to them. click on it and you see all device info including logs
<TD><A href=""><%DEVICE% DISPLAY_NAME></A></TD></TR></TABLE>So delete all device details from devicedetails.asp but
<TABLE cellSpacing=2 cellPadding=0 width="100%" bgColor="#c0c0c0" border=0>
<TR>
<TD>Log Extract<BR>
<PRE>
<%DEVICE_LOG% 25> <!-- You can change 25 to 100 or whatever to see more logs --></PRE>
<P></P></TD></TR></TABLE>rename devicedetails.asp to Logdevicedetails.asp, replace link from devicedetails.asp Logdevicedetails.asp in device.asp file and rename device.asp to Logdevice.asp. and put the link in<A href=""><%DEVICE% DISPLAY_NAME></A>.And now you can see only log extracts when you click on a device link.Make sure to save original devicedetails.asp and device.asp first.I would create this .asp if I needed it and had time.Good luck,Oleg
Ben Whittaker <[EMAIL PROTECTED]> wrote:I would like to see that myself
"brandon.baker" <[EMAIL PROTECTED]> wrote:I have seen alot of creative asp pages floating accross this forum. Anyone
have any suggestions for creating code to parse the wug log files per device
and post them to the web? Then create a link on the device page for full
log view of this device?
Brandon
Brandon Baker
Manager, Security and Network Engineering
Inforonics, Inc.
V: 978-835-4323
email: [EMAIL PROTECTED]
www.inforonics.com
Please visit http://www.ipswitch.com/support/mailing-lists.html
to be removed from this list.
An Archive of this list is available at:
http://www.mail-archive.com/whatsup_forum%40list.ipswitch.com/
Do you Yahoo!?
The New Yahoo! Shopping - with improved product search
Do you Yahoo!?
The New Yahoo! Shopping - with improved product search
This e-mail and any files transmitted with it are the property of Hancock Holding Company and/or its affiliates, are confidential, and are intended solely for the use of the individual or entity to whom this e-mail is addressed. If you are not one of the named recipient(s) or otherwise have reason to believe that you have received this message in error, please delete this message immediately from your computer. Any other use, retention, dissemination, forwarding, printing, or copying of this e-mail is strictly prohibited.
