Add graph type for MIB-based polling

This commit is contained in:
Paul Gear
2015-06-13 22:55:51 +10:00
parent 7dbb670638
commit d617aaacd0
2 changed files with 40 additions and 2 deletions

View File

@@ -44,8 +44,10 @@ include($config['install_dir'] . "/html/includes/graphs/$type/auth.inc.php");
if ($auth && is_file($config['install_dir'] . "/html/includes/graphs/$type/$subtype.inc.php")) {
include($config['install_dir'] . "/html/includes/graphs/$type/$subtype.inc.php");
}
else
{
elseif ($auth && is_mib_graph($type, $subtype)) {
include($config['install_dir'] . "/html/includes/graphs/$type/mib.inc.php");
}
else {
graph_error("$type*$subtype ");//Graph Template Missing");
}