Un picco improvviso di errori potrebbe essere dovuto a un'interruzione temporanea della rete, ad esempio. In questo caso, la pipeline viene messa in pausa dopo x segnalazioni al minuto. Se gli errori persistono, la pipeline viene messa in pausa fino all'intervento dell'utente. A quel punto viene inviata un'email a xyz@company.de).[96]
La funzione può essere attivata separatamente per il cruscotto di servizio e per quello locale.
Il numero massimo di rapporti falliti al minuto che attiva la pausa può essere configurato tramite il tasto di configurazione.
La durata delle pause è impostata in minuti. Sono possibili più pause (ad es. PauseTime0=1, PauseTime1=2, ...).
Chiave 'UserResumeAsFinalPause' come opzione => La pipeline verrà messa in pausa finché un utente non la riprenderà.
Una pipeline che è stata ripresa manualmente una volta, non sarà più messa in pausa automaticamente.
La notifica via e-mail è possibile (solo nel servizio, non in locale). Notifica via e-mail solo per le pipeline che sono "in pausa fino alla ripresa dell'utente".
La dashboard mostra lo stato di "pausa automatica" e contiene anche dei tooltip con maggiori dettagli.
Se il
notifica via e-mail deve essere attivata rispetto a quanto il server di posta deve essere
configurato in $CADENAS_SETUP/reportstask.cfg.
[ReportsMailServer] #:HELP;Hostname of mailserver. E.g.: hostname, hostname:port, smtp://<username>:<password>@<hostname>:<port>?key1=val&key2=val, ssmtp://<username>
:<password>@<hostname>:<port>?key1=val&key2=val Host= #:HELP;UserName used for authentication to the mailserver (if any) UserName= #:HELP;Password used for authentication to the mailserver (if any) Password= #:HELP;Set to true if the password is encrypted (use cnstools.helpfu to encrypt password).
Default = false PasswordEncrypted=
=> Queste impostazioni saranno utilizzate anche per la configurazione di ReportsTask Mail. In questo modo il server di posta deve essere configurato una sola volta.
Le
Impostazioni specifiche devono essere effettuate in $CADENAS_SETUP/partwarehouse/pipeline.cfg.
[ReportWatcher] #:Help;Activates the ReportWatcher (allows to pause pipelines if there are a lot of errorsin a short period of time) (default is false) Active= #:Help;Activates the ReportWatcher also in the LocalDashboard environment (default is false) ActiveInLocalDashboard= #:Help;Threshold for max errors per minute. If exceeded the pipeline is paused (default is 60) MaxErrorsPerMinute= #:Help;List of timeouts (in minutes). First value is used the first time a pipeline is paused,
the second one is used the second time the same pipeline is used, etc. PauseTime0= #PauseTime1= #:Help;If true, then the pipeline needs to be resumed manual (After last PauseTime was used).
Only in service, not in LocalDashboard (default is false) UserResumeAsFinalPause= #:Help;Should an email be send when a pipeline was paused and user resume is required. Also
see ReportWatcherMail block (default is false). If true then Mailer has to be configured. SendMail=
Timeout multipli: una pipeline può essere messa in pausa più volte (fino a 5):
Ad esempio: PauseTime0=1 e PauseTime1=2: la prima volta la pipeline verrà messa in pausa per un minuto e la seconda volta verrà messa in pausa per 2 minuti.
UserResumeAsFinalPause: se è vero, l'utente dovrà riprendere manualmente la pipeline durante l'ultima pausa e non verrà ripresa automaticamente.
Mailer
opzioni specifiche per ReportWatcher (anche in $CADENAS_SETUP/partwarehouse/pipeline.cfg )
... Deve essere configurato solo se le mail devono essere inviate.
[ReportWatcherMailer] #:HELP;The mail address which should be shown as sender of the mail Sender= #:HELP;Comma separated list of mail addresses which should be set as mail receivers Receivers= #:HELP;Sender Envelope of the mail SenderEnvelope= #:HELP;Define 'ReplyTo' mail address (optional) ReplyTo= #:HELP;Comma separated list of mail addresses which should be used as CC (optional) CcList= #:HELP;Comma separated list of mail addresses which should be used as BCC (optional) BccList= #:HELP;Subject of the outgoing mail Subject=




:<password>@<hostname>:<port>?key1=val&key2=val, ssmtp://<username>