diff options
| author | Steve Kemp <steve@steve.org.uk> | 2012-12-06 10:26:46 +0000 | 
|---|---|---|
| committer | Steve Kemp <steve@steve.org.uk> | 2012-12-06 10:26:46 +0000 | 
| commit | a6d193d25bed4607c7aee3cdf607b746f432c456 (patch) | |
| tree | 8507353edadd00d26dae3bf5a841b92fe0fc9510 /bytemark/bin/custodian-queue-monitor | |
| parent | 4d479d317daf45cd29dc937fe3ec2e593c11f7b4 (diff) | |
  Identify the source of the alert.
Diffstat (limited to 'bytemark/bin/custodian-queue-monitor')
| -rwxr-xr-x | bytemark/bin/custodian-queue-monitor | 4 | 
1 files changed, 2 insertions, 2 deletions
| diff --git a/bytemark/bin/custodian-queue-monitor b/bytemark/bin/custodian-queue-monitor index 2320cc5..0b32370 100755 --- a/bytemark/bin/custodian-queue-monitor +++ b/bytemark/bin/custodian-queue-monitor @@ -15,7 +15,7 @@ max=5000  if ( custodian-queue --monitor=$max ) ; then -    mauvesend alert.bytemark.co.uk -i custodian -c now -s "Our queue is too full" --detail="<p>The custodian queue doesn't seem to be emptying [alert threshold is $max].</p><p>Is there a bug, or do we need to add more workers? See https://wiki.bytemark.co.uk/Main/CustodianMonitoring</p>" +    mauvesend alert.bytemark.co.uk -i custodian -c now -s "Our custodian queue is too full" --detail="<p>The custodian queue doesn't seem to be emptying [alert threshold is $max].</p><p>Is there a bug, or do we need to add more workers? See https://wiki.bytemark.co.uk/Main/CustodianMonitoring</p>"  else -    mauvesend alert.bytemark.co.uk -i custodian -r now -s "Our queue is too full" --detail="<p>The custodian queue doesn't seem to be emptying [alert threshold is $max].</p><p>Is there a bug, or do we need to add more workers? See https://wiki.bytemark.co.uk/Main/CustodianMonitoring</p>" +    mauvesend alert.bytemark.co.uk -i custodian -r now -s "Our custodian queue is too full" --detail="<p>The custodian queue doesn't seem to be emptying [alert threshold is $max].</p><p>Is there a bug, or do we need to add more workers? See https://wiki.bytemark.co.uk/Main/CustodianMonitoring</p>"  fi | 
