mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Merge pull request #1229 from SaaldjorMike/devices-load
Add additional graphs to devices page
This commit is contained in:
@ -37,12 +37,15 @@ foreach ($menu_options as $option => $text)
|
||||
|
||||
<?php
|
||||
|
||||
$menu_options = array('bits' => 'Bits',
|
||||
'processor' => 'CPU',
|
||||
'mempool' => 'Memory',
|
||||
'uptime' => 'Uptime',
|
||||
'storage' => 'Storage',
|
||||
'diskio' => 'Disk I/O'
|
||||
$menu_options = array('bits' => 'Bits',
|
||||
'processor' => 'CPU',
|
||||
'ucd_load' => 'Load',
|
||||
'mempool' => 'Memory',
|
||||
'uptime' => 'Uptime',
|
||||
'storage' => 'Storage',
|
||||
'diskio' => 'Disk I/O',
|
||||
'poller_perf' => 'Poller',
|
||||
'ping_perf' => 'Ping'
|
||||
);
|
||||
$sep = "";
|
||||
foreach ($menu_options as $option => $text)
|
||||
@ -89,7 +92,7 @@ print_optionbar_end();
|
||||
|
||||
<?php
|
||||
|
||||
list($format, $subformat) = explode("_", $vars['format']);
|
||||
list($format, $subformat) = explode("_", $vars['format'], 2);
|
||||
|
||||
if($format == "graph")
|
||||
{
|
||||
|
Reference in New Issue
Block a user