Graph sections must be lower case

This commit is contained in:
Paul Gear
2015-06-13 16:15:03 +10:00
parent 70c415124d
commit 942e5047e5
2 changed files with 2 additions and 2 deletions

View File

@@ -1533,7 +1533,7 @@ $config['graph_types']['device']['siklu_rfinterfaceOtherOctets'] = array(
);
$config['graph_types']['device']['ruckusZD1000-SystemLicensedAPs'] = array(
'section' => 'MIB',
'section' => 'mib',
'order' => '1',
'descr' => 'Licensed APs',
'file' => 'ruckusZD1000-SystemLicensedAPs-0.rrd',

View File

@@ -1044,7 +1044,7 @@ function update_mib_graph_types($mibname, $oids, $mibdef, $graphs)
$graphdef = array();
$graphdef['graph_type'] = "device";
$graphdef['graph_subtype'] = $graphname;
$graphdef['graph_section'] = "MIB";
$graphdef['graph_section'] = "mib";
$graphdef['graph_descr'] = $mibdef[$oid]['description'];
$graphdef['graph_order'] = $i++;
// TODO: add colours, unit_text, and ds