aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/plugin/powerdns.php
blob: d83d67b6f975ee39bd804afb4b528cd67a3432f8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
<?php

# Collectd PowerDNS plugin

require_once 'conf/common.inc.php';
require_once 'type/Default.class.php';


$obj = new Type_Default($CONFIG, $_GET);

$obj->rrd_title = sprintf('PowerDNS %s (%s)', $obj->args['type'], $obj->args['pinstance']);
$obj->rrd_format = '%5.1lf%s';

$obj->rrd_graph();