# -> / for phpdoc

git-svn-id: http://www.observium.org/svn/observer/trunk@3239 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
Adam Amstrong
2012-05-25 11:29:53 +00:00
parent ba28732c3b
commit cacf913a55
235 changed files with 754 additions and 743 deletions

View File

@@ -1,32 +1,32 @@
#!/usr/bin/env php
<?php
########################################################################################
##
## A small script to grab the DNS statistics from a PowerDNS server
## Needed commands: php, pdns_control
##
## Install:
## Add the following to your snmpd.conf file:
## extend powerdns /opt/observium/scripts/powerdns.php
##
## Version 1.0 By:
## All In One - Dennis de Houx <info@all-in-one.be>
##
########################################################################################
///////////////////////////////////////////////////////////////////////////////////////
///
/// A small script to grab the DNS statistics from a PowerDNS server
/// Needed commands: php, pdns_control
///
/// Install:
/// Add the following to your snmpd.conf file:
/// extend powerdns /opt/observium/scripts/powerdns.php
///
/// Version 1.0 By:
/// All In One - Dennis de Houx <info@all-in-one.be>
///
///////////////////////////////////////////////////////////////////////////////////////
#### START SETTINGS ####
/// START SETTINGS ///
$pdnscontrol = "/usr/bin/pdns_control";
#### END SETTINGS ####
/// END SETTINGS ///
##
## DO NOT EDIT BENETH THIS LINE
##
########################################################################################
///
/// DO NOT EDIT BENETH THIS LINE
///
///////////////////////////////////////////////////////////////////////////////////////
$cmd = shell_exec($pdnscontrol." show \*");
$vars = array();