diff --git a/html/graph.php b/html/graph.php
index 97e91d86f..dfa1d1f03 100755
--- a/html/graph.php
+++ b/html/graph.php
@@ -1,5 +1,44 @@
\ No newline at end of file
+?>
diff --git a/html/includes/graphs/graph.inc.php b/html/includes/graphs/graph.inc.php
index eecde75f7..f7c4ec916 100644
--- a/html/includes/graphs/graph.inc.php
+++ b/html/includes/graphs/graph.inc.php
@@ -1,33 +1,5 @@
[A-Za-z0-9]+)_(?P RRDTool Command RRDTool Output
");
+ echo("".$rrd_cmd."
"); }
+ if ($debug) { echo($rrd_cmd); }
if (is_file($graphfile))
{
if (!$debug)
diff --git a/html/pages/graphs.inc.php b/html/pages/graphs.inc.php
index ef114ebf2..6b1ff37f0 100644
--- a/html/pages/graphs.inc.php
+++ b/html/pages/graphs.inc.php
@@ -89,6 +89,17 @@ if (!$auth)
echo(generate_link("Hide Legend",$vars, array('page' => "graphs", 'legend' => "no")));
}
+ echo('
"); - echo "command returned $return_value\n"; + echo "command returned $return_value ($data)\n"; echo("
"); } + return $data; + } else { + return 0; } } diff --git a/includes/static-config.php b/includes/static-config.php index 1210384a5..21b94bd83 100644 --- a/includes/static-config.php +++ b/includes/static-config.php @@ -162,7 +162,7 @@ $config['os'][$os]['over'][2]['text'] = "Memory Usage"; $config['os'][$os]['icon'] = "cisco"; $os = "acsw"; -$config['os'][$os]['group'] = "cisco"; +#$config['os'][$os]['group'] = "cisco"; $config['os'][$os]['text'] = "Cisco ACE"; $config['os'][$os]['ifname'] = 1; $config['os'][$os]['type'] = "network"; @@ -492,11 +492,11 @@ $os = "powerware"; $config['os'][$os]['text'] = "Powerware UPS"; $config['os'][$os]['type'] = "power"; $config['os'][$os]['icon'] = "eaton"; -$config['os'][$os]['over'][0]['graph'] = "device_voltages"; -$config['os'][$os]['over'][0]['text'] = "Voltages"; +$config['os'][$os]['over'][0]['graph'] = "device_voltage"; +$config['os'][$os]['over'][0]['text'] = "Voltage"; $config['os'][$os]['over'][1]['graph'] = "device_current"; $config['os'][$os]['over'][1]['text'] = "Current"; -$config['os'][$os]['over'][2]['graph'] = "device_frequencies"; +$config['os'][$os]['over'][2]['graph'] = "device_frequency"; $config['os'][$os]['over'][2]['text'] = "Frequencies"; $os = "deltaups";