view agent/heapstats.conf.in @ 22:6fec95209844

Bug 1522: Add Java heap alert. reviewed-by: shintak
author Yasumasa Suenaga <suenaga.yasumasa@lab.ntt.co.jp>
date Mon, 19 Aug 2013 10:40:21 +0900
parents e5f7590e8f62
children 8a678cb965cc
line wrap: on
line source

// @PACKAGE_STRING@ configuration file.
attach=true

// Output file setting
file=heapstats_snapshot.dat
heaplogfile=heapstats_log.csv
archivefile=heapstats_analyze.zip
loglevel=INFO
reduce_snapshot=true

// Trigger snapshot setting
trigger_on_fullgc=true
trigger_on_dump=true

// Trigger logging setting
trigger_on_logerror=true
trigger_on_logsignal=true
trigger_on_loglock=true

// Rank setting
rank_level=5
rank_order=delta

// Alert setting
alert_percentage=50

// Alert threshold for java heap usage.
javaheap_alert_percentage=95

// Timer setting
snapshot_interval=0
log_interval=300

first_collect=true
logsignal_normal=
logsignal_all=SIGUSR2
signal_reload=SIGHUP

// Snmp setting
snmp_send=true
snmp_target=localhost
snmp_comname=public

logdir=./tmp
archive_command=/usr/bin/zip %archivefile% -jr %logdir%