# -> / 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,36 +1,36 @@
#!/usr/bin/env php
<?php
########################################################################################
##
## A small script to grab the realtime statistics from a ShoutCast server
## Needed commands: php
##
## Install:
## Edit the shoutcast.conf file
## Add a crontab (every 5 min) for:
## /opt/observium/scripts/shoutcast.php makeCache
## Add the following to your snmpd.conf file:
## extend shoutcast /opt/observium/scripts/shoutcast.php
##
## Version 1.1 By:
## All In One - Dennis de Houx <info@all-in-one.be>
##
########################################################################################
///////////////////////////////////////////////////////////////////////////////////////
///
/// A small script to grab the realtime statistics from a ShoutCast server
/// Needed commands: php
///
/// Install:
/// Edit the shoutcast.conf file
/// Add a crontab (every 5 min) for:
/// /opt/observium/scripts/shoutcast.php makeCache
/// Add the following to your snmpd.conf file:
/// extend shoutcast /opt/observium/scripts/shoutcast.php
///
/// Version 1.1 By:
/// All In One - Dennis de Houx <info@all-in-one.be>
///
///////////////////////////////////////////////////////////////////////////////////////
#### START SETTINGS ####
/// START SETTINGS ///
$config = "/opt/observium/scripts/shoutcast.conf";
$cache = "/opt/observium/scripts/shoutcast.cache";
#### END SETTINGS ####
/// END SETTINGS ///
##
## DO NOT EDIT BENETH THIS LINE
##
########################################################################################
///
/// DO NOT EDIT BENETH THIS LINE
///
///////////////////////////////////////////////////////////////////////////////////////
/* Do NOT run this script through a web browser */
if (!isset($_SERVER["argv"][0]) || isset($_SERVER['REQUEST_METHOD']) || isset($_SERVER['REMOTE_ADDR'])) {