-
Notifications
You must be signed in to change notification settings - Fork 352
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #191 from cburroughs/gmetad-meta-status
"meta" metrics: gmetad status --> gmond --> gmetad
- Loading branch information
Showing
2 changed files
with
509 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
modules { | ||
module { | ||
name = "gmetad_meta_status" | ||
language = "python" | ||
|
||
# Which gmetad instance to monitor | ||
param gmetad_host { | ||
value = "localhost" | ||
} | ||
|
||
# The gmetad interactive port | ||
param gmetad_port { | ||
value = 8652 | ||
} | ||
|
||
# Which metrics to report. choices=['basic-only', 'raw', 'rate', | ||
# 'all'] 'basic' metrics are included in all 'raw' and 'rate'. | ||
param metrics { | ||
value = "all" | ||
} | ||
|
||
# This module calculates all metrics (including derived) rates at | ||
# once and then serves them out of a cache. This determines the | ||
# minimum TTL. | ||
param check_every { | ||
value = 30 | ||
} | ||
# Where to log information from this module (syslog facility) | ||
param syslog_facility { | ||
value = "user" | ||
} | ||
# log level, WARNING is not expected to produce any output | ||
param log_level { | ||
value = "WARNING" | ||
} | ||
} | ||
} | ||
|
||
collection_group { | ||
collect_every = 30 | ||
time_threshold = 60 | ||
|
||
metric { | ||
name_match = "gmetad_meta_status_(.+)" | ||
} | ||
} |
Oops, something went wrong.