From 4c047569a7fb213df74643e7e92d8b82be8f25c8 Mon Sep 17 00:00:00 2001 From: rudson Date: Wed, 15 Nov 2006 23:33:50 +0000 Subject: movendo... git-svn-id: svn+slack://slack.fluxo.info/var/svn/slackbuilds@684 370017ae-e619-0410-ac65-c121f96126d4 --- munin/plugins/icecast | 59 --------------------------------------------------- 1 file changed, 59 deletions(-) delete mode 100644 munin/plugins/icecast (limited to 'munin/plugins/icecast') diff --git a/munin/plugins/icecast b/munin/plugins/icecast deleted file mode 100644 index b5fea517..00000000 --- a/munin/plugins/icecast +++ /dev/null @@ -1,59 +0,0 @@ -#!/bin/bash -# -# icecast munin plugin -# feedback: rhatto at riseup.net | gpl -# -# configuration example: -# -# [icecast] -# env.host localhost -# evn.port 8000 -# env.stats /munin.xsl -# env.lynx /usr/bin/lynx -# -# munin.xsl example: -# -# -# -# -# -# .value,
-#
-#
-#
-# - -if [ -z "$host" ]; then - host="localhost" -fi - -if [ -z "$port" ]; then - port="8000" -fi - -if [ -z "$stats" ]; then - stats="munin.xsl" -fi - -if [ -z "$lynx" ]; then - lynx="/usr/bin/lynx" -fi - -if [ "$1" == "config" ]; then - cat << EOF -graph_title Icecast usage -graph_vlabel Listeners -graph_category other -EOF - -for mount in `$lynx http://$host:$port/$stats -dump | cut -d , -f 1 | sed -e 's/\///g' -e 's/^ //' -e 's/.value//' -e 's/\./_/g' `; do - echo $mount.label $mount -done - -exit 0 -else - - $lynx http://$host:$port/$stats -dump | sed -e 's/,//g' -e 's/\///g' -e 's/^ //' -e 's/\.ogg/_ogg/' - -fi -- cgit v1.2.3