mirror of
https://codeberg.org/mclemens/tsmmonitor2.git
synced 2024-12-22 07:36:38 -05:00
parent
109bbac963
commit
577a78e337
@ -877,11 +877,9 @@ class TSMMonitor {
|
||||
$outp .= $this->renderZebraTableRow($row, $i%2, $col, $color, "");
|
||||
$i++;
|
||||
}
|
||||
}
|
||||
else if ($type == "verticaltable") {
|
||||
} else if ($type == "verticaltable") {
|
||||
$outp = $this->adodb->fetchArrayDB($sql);
|
||||
}
|
||||
else if ($type == "timetable") {
|
||||
} else if ($type == "timetable") {
|
||||
$sqlres = $this->adodb->fetchArrayDB($sql);
|
||||
$outp = array();
|
||||
foreach ($sqlres as $row) {
|
||||
@ -896,8 +894,7 @@ class TSMMonitor {
|
||||
}
|
||||
array_push($outp, $rowarray2);
|
||||
}
|
||||
}
|
||||
else if ($type == "timetable2") {
|
||||
} else if ($type == "timetable2") {
|
||||
$sqlres = $this->adodb->fetchArrayDB($sql);
|
||||
$outp = array();
|
||||
foreach ($sqlres as $row) {
|
||||
@ -1205,7 +1202,7 @@ class TSMMonitor {
|
||||
$out= "<tr align='left'><th>".$header."</th><th>";
|
||||
for ($count = 0; $count <= 24; $count++) {
|
||||
$imagename = strftime("%H", $startpunkt + ($count * 3600));
|
||||
$out .= "<img src='images/".$imagename.".gif' height=20px width=".$pxperHour."px title='".strftime("%H:00 (%D)", $startpunkt+($count*$hour))."' />";
|
||||
$out .= "<img src='images/".$imagename.".gif' height=20px width=".$pxperHour."px title='".strftime("%H:00 (%D)", $startpunkt + ($count * 3600))."' />";
|
||||
}
|
||||
|
||||
$out .= "</th></tr>";
|
||||
|
@ -61,7 +61,8 @@ INSERT INTO `cfg_config` (`id`, `confkey`, `confval`, `description`) VALUES
|
||||
(4, 'path_polldlog', '', 'PollD Logfile Path'),
|
||||
(5, 'loglevel_tm', 'INFO', 'TSM Monitor Log Level'),
|
||||
(6, 'loglevel_polld', 'INFO', 'PollD Log Level'),
|
||||
(7, 'path_dsmadmc', '/usr/bin/dsmadmc', '');
|
||||
(7, 'path_dsmadmc', '', 'dsmadmc Binary Path'),
|
||||
(8, 'path_php', '', 'PHP Binary Path');
|
||||
|
||||
-- --------------------------------------------------------
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user