Hello,
We would like to know how's the computation in Availability Report derived.
What's the computation on the percentage of a host/service Up, Down, Unreacheable.
Let say the period is a month (Jan2020) to a specific host?
See sample host and its services attached.
Thanks!
How to know the Uptime Computation
-
jessamineenriquez
- Posts: 1
- Joined: Mon Feb 24, 2020 8:45 am
How to know the Uptime Computation
You do not have the required permissions to view the files attached to this post.
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: How to know the Uptime Computation
Welcome to the forum!
The short answer is Nagios looks at the nagios.log and the archived log files and parses all of the lines to determine the amount of time the host/services spent in each state.
The long answer resides in this 5369 line CGI file from Nagios COre which is used for the calculations
https://github.com/NagiosEnterprises/na ... gi/avail.c
The short answer is Nagios looks at the nagios.log and the archived log files and parses all of the lines to determine the amount of time the host/services spent in each state.
The long answer resides in this 5369 line CGI file from Nagios COre which is used for the calculations
https://github.com/NagiosEnterprises/na ... gi/avail.c