Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- leastcount=5min
- cron */5min uptime | calculate.sh
- cron */day push_metrics.sh
- calculate.sh:
- if prev_value > next_value:
- outage+=leastcount
- push_metrics.sh
- percent = 1 - (outage / 24hours)
Advertisement
Add Comment
Please, Sign In to add comment