mirror of
https://github.com/munin-monitoring/contrib.git
synced 2018-11-08 00:59:34 +01:00
[sickbeard_episodes] Report snatched episodes
Signed-off-by: Olivier Mehani <shtrom@ssji.net>
This commit is contained in:
parent
d42751c908
commit
cb11df95a9
@ -47,6 +47,7 @@ graph_title Episodes
|
||||
graph_vlabel Episodes
|
||||
graph_category Sick-Beard
|
||||
down.label Downloaded
|
||||
down.snatched Snatched
|
||||
total.label Total
|
||||
EOC
|
||||
;
|
||||
@ -60,6 +61,7 @@ my $json = JSON::Any->jsonToObj($req->content());
|
||||
|
||||
if ($json->{result} eq 'success') {
|
||||
print "down.value $json->{data}->{ep_downloaded}\n";
|
||||
print "snatched.value $json->{data}->{ep_snatched}\n";
|
||||
print "total.value $json->{data}->{ep_total}\n";
|
||||
exit 0;
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user