# -> / 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
+19 -19
View File
@@ -1,22 +1,22 @@
#!/usr/bin/env php
<?php
########################################################################################
##
## A small script to grab the NTPD Server statistics from a NTPD server
## Needed commands: php, ntpd, ntpq, ntpdc
##
## Install:
## Add the following to your snmpd.conf file:
## extend ntpdserver /opt/observium/scripts/ntpd-server.php
##
## Version 1.1 By:
## All In One - Dennis de Houx <info@all-in-one.be>
##
########################################################################################
///////////////////////////////////////////////////////////////////////////////////////
///
/// A small script to grab the NTPD Server statistics from a NTPD server
/// Needed commands: php, ntpd, ntpq, ntpdc
///
/// Install:
/// Add the following to your snmpd.conf file:
/// extend ntpdserver /opt/observium/scripts/ntpd-server.php
///
/// Version 1.1 By:
/// All In One - Dennis de Houx <info@all-in-one.be>
///
///////////////////////////////////////////////////////////////////////////////////////
#### START SETTINGS ####
/// START SETTINGS ///
$ntpq = "/usr/sbin/ntpq";
$ntpdc = "/usr/sbin/ntpdc";
@@ -24,13 +24,13 @@
# Change this to true if you have clk_jitter, sys_jitter in the ntpq -c rv output
$newstats_style = false;
#### END SETTINGS ####
/// END SETTINGS ///
##
## DO NOT EDIT BENETH THIS LINE
##
########################################################################################
///
/// DO NOT EDIT BENETH THIS LINE
///
///////////////////////////////////////////////////////////////////////////////////////
$cmd = shell_exec($ntpq." -c rv");
$cmd2 = shell_exec($ntpdc." -c iostats");