[Observium] /usr/local/www/observium/html/includes/graphs/sensor/capacity.inc.php
![](https://secure.gravatar.com/avatar/1280ab8004c08ad36f83942837b1423e.jpg?s=120&d=mm&r=g)
21 Jan
2016
21 Jan
'16
10: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.
3304
Age (days ago)
3304
Last active (days ago)
0 comments
1 participants
participants (1)
-
Dirk-Willem van Gulik