Find Uptime Average

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
rlinux57
Posts: 324
Joined: Mon Dec 08, 2014 12:03 am

Find Uptime Average

Post by rlinux57 »

Kindly let me know the method to find uptime average of server, i have configured nagiosgraph with NMS core. I have attached the screenshot i didn't understand to find out the average method of nagiosgraph.
Attachments
graph.png
User avatar
nozlaf
Posts: 172
Joined: Sun Nov 09, 2014 9:50 pm
Location: Victoria, Australia

Re: Find Uptime Average

Post by nozlaf »

So the graph is showing the average of the value which you are graphing at the start of the month uptime was at 213.78k ene od the month it was 264.86k it summs every value then divides it by the total number of values, this is how averages are devised

what you are asking for is a bit strange, the average uptime is not something I would expect someone to want as each time nagios checks to read the value of uptime it has increased, so if you are looking at uptime over a month and the server has not shut down you will see an increase of 43800 minutes over the month each time it is read.

so you would more likely want to know percentage of availability e.g. I typically report on system xyz was avaliable for 100% of the period, as we have a SLA with the business to delvier 99.95% uptime

this is easily produced with nagios by using the built in availability report which can be accessed via the menu on the left of the screen

I have attached a copy of the report from my test system
Attachments
example of the report screen
example of the report screen
Looking forward to seeing you all at #NagiosCon2019?
-Dedicated Lover of Nconf,PNP4Nagios and Nagvis
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Find Uptime Average

Post by lmiltchev »

Thanks, for the help nozlaf!
Be sure to check out our Knowledgebase for helpful articles and solutions!
rlinux57
Posts: 324
Joined: Mon Dec 08, 2014 12:03 am

Re: Find Uptime Average

Post by rlinux57 »

What does 213.78k 'k' represents ?
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: Find Uptime Average

Post by rkennedy »

I assume it correlates with the graph you posted - what host / service check is running to monitor it?
Former Nagios Employee
Locked