jstat(1): Agentd configuration
authorTomas Zeman <tzeman@volny.cz>
Mon, 09 May 2011 11:12:18 +0200
changeset 12 07047572a27b
parent 11 ab5293025139
child 13 fd71994b6ce0
jstat(1): Agentd configuration
conf/jstat.conf
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/conf/jstat.conf	Mon May 09 11:12:18 2011 +0200
@@ -0,0 +1,12 @@
+# 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
+