gera83
(Gerardo)
March 13, 2018, 8:17pm
1
Hi guys. This question is for some livestatus expert.
I get my availability reports from Wato --> All hosts --> Availability.
I set “From” and “To”, and that’s it, i get my report.
Columns: Server and %UP.
Can you tell if i can get this from console/livestatus?
Thanks!
Hi Gerardo,
have a look at this:
http://mathias-kettner.de/checkmk_livestatus.html#Host%20and%20Service%20Availability
BR,
Marcel
···
2018-03-13 21:17 GMT+01:00 Gerardo Ferreyra <raptorg83@gmail.com>:
Hi guys. This question is for some livestatus expert.
I get my availability reports from Wato --> All hosts --> Availability.
I set "From" and "To", and that's it, i get my report.
Columns: Server and %UP.
Can you tell if i can get this from console/livestatus?
Thanks!
_______________________________________________
checkmk-en mailing list
checkmk-en@lists.mathias-kettner.de
http://lists.mathias-kettner.de/mailman/listinfo/checkmk-en
gera83
(Gerardo)
March 14, 2018, 9:57pm
3
Hi Marcel.
Question.
What does the availability report considers? PING? Check_MK
service? any other?
I did this:
GET statehist
Columns: host_name service_description state
Filter: host_name = SERVER1
Filter: service_description = PING
Filter: time >= 1514775600
Filter: time < 1517454000
Stats: sum duration_part
I got:
SERVER1;PING;0;9.9828479689e-01
SERVER1;PING;2;1.7152031063e-03
So, 99.83% availability (OK). Down, 0,17%
According to what i saw on views → hosts → all hosts → availability, it seems to be right.
It’s correct?
it’s the idea correct?
Thank you!!
···
2018-03-13 17:53 GMT-03:00 Marcel Schulte schulte.marcel@gmail.com :
Hi Gerardo,
have a look at this:
http://mathias-kettner.de/checkmk_livestatus.html#Host%20and%20Service%20Availability
BR,
Marcel
2018-03-13 21:17 GMT+01:00 Gerardo Ferreyra raptorg83@gmail.com :
Hi guys. This question is for some livestatus expert.
I get my availability reports from Wato → All hosts → Availability.
I set “From” and “To”, and that’s it, i get my report.
Columns: Server and %UP.
Can you tell if i can get this from console/livestatus?
Thanks!
checkmk-en mailing list
checkmk-en@lists.mathias-kettner.de
http://lists.mathias-kettner.de/mailman/listinfo/checkmk-en