- send an E-mail;
- deactivate that news server;
- pause downloading.
How to use:
- download the script and put it into ScriptDir;
- reload NZBGet;
- choose script in option Extensions;
- select section NEWS SERVERS on settings page;
- for each news server you want to monitor by the script click on button "Volume Statistics";
- look at the info field "Custom: xx GB" at the right bottom corner of the dialog;
- that is the custom volume counter monitored by the script, you can reset it to "0" if you want;
- now put the maximum volume allowed for the server in option "ServerX.Notes" in a special format, recognised by the script, which is a number of gigabytes in square braces, for example: ServerX.Notes=[150];
- save nzbget settings and reload nzbget;
- the script starts automatically on nzbget start and keeps executing in background controlling the server volumes;
- on startup the script prints info messages for each server it monitors;
- if the downloaded volume for custom counter reaches the defined limit the script issues an alert as defined in its options (pause downloading, deactivate news server or send e-mail);
- after an alert the script stops monitoring of this news server. It will be monitored again on nzbget restart.