From 1fc9e555c5a7fa5bdd65e565f77f07b959d6c47f Mon Sep 17 00:00:00 2001 From: Christian Stade-Schuldt Date: Thu, 4 Jun 2015 22:28:25 +0200 Subject: [PATCH] cleanup --- fritzbox_helper.py | 7 +++---- fritzbox_wifi_devices.py | 11 ++++------- 2 files changed, 7 insertions(+), 11 deletions(-) diff --git a/fritzbox_helper.py b/fritzbox_helper.py index 08e8c25..e36d74a 100755 --- a/fritzbox_helper.py +++ b/fritzbox_helper.py @@ -5,13 +5,12 @@ Author: Christian Stade-Schuldt Like Munin, this plugin is licensed under the GNU GPL v2 license http://www.opensource.org/licenses/GPL-2.0 - If you've put your gunicorn pid somewhere other than the - default /var/run/gunicorn.pid, you can add a section like - this to your munin-node's plugin configuration: + Add the following section to your munin-node's plugin configuration: [fritzbox_*] env.fritzbox_ip [ip address of the fritzbox] - env.password [fritzbox password] + env.fritzbox_password [fritzbox password] + This plugin supports the following munin configuration parameters: #%# family=auto contrib #%# capabilities=autoconf diff --git a/fritzbox_wifi_devices.py b/fritzbox_wifi_devices.py index 3ae44a3..16fa374 100755 --- a/fritzbox_wifi_devices.py +++ b/fritzbox_wifi_devices.py @@ -1,19 +1,16 @@ -#!/usr/bin/python -# -*- coding: utf-8 -*- - +#!/usr/bin/env python """ fritzbox_wifi_devices - A munin plugin for Linux to monitor AVM Fritzbox Copyright (C) 2015 Christian Stade-Schuldt Author: Christian Stade-Schuldt Like Munin, this plugin is licensed under the GNU GPL v2 license http://www.opensource.org/licenses/GPL-2.0 - If you've put your gunicorn pid somewhere other than the - default /var/run/gunicorn.pid, you can add a section like - this to your munin-node's plugin configuration: + Add the following section to your munin-node's plugin configuration: [fritzbox_*] env.fritzbox_ip [ip address of the fritzbox] - env.password [fritzbox password] + env.fritzbox_password [fritzbox password] + This plugin supports the following munin configuration parameters: #%# family=auto contrib #%# capabilities=autoconf