mirror of
https://github.com/munin-monitoring/contrib.git
synced 2025-07-21 18:41:03 +00:00
Whitespace cleanup
* remove trailing whitespace * remove empty lines at the end of files
This commit is contained in:
parent
ef851f0c34
commit
17f784270a
604 changed files with 2927 additions and 2945 deletions
|
@ -50,7 +50,7 @@ pw = "yourpassword"
|
|||
#exclude = ("123.123.123.123",)
|
||||
exclude = ()
|
||||
|
||||
# Exclude these sources from calculation. This is useful to excluse special sources like
|
||||
# Exclude these sources from calculation. This is useful to excluse special sources like
|
||||
# fallback sources which doesn't expose the same informations and then break this script
|
||||
# Ever add fallback sources to this list
|
||||
#source_exclude = ["/fallback.mp3", "/fallback.ogg"]
|
||||
|
@ -141,7 +141,7 @@ except IndexError:
|
|||
if plugin_name == "icecast_uptime":
|
||||
for s in sources:
|
||||
print "%s.value %s" % (s["mount"].strip("/").replace(".","_").replace("-","_"), int(s["connected"]) / 3600.)
|
||||
|
||||
|
||||
elif plugin_name == "icecast_traffic":
|
||||
f = opener.open("http://%s/admin/stats.xml" % server)
|
||||
tree = ElementTree()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue