New upstream version 0.6.27
This commit is contained in:
@@ -1,19 +1,28 @@
|
||||
<?php
|
||||
|
||||
#
|
||||
# This is a very basic static Template
|
||||
#
|
||||
if (!is_array($ds_name)) {
|
||||
$ds_name = [];
|
||||
}
|
||||
if (!is_arry($opt)) {
|
||||
$opt = [];
|
||||
}
|
||||
if (!is_array($def)) {
|
||||
$def = [];
|
||||
}
|
||||
#
|
||||
# Some Macros
|
||||
$this->MACRO['TITLE'] = "All Ping Times for Cluster Nodes";
|
||||
# Some Macros
|
||||
$this->MACRO['TITLE'] = "All Ping Times for Cluster Nodes";
|
||||
$this->MACRO['COMMENT'] = "This is a comment";
|
||||
|
||||
#
|
||||
# The Name of this Datasource (ds)
|
||||
$ds_name[0] = "RTA Times";
|
||||
$ds_name[0] = "RTA Times";
|
||||
|
||||
$opt[0] = "--title \"Graph Title\" ";
|
||||
$def[0] = "DEF:var1=/usr/local/pnp4nagios/var/perfdata/node1/_HOST_.rrd:1:AVERAGE ";
|
||||
$def[0] .= "DEF:var2=/usr/local/pnp4nagios/var/perfdata/node2/_HOST_.rrd:1:AVERAGE ";
|
||||
$def[0] .= "LINE1:var1".rrd::color(1).":\"Localhost \\n\" ";
|
||||
$def[0] .= "LINE1:var2".rrd::color(2).":\"Node1 \\n\" ";
|
||||
?>
|
||||
$def[0] .= "LINE1:var1" . rrd::color(1) . ":\"Localhost \\n\" ";
|
||||
$def[0] .= "LINE1:var2" . rrd::color(2) . ":\"Node1 \\n\" ";
|
||||
|
||||
Reference in New Issue
Block a user