21 Jan
2016
21 Jan
'16
3:09 p.m.
Hmm - in -latest.tar.gz there seems to be a reference to
/usr/local/www/observium/html/includes/graphs/sensor/capacity.inc.php
from
/usr/local/www/observium-latest/html/includes/graphs/graph.inc.php
with
Graph type: sensor, subtype: graph
which is somehow caused by:
includes/graphs/sensor/auth.inc.php
not checking (unlike graph.inc.php) if such an include exists.
So I wonder if that auth.inc should become:
{ if ($subtype == 'graph') { // Fix generic subtype $subtype = $sensor['sensor_class']; $possible_inc = $config['html_dir'] . "/includes/graphs/$type/$subtype.inc.php"; if (is_file($possible_inc)) { $graph_include = $possible_inc; }; }
Dw.