Files
librenms-librenms/html/includes/graphs/application/bind_rr_positive.inc.php
VVelox 62a562b39a feature: Updated BIND application (#6218)
* add BIND named poller

* add BIND named graphs

* add BIND stuff

* add the color pallete used by this

* add app support

* white space cleanup

* document the bind stuff

* expand the linux package stuff a bit

* note the agent and zero_stats value

* now include the $mib stuff

* white space cleanup

* whoops, add the update app bit

* correct a error added when merging

* readd copyright info

* note myself in the copyright info
2017-05-03 15:23:33 +01:00

73 lines
1.1 KiB
PHP

<?php
$unitlen = 13;
$bigdescrlen = 9;
$smalldescrlen = 9;
$dostack = 0;
$printtotal = 0;
$unit_text = 'RR sets';
$colours = 'psychedelic';
$rrd_list = array();
$rrd_filename = rrd_name($device['hostname'], array('app', 'bind', $app['app_id'], 'rrpositive'));
$array = array(
'any',
'a',
'aaaa',
'cname',
'mx',
'ns',
'ptr',
'soa',
'srv',
'spf',
'afsdb',
'apl',
'caa',
'cdnskey',
'cds',
'cert',
'dhcid',
'dlv',
'dnskey',
'ds',
'ipseckey',
'key',
'kx',
'loc',
'naptr',
'nsec',
'nsec3',
'nsec3param',
'rrsig',
'rp',
'sig',
'sshfp',
'ta',
'tkey',
'tlsa',
'tsig',
'txt',
'uri',
'dname',
'nxdomain',
'axfr',
'ixfr',
'opt',
);
if (rrdtool_check_rrd_exists($rrd_filename)) {
foreach ($array as $ds) {
$rrd_list[]=array(
'filename' => $rrd_filename,
'descr' => strtoupper($ds),
'ds' => $ds,
);
}
} else {
echo "file missing: $file";
}
require 'includes/graphs/generic_multi_line.inc.php';