mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
# -> / for phpdoc
git-svn-id: http://www.observium.org/svn/observer/trunk@3239 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
@@ -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'])) {
|
||||
|
Reference in New Issue
Block a user