54 lines
1.9 KiB
Plaintext
54 lines
1.9 KiB
Plaintext
/* Licensed to the Apache Software Foundation (ASF) under one
|
|
or more contributor license agreements. See the NOTICE file
|
|
distributed with this work for additional information
|
|
regarding copyright ownership. The ASF licenses this file
|
|
to you under the Apache License, Version 2.0 (the
|
|
"License"); you may not use this file except in compliance
|
|
with the License. You may obtain a copy of the License at
|
|
|
|
http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
Unless required by applicable law or agreed to in writing, software
|
|
distributed under the License is distributed on an "AS IS" BASIS,
|
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
See the License for the specific language governing permissions and
|
|
limitations under the License. */
|
|
|
|
/* Update /etc/ganglia/gmond.conf with the content of this file. */
|
|
|
|
/* ATTENTION: Change the host and the port to meet your setup. */
|
|
|
|
modules {
|
|
module {
|
|
name = "zookeeper_ganglia"
|
|
language = "python"
|
|
param host { value = "127.0.0.1" }
|
|
param port { value = 2181 }
|
|
}
|
|
}
|
|
|
|
collection_group {
|
|
collect_every = 20
|
|
time_threshold = 60
|
|
metric { name = "zk_avg_latency" }
|
|
metric { name = "zk_max_latency" }
|
|
metric { name = "zk_min_latency" }
|
|
metric { name = "zk_packets_received" }
|
|
metric { name = "zk_packets_sent" }
|
|
metric { name = "zk_num_alive_connections" }
|
|
metric { name = "zk_outstanding_requests" }
|
|
metric { name = "zk_znode_count" }
|
|
metric { name = "zk_watch_count" }
|
|
metric { name = "zk_ephemerals_count" }
|
|
metric { name = "zk_approximate_data_size" }
|
|
metric { name = "zk_open_file_descriptor_count" }
|
|
metric { name = "zk_max_file_descriptor_count" }
|
|
metric { name = "zk_followers" }
|
|
metric { name = "zk_synced_followers" }
|
|
metric { name = "zk_pending_syncs" }
|
|
metric { name = "zk_last_proposal_size" }
|
|
metric { name = "zk_min_proposal_size" }
|
|
metric { name = "zk_max_proposal_size" }
|
|
}
|
|
|