avail.cgi units?
Posted: Tue Jun 18, 2019 4:22 pm
What are the units for TOTAL_TIME_DOWN when using avail.cgi?
Thanks
Steve B
Thanks
Steve B
Support for Nagios products and services
https://support.nagios.com/forum/
Code: Select all
# This is 24x7
TIME="24x7"
export REQUEST_METHOD="GET"
export REMOTE_USER="nagiosadmin"
export QUERY_STRING="host=all&timeperiod=lastmonth&rpttimeperiod=24x7&assumeinitialstates=yes&assumestateretention=yes&assumestatesduringnotrunning=yes&includesoftstates=no&initialassumedhoststate=0&initialassumedservicestate=0&backtrack=4&csvoutput="
/usr/local/nagios/sbin/avail.cgi > ${HOME}/${BASE}-${TIME}.csv
The CSV is how I double checked... I have a fake server I knew was down for a whole day and in the CSV it showed 86400 on a one day custom reportSteveBeauchemin wrote:I'm not looking at a web page... I have a number 190100 in the response, and if that is seconds then someone is in trouble for leaving a system in a bad state for a long time. It wasn't me, I swear...
Still seconds?
50 hours? That can't be right...