Hello Scott, I think something happened to the ZIP file it is empty. I like your idea!!
Kevin Bartholomew Computer Operations Analyst 2 Freightliner Corporate 503-745-5324 [EMAIL PROTECTED] -----Original Message----- From: Scott Taylor [mailto:ScottTaylor@;westat.com] Sent: Friday, November 08, 2002 6:40 AM To: '[EMAIL PROTECTED]' Subject: RE: [WhatsUp Forum] calculations Robert, I thought about your idea and put together a script that calculates the current down time of a device. What I did was incorporate it into the "marquee" code that Chris sent a while back. In the marquee, the device that's down is listed along with how long it has been recently down. Example: SERVER1 (17 min). It works best if your polling cycles are in 30 or 60 second increments, mostly so you don't end up with long fractions such as (17.33333333 min). I also enhanced the code to strip away subnets from the marquee. I found that when a device went down, both the device and the subnet map would be displayed. Now only devices are shown and the subnet maps are ignored. I have attached a ZIP file with the templates that were changed (TOPVIEW.ASP & MAP.ASP). Scott Taylor -----Original Message----- From: Glatt, Robert [mailto:rglatt@;Kraft.com] Sent: Thursday, November 07, 2002 11:28 AM To: wug (E-mail) Subject: [WhatsUp Forum] calculations Does anyone have an easy way to do calculation on the web interface. I would like to take the MAP_POLL_INTERVAL which is in seconds, convert it to minutes and then multiply it by the CURRENT_DOWN_COUNT. This would give me the down time since the last succesful poll time. If I re-boot the WUG server then all the down times would be since it re-started. IF I reset the counters then the DOWNTIME variable is the right number. However, I like having it show the total since whenever. 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/ 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/
