per device type hover graphs

git-svn-id: http://www.observium.org/svn/observer/trunk@1263 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
Tom Laermans
2010-06-24 18:04:42 +00:00
parent 8cadc3da9b
commit b2cfd87081
3 changed files with 70 additions and 28 deletions
+32 -1
View File
@@ -97,11 +97,42 @@ if(!$config['graph_colours']['mixed']) {
$device_types = array('server','network','firewall','workstation','printer','power', 'environment');
## Popup graphs
# Default
$popgraph['default'][] = 'device_cpu';
$popgraph['default'][] = 'device_memory';
$popdescr['default'] = "CPU & Memory Usage";
$popgraph['apc'][] = 'device_current';
$popdescr['apc'] = "Current";
$popgraph['mgeups'][] = 'device_current';
$popdescr['mgeups'] = "Current";
$popgraph['dell-laser'][] = 'device_toner';
$popdescr['dell-laser'] = "Toner";
#$popgraph['areca'][] = 'device_';
#$popdescr['areca'] = "";
$popgraph['netmanplus'][] = 'device_current';
$popdescr['netmanplus'] = "Current";
$popgraph['akcp'][] = 'device_temperatures';
$popdescr['akcp'] = "Temperature";
$popgraph['minkelsrms'] = $popgraph['akcp'];
$popdescr['minkelsrms'] = $popdescr['akcp'];
$popgraph['papouch-tme'][] = 'device_temperatures';
$popdescr['papouch-tme'] = "Temperature";
##############################
# No changes below this line #
##############################
$config['version'] = "0.10.6";
$config['version'] = "0.10";
$config['rrd_opts_array'] = explode(" ", trim($config['rrdgraph_def_text']));