« %s'."\n", $CONFIG['weburl'], $host);
$plugins = collectd_plugins($host);
if(!$plugins) {
	echo "Unknown host\n";
	return false;
}
# first the ones defined in overview
foreach($CONFIG['overview'] as $plugin) {
	if (in_array($plugin, $plugins)) {
		printf("[-] %s
\n", $plugin);
		graphs_from_plugin($host, $plugin);
	}
}
# other plugins
foreach($plugins as $plugin) {
	if (!in_array($plugin, $CONFIG['overview'])) {
		$url = sprintf('%s'."\n", $CONFIG['weburl'], $host, $plugin, $plugin);
		if ($splugin == $plugin) {
			printf("[-] %s
\n", $url);
			graphs_from_plugin($host, $plugin);
		} else {
			printf("[+] %s
\n", $url);
		}
	}
}
html_end();
?>