New upstream version 0.6.27

This commit is contained in:
geos_one
2025-08-06 18:11:51 +02:00
parent a6b4158f1f
commit 56a986c0ba
563 changed files with 45811 additions and 35282 deletions

View File

@@ -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\" ";