datadir = $CONFIG['datadir']; $obj->args = array( 'host' => $host, 'plugin' => $plugin, 'pinstance' => $pinstance, 'type' => $type, 'tinstance' => $tinstance, ); $obj->data_sources = array('value'); $obj->ds_names = NULL; $obj->colors = NULL; $obj->width = $width; $obj->heigth = $heigth; $obj->seconds = $seconds; $obj->rrd_title = "Interrupts on $host"; $obj->rrd_vertical = 'IRQs/s'; $obj->rrd_format = '%6.1lf'; collectd_flush(ident_from_args($obj->args)); $obj->rrd_graph(); ?>