conf/jstat.conf
author Tomas Zeman <tzeman@volny.cz>
Tue, 04 Oct 2011 15:35:58 +0200
changeset 16 8dd31c2c72a5
parent 12 07047572a27b
permissions -rw-r--r--
fs.conf: file.content

# JVM jstat(1) parameters
# Creates jstat(1) statistics
# param $1 - service name
# 	$2 - pid file
UserParameter=jstat.make[*],/usr/local/etc/zabbix/jvm-jstat-make $1 `cat $2`; echo $?

# Obtains jstat(1) value
# param $1 - service name
#	$2 - statistics/option name (like class,compiler,gc etc.)
#	$3 - field number
UserParameter=jstat.get[*],/usr/local/etc/zabbix/jvm-jstat-get $1 $2 $3