Imported Upstream version 0.6.24+dfsg1
This commit is contained in:
15
share/pnp/templates.dist/check_oracle_connection-time.php
Normal file
15
share/pnp/templates.dist/check_oracle_connection-time.php
Normal file
@@ -0,0 +1,15 @@
|
||||
<?php
|
||||
#
|
||||
# Copyright (c) 2006-2010 Joerg Linge (http://www.pnp4nagios.org)
|
||||
#
|
||||
|
||||
$opt[1] = "--vertical-label \"Connection Time\" --watermark=\"created by PNP4Nagios\" --title \"Connection Time $hostname / $servicedesc\" ";
|
||||
|
||||
|
||||
$def[1] = "DEF:var1=$RRDFILE[1]:$DS[1]:AVERAGE " ;
|
||||
$def[1] .= "AREA:var1#F2F2F2:\"\" " ;
|
||||
$def[1] .= "LINE1:var1#F30000:\"Connection Time\" " ;
|
||||
$def[1] .= "GPRINT:var1:LAST:\"%3.2lf %Ss LAST \" ";
|
||||
$def[1] .= "GPRINT:var1:MAX:\"%3.2lf %Ss MAX \" ";
|
||||
$def[1] .= "GPRINT:var1:AVERAGE:\"%3.2lf %Ss AVERAGE \" ";
|
||||
?>
|
||||
Reference in New Issue
Block a user