pnp4nagios/share/pnp/templates.dist/check_jmx4perl_connector_proc_time.php
2017-05-20 15:26:21 +02:00

17 lines
607 B
PHP

<?php
#
# Copyright (c) 2006-2012 Joerg Linge (http://www.pnp4nagios.org)
# Plugin: check_jmx4perl
# Dataset: connector_proc_time
# Perfdata: proc_time=1671.9;40000;50000
#
$opt[1] = "--vertical-label \"s\" --title \"Processing Time $hostname / $servicedesc\" ";
$def[1] = rrd::def("var1a",$RRDFILE[1],$DS[1],"AVERAGE") ;
$def[1] .= rrd::cdef("var1","var1a,1000,/") ;
$def[1] .= rrd::gradient('var1', '#F5F5F5', '#C0C0C0' );
$def[1] .= rrd::line1 ("var1", "#8B0000", $LABEL[1]);
$def[1] .= rrd::gprint("var1", array("LAST","MAX","AVERAGE"), "%6.3lf %ss");
$def[1] .= rrd::comment ("jolokia.org\\r");
?>