algorithm - Creating a formula for calculating device "health" based on uptime/reboots -


I have a few hundred network devices that check in our servers every 10 minutes. Each device has an embedded clock, counting in seconds and reporting the seconds passed on each check on the server. Therefore, the sample data set is shown

  checkinetime runtime 2010-01-01 02: 15: 00.000 101500 2010-01-01 02: 25: 00.000 102100 2010-01-01 02:35: 00.000 102700  

etc.

If the device reboots, when it checks back to the server, it reports a runtime of 0.

Am I trying to define some types of quantitative metrics for the device's "health"?

If a device has rebooted in the last few times but has not rebooted in the last xx days, then it is considered healthy, compared to the device which has a big uptime except for the previous XX days Besides, where it has been repeatedly rebooted, a device that is running for 30 days and has just been rebooted, should not be considered "distressed" in comparison to that device, which is the last 24 hours or last xx days A Has been continuously reboot again.

I have tried several ways to calculate health by using several different metrics: 1. Average # reboot 2. maximum (uptime) 3. average (uptime) 4. last 24 Reboot # 5 # Reboot # Past 3 Days 6. Reboots in the last 7 days 7. Reboot # 7 in the Last 30 Days # 2

Each individual metric is only for one aspect of the device health Compared to other devices, but not as a whole Receive health than the current state of health.

Any ideas will be highly appreciated.

You can do some reliable metrics for Windows 7 - start at full health (say 10) . Every hour / day / checkin cycle, (10 - current health) * Health increment by salary increment) . Every time the server goes down, it decreases a certain percentage.

Therefore, 20% / Accidental Accident and 10% / day increment increment:

  • If any device has rebooted in the last few days If you have not rebooted in the last 20 days, 8.6 will have a health

  • In addition to the past 2 days, Big Uptime is where it

  • is a device Which is going on for 30 days and will be the health of 8 by simply rebooting.

To run through an example:

  • 10 Starting from - Day 1: An accident, new health = current health (10 - current health) * 1 = 10
    Day 2: An accident, new health = current health - present Health * .2 = 8 but still increases every day, then new health = 8 + (10 - 8) *. 1 = 8.2
    Day 3: No accident, new health = 8.4
    day 4: 20 million ash, new health = 5.8


  • Comments

    Popular posts from this blog

    sql - dynamically varied number of conditions in the 'where' statement using LINQ -

    asp.net mvc - Dynamically Generated Ajax.BeginForm -

    Debug on symbian -