mirror of
https://github.com/stylersnico/librenms.git
synced 2026-08-02 00:32:09 +02:00
Remove manual graph_type definition; call db load instead
This commit is contained in:
@@ -1176,6 +1176,8 @@ foreach ($config['os'] as $this_os => $blah)
|
|||||||
|
|
||||||
// Graph Types
|
// Graph Types
|
||||||
|
|
||||||
|
include_once($config['install_dir'] . "/includes/load_db_graph_types.inc.php");
|
||||||
|
|
||||||
|
|
||||||
// Device - Wireless - AirMAX
|
// Device - Wireless - AirMAX
|
||||||
$config['graph_types']['device']['ubnt_airmax_WlStatStaCount'] = array(
|
$config['graph_types']['device']['ubnt_airmax_WlStatStaCount'] = array(
|
||||||
@@ -1532,18 +1534,6 @@ $config['graph_types']['device']['siklu_rfinterfaceOtherOctets'] = array(
|
|||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
|
||||||
$config['graph_types']['device']['ruckusZD1000-SystemLicensedAPs'] = array(
|
|
||||||
'section' => 'mib',
|
|
||||||
'order' => '1',
|
|
||||||
'descr' => 'Licensed APs',
|
|
||||||
'file' => 'ruckusZD1000-SystemLicensedAPs-0.rrd',
|
|
||||||
'colours' => 'reds',
|
|
||||||
'unit_text' => 'Number',
|
|
||||||
'ds' => array(
|
|
||||||
'SystemLicensedAPs' => array('label' => 'LicensedAPs', 'draw' => 'LINE', 'line' => TRUE)
|
|
||||||
)
|
|
||||||
);
|
|
||||||
|
|
||||||
$config['graph_types']['device']['wifi_clients']['section'] = 'wireless';
|
$config['graph_types']['device']['wifi_clients']['section'] = 'wireless';
|
||||||
$config['graph_types']['device']['wifi_clients']['order'] = '0';
|
$config['graph_types']['device']['wifi_clients']['order'] = '0';
|
||||||
$config['graph_types']['device']['wifi_clients']['descr'] = 'Wireless Clients';
|
$config['graph_types']['device']['wifi_clients']['descr'] = 'Wireless Clients';
|
||||||
|
|||||||
Reference in New Issue
Block a user