[Top] [All Lists]

Re: Availability

To: nv-l@lists.tivoli.com
Subject: Re: Availability
From: Rob Napholz <tel1rxn@NJCMAIL.UPS.COM>
Date: Wed, 1 Sep 1999 13:33:48 -0400
Pham could you post your perl script to the group
and save us all some time.

thanks Rob

Pham Isaak V wrote:
> First create a ruleset to detect Node Up/Down traps, then compare the traps
> to a collection of server or router.
> If device is a router, log the event to a router logfile.  If device is a
> server, log the event to a server logfile.  The logs should contain the
> following fields:
>         device name
>         status of device (up/down)
>         time of status change (day, hours, & minutes)
> At the end of the month, run a script or program against the logfiles.  The
> program or script (Perl in my case) to match the device down with its
> corresponding device up.  Now subtract the time of the device down trap to
> the device up trap.  This will give you the length of time the devices was
> down.  Convert the days and hours to minutes.  Match up all the other
> down/up trap associated with the same device.  Add them all together and you
> should have the total number of minutes the device was down for the month.
> Now, take the total number of minutes the device was down and subtract by
> 43200[(24 hours * 60 minutes) * 30 days = # of minutes in a month]. Take
> that value and divide by 43200.  This will give you the percentage of
> availablity for the device.
> This method is not 100% accurate, but it had to do for now.  I hope someone
> else have a better way of doing this.
> Hint:  This would be a great addition to the next release of NetView.
> -----Original Message-----
> From: Frantsen Christian [mailto:cf@INTERNOC.SE]
> Sent: Wednesday, September 01, 1999 6:00 AM
> To: NV-L@UCSBVM.ucsb.edu
> Subject: Availability
> Hi!
> I would like to (with help from sysUptime) gather information and then
> present this to a customer in single number. i.e
> Your availability this month on these routers/servers/etc has been 99.7%
> Has anyone made something like this? Perhaps someone gcould ive me a few
> pointers on how to do this as easy as possible.
> -----------------------------------------
> Christian Frantsen
> Technical Operations
> Internoc Scandinavia AB
> Tel: +46-36-194843
> Fax: +46-36-194651
> http://www.internoc.se

<Prev in Thread] Current Thread [Next in Thread>

Archive operated by Skills 1st Ltd

See also: The NetView Web