mirror of
https://github.com/munin-monitoring/contrib.git
synced 2025-07-26 02:48:28 +00:00
Merge pull request #729 from shtrom/sickbeard_snatched
[sickbeard_episodes] Report snatched episodes
This commit is contained in:
commit
737dab1050
1 changed files with 2 additions and 0 deletions
|
@ -47,6 +47,7 @@ graph_title Episodes
|
||||||
graph_vlabel Episodes
|
graph_vlabel Episodes
|
||||||
graph_category Sick-Beard
|
graph_category Sick-Beard
|
||||||
down.label Downloaded
|
down.label Downloaded
|
||||||
|
snatched.label Snatched
|
||||||
total.label Total
|
total.label Total
|
||||||
EOC
|
EOC
|
||||||
;
|
;
|
||||||
|
@ -60,6 +61,7 @@ my $json = JSON::Any->jsonToObj($req->content());
|
||||||
|
|
||||||
if ($json->{result} eq 'success') {
|
if ($json->{result} eq 'success') {
|
||||||
print "down.value $json->{data}->{ep_downloaded}\n";
|
print "down.value $json->{data}->{ep_downloaded}\n";
|
||||||
|
print "snatched.value $json->{data}->{ep_snatched}\n";
|
||||||
print "total.value $json->{data}->{ep_total}\n";
|
print "total.value $json->{data}->{ep_total}\n";
|
||||||
exit 0;
|
exit 0;
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue