%s'."\n", $host);
$plugins = collectd_plugins($host);
if(!$plugins) {
echo "Unknown host\n";
return false;
}
plugins_list($host, $selected_plugins);
echo '
';
foreach ($selected_plugins as $selected_plugin) {
if (in_array($selected_plugin, $plugins)) {
plugin_header($host, $selected_plugin);
graphs_from_plugin($host, $selected_plugin);
}
}
echo '
';
html_end();
?>