Unify shebang for python scripts

This commit is contained in:
Lars Kruse 2020-10-28 23:38:41 +01:00
parent 8542c09283
commit a7139bcaee
42 changed files with 43 additions and 43 deletions

View File

@ -1,4 +1,4 @@
#!/usr/bin/python
#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""

View File

@ -1,4 +1,4 @@
#!/usr/bin/python
#!/usr/bin/env python
"""
Plugin to monitor ArangoDB servers. It works with the new server statistics

View File

@ -1,4 +1,4 @@
#!/usr/bin/python
#!/usr/bin/env python
"""
: << =cut

View File

@ -1,4 +1,4 @@
#!/usr/bin/python3
#!/usr/bin/env python3
'''
=head1 NAME

View File

@ -1,4 +1,4 @@
#!/usr/bin/python
#!/usr/bin/env python
# based on https://github.com/pdbrown/munin-custom/blob/master/plugins/hashrate
# improved by @deveth0 (donation to 1GzHgp9hsDRsf96MnVk2oo6EG1VmWP9jGs :) )
# usage: link to btcguild_hashrate_YOURAPIKEY

View File

@ -1,4 +1,4 @@
#!/usr/bin/python
#!/usr/bin/env python
# based on https://github.com/pdbrown/munin-custom/blob/master/plugins/hashrate
# improved by @deveth0 (donation to 1GzHgp9hsDRsf96MnVk2oo6EG1VmWP9jGs :) )
# usage: set your api key in node-config, eg

View File

@ -1,4 +1,4 @@
#!/usr/bin/python
#!/usr/bin/env python
# based on https://github.com/pdbrown/munin-custom/blob/master/plugins/hashrate
# improved by @deveth0 (donation to 1GzHgp9hsDRsf96MnVk2oo6EG1VmWP9jGs :) )
# usage: set your api key in node-config, eg

View File

@ -1,4 +1,4 @@
#!/usr/bin/python
#!/usr/bin/env python
# Copyright (C) 2009 - 2012 Andreas Thienemann <andreas@bawue.net>
#

View File

@ -1,4 +1,4 @@
#! /usr/bin/python
#!/usr/bin/env python
# -*- coding: iso-8859-1 -*-
import os

View File

@ -1,4 +1,4 @@
#! /usr/bin/python
#!/usr/bin/env python
# -*- coding: iso-8859-1 -*-
"""
This plugin shows the statistics of every source currently connected to the Icecast2 server.

View File

@ -1,4 +1,4 @@
#!/usr/bin/python3
#!/usr/bin/env python3
#
# This plugin shows the statistics of every source currently connected to the Icecast2 server.
# See the Icecast2_ plugin for collecting data of specific mountpoints.

View File

@ -1,4 +1,4 @@
#!/usr/bin/python
#!/usr/bin/env python
# -*- coding: utf-8 -*-
# vim: set fileencoding=utf-8
#

View File

@ -1,4 +1,4 @@
#!/usr/bin/python
#!/usr/bin/env python
# -*- coding: utf-8 -*-
# vim: set fileencoding=utf-8
#

View File

@ -1,4 +1,4 @@
#!/usr/bin/python3
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
# vim: set fileencoding=utf-8
#

View File

@ -1,4 +1,4 @@
#!/usr/bin/python3
#!/usr/bin/env python3
"""
=head1 NAME

View File

@ -1,4 +1,4 @@
#!/usr/bin/python
#!/usr/bin/env python
# Revision 1.0 2008/05/16 - Steven Wagner
# First functional release. Works for me.

View File

@ -1,4 +1,4 @@
#!/usr/bin/python3
#!/usr/bin/env python3
import sys

View File

@ -1,4 +1,4 @@
#!/usr/bin/python3
#!/usr/bin/env python3
import sys

View File

@ -1,4 +1,4 @@
#!/usr/bin/python3
#!/usr/bin/env python3
"""
=head1 NAME

View File

@ -1,4 +1,4 @@
#!/usr/bin/python
#!/usr/bin/env python
#
# Munin Plugin for Murmur/ICE
# written by T. Fernandez

View File

@ -1,4 +1,4 @@
#!/usr/bin/python
#!/usr/bin/env python
#%# family=auto
#%# capabilities=autoconf

View File

@ -1,4 +1,4 @@
#!/usr/bin/python
#!/usr/bin/env python
# shorewall_accounting v1.3
#
# A munin plugin for tracking traffic as recorded by shorewall accounting rules.

View File

@ -1,4 +1,4 @@
#!/usr/bin/python
#!/usr/bin/env python
# shorewall_ v2.0 - 30 Aug 2008 - Tanguy Pruvot <tanguy.pruvot@gmail.com>
#
# A munin plugin for tracking traffic as recorded by shorewall accounting rules
@ -78,4 +78,4 @@ if len(sys.argv) > 1:
sys.exit(0)
for chain, bytes in getBytesByChain():
print "%s.value %i" % (chain, bytes)
print "%s.value %i" % (chain, bytes)

View File

@ -1,4 +1,4 @@
#!/usr/bin/python
#!/usr/bin/env python
# shorewall_accounting
# A munin plugin for tracking traffic as recorded by shorewall accounting rules
# Written by Chris AtLee <chris@atlee.ca>

View File

@ -1,4 +1,4 @@
#!/usr/bin/python
#!/usr/bin/env python
#requires log format as below
#log_format cache '$remote_addr - $host [$time_local] "$request" $status '
# '$body_bytes_sent "$http_referer" '

View File

@ -1,4 +1,4 @@
#!/usr/bin/python
#!/usr/bin/env python
import sys, re
from beanstalk import serverconn, protohandler

View File

@ -1,4 +1,4 @@
#!/usr/bin/python
#!/usr/bin/env python
# Written by Bertrand Grelot
# requires python-beautifulsoup

View File

@ -1,4 +1,4 @@
#!/usr/bin/python3
#!/usr/bin/env python3
"""
=head1 NAME

View File

@ -1,4 +1,4 @@
#!/usr/bin/python
#!/usr/bin/env python
# This is monitoring plugin for riak Developer's website: http://wiki.basho.com/Riak.html
# sample config in /etc/munin/plugin-conf.d/riak

View File

@ -1,4 +1,4 @@
#!/usr/bin/python
#!/usr/bin/env python
# This is monitoring plugin for riak Developer's website: http://wiki.basho.com/Riak.html

View File

@ -1,4 +1,4 @@
#!/usr/bin/python
#!/usr/bin/env python
# This is monitoring plugin for riak Developer's website: http://wiki.basho.com/Riak.html
# sample config in /etc/munin/plugin-conf.d/riak

View File

@ -1,4 +1,4 @@
#!/usr/bin/python
#!/usr/bin/env python
# -*- coding: utf-8 -*-
# Copyright (C) 2014 Johann Schmitz <johann@j-schmitz.net>

View File

@ -1,4 +1,4 @@
#!/usr/bin/python
#!/usr/bin/env python
# -*- coding: utf-8 -*-
# Copyright (C) 2014 Johann Schmitz <johann@j-schmitz.net>

View File

@ -1,4 +1,4 @@
#!/usr/bin/python
#!/usr/bin/env python
#
# Here's a plugin which lets you monitor your senderscore.org reputation. For
# people sending a large amount of email - this might be useful.

View File

@ -1,4 +1,4 @@
#!/usr/bin/python3
#!/usr/bin/env python3
'''
=head1 NAME

View File

@ -1,4 +1,4 @@
#!/usr/bin/python
#!/usr/bin/env python
# This is a monitoring plugin for twemproxy (aka: nutcracker)
# config in /etc/munin/plugin-conf.d/nutcracker.conf

View File

@ -1,4 +1,4 @@
#!/usr/bin/python
#!/usr/bin/env python
import os
import re

View File

@ -1,4 +1,4 @@
#!/usr/bin/python
#!/usr/bin/env python
"""
Plugin to monitor Wowza streaming servers.

View File

@ -1,4 +1,4 @@
#!/usr/bin/python3
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
'''
=head1 NAME

View File

@ -1,4 +1,4 @@
#!/usr/bin/python
#!/usr/bin/env python
from sys import argv
import httplib

View File

@ -1,4 +1,4 @@
#!/usr/bin/python
#!/usr/bin/env python
#
# Copyright (c) 2008 LOGILAB S.A. (Paris, FRANCE).
# http://www.logilab.fr/ -- mailto:contact@logilab.fr

View File

@ -1,4 +1,4 @@
#!/usr/bin/python
#!/usr/bin/env python
from sys import argv
import httplib