-
-
Save dch/f9d53d63c2417742d647d064970c067d to your computer and use it in GitHub Desktop.
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
# vim: filetype=config | |
Hostname "i09" | |
FQDNLookup false | |
AutoLoadPlugin false | |
CollectInternalStats true | |
Interval 10 | |
ReadThreads 10 | |
WriteThreads 10 | |
LoadPlugin uptime | |
LoadPlugin curl | |
LoadPlugin threshold | |
LoadPlugin logfile | |
<Plugin logfile> | |
LogLevel info | |
File STDERR | |
Timestamp true | |
PrintSeverity true | |
</Plugin> | |
################################################################################ | |
<Plugin curl> | |
<Page "couchdb_c01"> | |
URL "http://c01.skunkwerks.at:5984/_up" | |
Timeout 500 | |
MeasureResponseCode true | |
</Page> | |
<Page "couchdb_c02"> | |
URL "http://c02.skunkwerks.at:5984/_up" | |
Timeout 500 | |
MeasureResponseCode true | |
</Page> | |
<Page "couchdb_c03"> | |
URL "http://c03.skunkwerks.at:5984/_up" | |
Timeout 500 | |
MeasureResponseCode true | |
</Page> | |
</Plugin> | |
# Load required matches: | |
# LoadPlugin match_empty_counter | |
# LoadPlugin match_hashed | |
# LoadPlugin match_regex | |
# LoadPlugin match_value | |
# LoadPlugin match_timediff | |
LoadPlugin target_notification | |
LoadPlugin threshold | |
<Plugin "threshold"> | |
<Plugin "curl"> | |
Instance "couchdb_c01" | |
<Type "response_code"> | |
FailureMin 200 | |
FailureMax 299 | |
Persist true | |
PersistOK true | |
</Type> | |
Instance "couchdb_c02" | |
<Type "response_code"> | |
FailureMin 200 | |
FailureMax 299 | |
Persist true | |
PersistOK true | |
</Type> | |
Instance "couchdb_c03" | |
<Type "response_code"> | |
FailureMin 200 | |
FailureMax 299 | |
Persist true | |
PersistOK true | |
</Type> | |
</Plugin> | |
</Plugin> |
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
option = Hostname; value = i09; | |
option = FQDNLookup; value = false; | |
option = AutoLoadPlugin; value = false; | |
option = CollectInternalStats; value = true; | |
option = Interval; value = 10.000000; | |
option = ReadThreads; value = 10.000000; | |
option = WriteThreads; value = 10.000000; | |
Created new plugin context. | |
plugin_load: plugin "uptime" successfully loaded. | |
plugin_load: plugin "curl" successfully loaded. | |
plugin_load: plugin "threshold" successfully loaded. | |
[2019-01-20 12:06:51] plugin_load: plugin "logfile" successfully loaded. | |
[2019-01-20 12:06:51] type = logfile, key = LogLevel, value = info | |
[2019-01-20 12:06:51] [info] plugin_load: plugin "target_notification" successfully loaded. | |
[2019-01-20 12:06:51] [info] Initialization complete, entering read-loop. | |
[2019-01-20 12:06:52] [info] Notification: severity = OKAY, host = i09, plugin = curl, plugin_instance = couchdb_c01, type = response_code, message = Host i09, plugin curl (instance couchdb_c01) type response_code: All data sources are within range again. Current value of "value" is 200.000000. | |
[2019-01-20 12:06:52] [info] Notification: severity = OKAY, host = i09, plugin = curl, plugin_instance = couchdb_c02, type = response_code, message = Host i09, plugin curl (instance couchdb_c02) type response_code: All data sources are within range again. Current value of "value" is 200.000000. | |
[2019-01-20 12:06:52] [info] Notification: severity = OKAY, host = i09, plugin = curl, plugin_instance = couchdb_c03, type = response_code, message = Host i09, plugin curl (instance couchdb_c03) type response_code: All data sources are within range again. Current value of "value" is 200.000000. | |
[2019-01-20 12:07:02] [info] Notification: severity = OKAY, host = i09, plugin = curl, plugin_instance = couchdb_c01, type = response_code, message = Host i09, plugin curl (instance couchdb_c01) type response_code: All data sources are within range again. Current value of "value" is 200.000000. | |
[2019-01-20 12:07:02] [info] Notification: severity = OKAY, host = i09, plugin = curl, plugin_instance = couchdb_c02, type = response_code, message = Host i09, plugin curl (instance couchdb_c02) type response_code: All data sources are within range again. Current value of "value" is 200.000000. | |
[2019-01-20 12:07:02] [error] curl plugin: curl_easy_perform failed with status 28: Connection timed out after 512 milliseconds | |
[2019-01-20 12:07:11] [info] Notification: severity = OKAY, host = i09, plugin = curl, plugin_instance = couchdb_c01, type = response_code, message = Host i09, plugin curl (instance couchdb_c01) type response_code: All data sources are within range again. Current value of "value" is 200.000000. | |
[2019-01-20 12:07:12] [info] Notification: severity = OKAY, host = i09, plugin = curl, plugin_instance = couchdb_c02, type = response_code, message = Host i09, plugin curl (instance couchdb_c02) type response_code: All data sources are within range again. Current value of "value" is 200.000000. | |
[2019-01-20 12:07:12] [error] curl plugin: curl_easy_perform failed with status 28: Connection timed out after 515 milliseconds | |
[2019-01-20 12:07:21] [info] Notification: severity = FAILURE, host = i09, plugin = curl, plugin_instance = couchdb_c03, type = response_code, message = i09/curl-couchdb_c03/response_code has not been updated for 29.474 seconds. | |
[2019-01-20 12:07:21] [info] Notification: severity = OKAY, host = i09, plugin = curl, plugin_instance = couchdb_c01, type = response_code, message = Host i09, plugin curl (instance couchdb_c01) type response_code: All data sources are within range again. Current value of "value" is 200.000000. | |
[2019-01-20 12:07:22] [info] Notification: severity = OKAY, host = i09, plugin = curl, plugin_instance = couchdb_c02, type = response_code, message = Host i09, plugin curl (instance couchdb_c02) type response_code: All data sources are within range again. Current value of "value" is 200.000000. | |
[2019-01-20 12:07:22] [error] curl plugin: curl_easy_perform failed with status 28: Connection timed out after 519 milliseconds | |
[2019-01-20 12:07:31] [info] Notification: severity = OKAY, host = i09, plugin = curl, plugin_instance = couchdb_c01, type = response_code, message = Host i09, plugin curl (instance couchdb_c01) type response_code: All data sources are within range again. Current value of "value" is 200.000000. | |
[2019-01-20 12:07:32] [info] Notification: severity = OKAY, host = i09, plugin = curl, plugin_instance = couchdb_c02, type = response_code, message = Host i09, plugin curl (instance couchdb_c02) type response_code: All data sources are within range again. Current value of "value" is 200.000000. | |
[2019-01-20 12:07:32] [error] curl plugin: curl_easy_perform failed with status 28: Connection timed out after 528 milliseconds | |
[2019-01-20 12:07:41] [info] Notification: severity = OKAY, host = i09, plugin = curl, plugin_instance = couchdb_c01, type = response_code, message = Host i09, plugin curl (instance couchdb_c01) type response_code: All data sources are within range again. Current value of "value" is 200.000000. | |
[2019-01-20 12:07:42] [info] Notification: severity = OKAY, host = i09, plugin = curl, plugin_instance = couchdb_c02, type = response_code, message = Host i09, plugin curl (instance couchdb_c02) type response_code: All data sources are within range again. Current value of "value" is 200.000000. | |
[2019-01-20 12:07:42] [error] curl plugin: curl_easy_perform failed with status 28: Connection timed out after 513 milliseconds | |
[2019-01-20 12:07:51] [info] Notification: severity = OKAY, host = i09, plugin = curl, plugin_instance = couchdb_c01, type = response_code, message = Host i09, plugin curl (instance couchdb_c01) type response_code: All data sources are within range again. Current value of "value" is 200.000000. | |
[2019-01-20 12:07:52] [info] Notification: severity = OKAY, host = i09, plugin = curl, plugin_instance = couchdb_c02, type = response_code, message = Host i09, plugin curl (instance couchdb_c02) type response_code: All data sources are within range again. Current value of "value" is 200.000000. | |
[2019-01-20 12:07:52] [info] Notification: severity = OKAY, host = i09, plugin = curl, plugin_instance = couchdb_c03, type = response_code, message = Host i09, plugin curl (instance couchdb_c03) type response_code: All data sources are within range again. Current value of "value" is 200.000000. | |
[2019-01-20 12:08:02] [info] Notification: severity = OKAY, host = i09, plugin = curl, plugin_instance = couchdb_c01, type = response_code, message = Host i09, plugin curl (instance couchdb_c01) type response_code: All data sources are within range again. Current value of "value" is 200.000000. | |
[2019-01-20 12:08:02] [info] Notification: severity = OKAY, host = i09, plugin = curl, plugin_instance = couchdb_c02, type = response_code, message = Host i09, plugin curl (instance couchdb_c02) type response_code: All data sources are within range again. Current value of "value" is 200.000000. | |
[2019-01-20 12:08:02] [info] Notification: severity = OKAY, host = i09, plugin = curl, plugin_instance = couchdb_c03, type = response_code, message = Host i09, plugin curl (instance couchdb_c03) type response_code: All data sources are within range again. Current value of "value" is 200.000000. | |
^C[2019-01-20 12:08:02] [info] Exiting normally. | |
[2019-01-20 12:08:02] [info] collectd: Stopping 10 read threads. | |
[2019-01-20 12:08:02] [info] collectd: Stopping 10 write threads. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment