Skip to content

Instantly share code, notes, and snippets.

@remh
Created August 29, 2013 17:02
Show Gist options
  • Save remh/6380707 to your computer and use it in GitHub Desktop.
Save remh/6380707 to your computer and use it in GitHub Desktop.
Activemq check configuration file for activemq 5.8.0
instances:
- host: localhost
port: 1099
# user: username
# password: password
name: localhost
# java_bin_path: /usr/bin/java
# List of metrics to be collected by the integration
# You should not have to modify this.
init_config:
conf:
- include:
destinationType: Queue
attribute:
AverageEnqueueTime:
alias: activemq.queue.avg_enqueue_time
metric_type: gauge
ConsumerCount:
alias: activemq.queue.consumer_count
metric_type: gauge
ProducerCount:
alias: activemq.queue.producer_count
metric_type: gauge
MaxEnqueueTime:
alias: activemq.queue.max_enqueue_time
metric_type: gauge
MinEnqueueTime:
alias: activemq.queue.min_enqueue_time
metric_type: gauge
MemoryPercentUsage:
alias: activemq.queue.memory_pct
metric_type: gauge
QueueSize:
alias: activemq.queue.size
metric_type: gauge
DequeueCount:
alias: activemq.queue.dequeue_count
metric_type: counter
DispatchCount:
alias: activemq.queue.dispatch_count
metric_type: counter
EnqueueCount:
alias: activemq.queue.enqueue_count
metric_type: counter
ExpiredCount:
alias: activemq.queue.expired_count
type: counter
InFlightCount:
alias: activemq.queue.in_flight_count
metric_type: counter
- include:
type: Broker
attribute:
StorePercentUsage:
alias: activemq.broker.store_pct
metric_type: gauge
TempPercentUsage:
alias: activemq.broker.temp_pct
metric_type: gauge
MemoryPercentUsage:
alias: activemq.broker.memory_pct
metric_type: gauge
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment