execute($allargs); return ($url . $g->settings2url()); } function print_index_url($new_args) { global $args; $url = 'index.php?'; if ($args) { $url.=$args.'&'; } $url .= sprintf("%s", $new_args); print $url; } ?> mon statistics
[mon]
read()) { if ($machine != '.' && $machine != '..' && is_dir($mon2web["tree"]."/".$machine)) { print ' '; } } ?>
'. $machine . '   
read()) { if ($machine != '.' && $machine != '..' && is_dir($mon2web["tree"]."/".$machine)) { print ' '; $machine_dir = dir($mon2web["tree"]."/".$machine); while ($filename = $machine_dir->read()) { $file = $mon2web["tree"]."/".$machine."/".$filename; if (is_file($file) && preg_match("/^(cpu|if|io|mem)(_([a-z]+))?([0-9]?).rrd$/", $filename, $match)) { $rrdtype = $match[1]; $rrdwhat = $match[3]; $rrdwhich = $match[4]; $cmd = make_graph_url($rrdtype, "rrdfile=".$file. "&name=".$rrdtype.$rrdwhat.$rrdwhich); print ''."\n"; } } print ' '; } } ?>