mirror of
https://github.com/munin-monitoring/contrib.git
synced 2025-07-21 18:41:03 +00:00
[sickbeard] Add perldoc header
Signed-off-by: Olivier Mehani <shtrom@ssji.net>
This commit is contained in:
parent
95ebf419fe
commit
5587f77cf5
1 changed files with 62 additions and 33 deletions
|
@ -1,37 +1,66 @@
|
||||||
#!/usr/bin/perl
|
#!/usr/bin/perl
|
||||||
#
|
# -*- perl -*-
|
||||||
# Munin plugins for Sick-Beard
|
|
||||||
#
|
=head1 NAME
|
||||||
# Copyright (C) 2012 - Blauwbek
|
|
||||||
# Copyright (C) 2012 - Thiago
|
sickbeard - Munin multigraph plugin for Sick-Beard and forks (e.g.,
|
||||||
# Copyright (C) 2019 - Olivier Mehani <shtrom+munin@ssji.net>, for the
|
SickChill)
|
||||||
# multigraph support and better error handling
|
|
||||||
#
|
=head1 DESCRIPTION
|
||||||
# Sick-Beard : http://sickbeard.com/
|
|
||||||
#
|
This plugin uses the Sick-Beard API (also implemented by forks such as
|
||||||
# SPDX-License-Identifier: GPL-3.0-or-later
|
SickChill) to collect and report on the numbers of shows (total and
|
||||||
#
|
active), and episodes (downloaded, snatched, and all) currently tracked
|
||||||
# This program is free software: you can redistribute it and/or modify
|
by the app.
|
||||||
# it under the terms of the GNU General Public License as published by
|
|
||||||
# the Free Software Foundation, either version 3 of the License, or
|
It is a drop-in replacement for sickbeard_shows and sickbeard_episodes,
|
||||||
# (at your option) any later version.
|
reusing the vast majority of the code, and providing the same graphs and
|
||||||
#
|
data series.
|
||||||
# This program is distributed in the hope that it will be useful,
|
|
||||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
Sick-Beard : http://sickbeard.com/
|
||||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
# GNU General Public License for more details.
|
SickChill : https://sickchill.github.io/
|
||||||
#
|
|
||||||
# You should have received a copy of the GNU General Public License
|
=head1 REQUIREMENTS
|
||||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
||||||
#
|
JSON::Any, LWP::UserAgent
|
||||||
# Requires: JSON::Any
|
|
||||||
# LWP::UserAgent
|
=head1 CONFIGURATION
|
||||||
#
|
|
||||||
# Configuration example
|
You need to specify the host/port of the Sick-Beard as well as API key
|
||||||
# [sickbeard*]
|
to use.
|
||||||
# env.host http://host:port/
|
|
||||||
# env.api apikey
|
[sickbeard*]
|
||||||
#
|
env.host http://host:port/
|
||||||
|
env.api apikey
|
||||||
|
|
||||||
|
=head1 AUTHORS
|
||||||
|
|
||||||
|
Copyright (C) 2012 - Blauwbek
|
||||||
|
|
||||||
|
Copyright (C) 2012 - Thiago
|
||||||
|
|
||||||
|
Copyright (C) 2019 - Olivier Mehani <shtrom+munin@ssji.net>, for the
|
||||||
|
multigraph support and better error handling
|
||||||
|
|
||||||
|
=head1 LICENSE
|
||||||
|
|
||||||
|
SPDX-License-Identifier: GPL-3.0-or-later
|
||||||
|
|
||||||
|
This program is free software: you can redistribute it and/or modify
|
||||||
|
it under the terms of the GNU General Public License as published by
|
||||||
|
the Free Software Foundation, either version 3 of the License, or
|
||||||
|
(at your option) any later version.
|
||||||
|
|
||||||
|
This program is distributed in the hope that it will be useful,
|
||||||
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
GNU General Public License for more details.
|
||||||
|
|
||||||
|
You should have received a copy of the GNU General Public License
|
||||||
|
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
|
=cut
|
||||||
|
|
||||||
use strict;
|
use strict;
|
||||||
use JSON::Any;
|
use JSON::Any;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue