Discover Packages
github.com/miha-pavel/db_size
RodinUA
metricbeat
module
ceph
monitor_health
package
Version:
v0.0.0-...-be347a3
Opens a new window with list of versions in this module.
Published: Nov 6, 2019
License: Apache-2.0
Opens a new window with license information.
Imports: 7
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
type Health struct {
HealthServices []HealthServices `json:"health_services"`
}
type HealthRequest struct {
Status string `json:"status"`
Output Output `json:"output"`
}
type HealthServices struct {
Mons []Mon `json:"mons"`
}
Fetch methods implements the data gathering and data conversion to the right
format. It publishes the event which is then forwarded to the output. In case
of an error set the Error field of mb.Event or simply call report.Error().
type Mon struct {
LastUpdated Tick `json:"last_updated"`
Name string `json:"name"`
AvailPercent int64 `json:"avail_percent"`
KbTotal int64 `json:"kb_total"`
KbAvail int64 `json:"kb_avail"`
Health string `json:"health"`
KbUsed int64 `json:"kb_used"`
StoreStats StoreStats `json:"store_stats"`
}
type Output struct {
OverallStatus string `json:"overall_status"`
Timechecks Timecheck `json:"timechecks"`
Health Health `json:"health"`
}
type StoreStats struct {
BytesTotal int64 `json:"bytes_total"`
BytesLog int64 `json:"bytes_log"`
LastUpdated string `json:"last_updated"`
BytesMisc int64 `json:"bytes_misc"`
BytesSSt int64 `json:"bytes_sst"`
}
type Timecheck struct {
RoundStatus string `json:"round_status"`
Epoch int64 `json:"epoch"`
Round int64 `json:"round"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.